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

Modify Program DTO so all Program REST endpoints include some Data Center Information #420

Open
joneubank opened this issue Aug 30, 2023 · 0 comments
Assignees
Labels
new-feature Request is a new feature

Comments

@joneubank
Copy link
Member

This ticket is part of the effort to add functionality of a Data Center Registry to the Program Service:
The Program Service scope is being expanded to also act as a Data Center Registry. Data Centers represent the Regional Data Processing Centers (RDPC) that ARGO will support a network of. Each program registered in the program-service must belong to a single Data Center. The Data Centers have various connection details that also need to be stored.

As a result of the changes in #413, Programs now include a Data center and some of the Data Center information should be included in the Program entity when they are returned in any REST endpoint. This means we want to update the Program DTO to include the following properties of the Data Center:

  • id
  • name
  • short name
  • ui url
  • gateway url

These properties can be provided nested in an object under the property name dataCenter:

{
  ...
  "dataCenter": {
    "id": "",
    "name": "",
    "shortName": "",
    "uiUrl": "",
    "gatewayUrl": "",
  }
}

These changes will be seen in several endpoints, including:

  • CreateProgram
  • UpdateProgram
  • ListPrograms
  • GetProgram
  • List Data Center Programs (includes a list of programs, each program should contain this information)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature Request is a new feature
Projects
None yet
Development

No branches or pull requests

2 participants