Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Documentation For Cat-Server #383

Open
Gokul-KG opened this issue Sep 11, 2024 · 0 comments
Open

Update Documentation For Cat-Server #383

Gokul-KG opened this issue Sep 11, 2024 · 0 comments
Assignees

Comments

@Gokul-KG
Copy link
Contributor

Documentation for Cat-Server

Link to reference ACL-APD design document for reference: https://docs.google.com/document/d/1j289zdt2n5i81vvwJJl-lJB-D4Ld8ihQajjN3qZuGM8/edit

Key Name Value Datatype Value Example Description
isWorkerVerticle boolean false To check if worker verticle needs to be deployed for blocking operations
verticleInstances integer 1 Number of instances required for verticles
httpPort integer 8080 Port for running the instance DX ACL-APD Server
	- Other Configurations
		* include common configs and other configurations
Key Name Value Datatype Value Example Description
version Float 1.0 config version
zookeepers Array zookeeper zookeeper configuration to deploy clustered vert.x instance
clusterId String iudx-acl-apd-cluster cluster id to deploy clustered vert.x instance
commonConfig.dxApiBasePath String /dx/apd/acl/v1 API base path for DX ACL-APD. Reference : link
commonConfig.dxCatalogueBasePath String /iudx/cat/v1 API base path for DX Catalogue server. Reference : link
commonConfig.dxAuthBasePath String /auth/v1 API base path for DX AAA server. Reference : link
commonConfig.catServerHost String api.cat-test.iudx.io Host name of DX Catalogue server for fetching the information of resources, resource groups
commonConfig.catServerPort integer 443 Port number to access HTTPS APIs of Catalogue Server
commonConfig.authHost String authvertx.iudx.io Host name of DX AAA Server
* it would help us to see if there any unused configurations that could be removed from config.json
  • Explanation.md

    • Tokens used in DX in a tabular format : Token | Purpose | Users

    • Token, Users and Roles

      • What tokens are used in the DMP APD Server, Which can use what token and the purpose of using the token in a tabular format : API | Users | Token
    • Users and Roles

    • Terminologies and Definitions

      • Those words that are commonly used in the server that would help the consumers, providers to get started with the server by understanding the jargons
  • docs/FAQ.md

    • Frequently occuring issues or problems, questions, gaps can be listed here
    • This markdown file could be updated as and when a new question is asked or discussed
  • docs/Setup_and_Installation.md

    • Setup and Installation Guide: helps in the deployment of the server

      • Configurations: Reference the Configurations.md here
      • Dependencies:
        • List down external and internal dependencies used by the server
      • Prerequisites: to be added wrt each server
        • Keycloak registration for DX DMP APD as trustee and APD
        • RabbitMQ configurations
          • vhost, exchange, queue to exchange, user permissions in a tabular format
          • body for the API request
      • Installation Steps:

        • Maven
        • JAR
        • Docker
      • Logging and Monitoring

        • log4j 2
          • why is it used, related files that the user can configure, any references
        • Micrometer
          • why is it used, related files references
      • Testing

        • Unit Testing
          • why is it done, commands to run unit tests, any prerequisites, related files, commands to run
        • Integration Testing
          • prerequisites for running integration tests, why is it done, related files, commands to run
      • Performance Testing

        • JMeter
          • why is Jmeter used, command to generate report, references
      • Security testing

        • Zed Attack Proxy
          • why is ZAP used, references
  • docs/Solution_Architecture.md

  • docs/Tutorials.md: optional

    • reference any tutorial wrt server configuration, deployment, services, flows
  • docs/openapi.yaml

    • Remove references of IUDX and replace it with CDPG

    contact:
    name: For support contact CDPG Team at
    email: [email protected]
    url: https://dataforpublicgood.org.in/
    license:
    name: Apache 2.0

  • /src/test/resources/README.md:

    • Making base path configurable in the postman environment
    • Key value pairs used in the postman environment in a markdown table: Key| Value Example | Description
  • /src/test/resources/resources/DX-Catalogue-Items/RESOURCES_USED.md:

    • Mention DX catalogue items used in the server in different flows for maintaining the lifecycle of the resources
Key item ID Purpose (unit testing, integration testing, other) Details (the flow in which it is being used)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants