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

Create Data Center REST Endpoint #417

Open
joneubank opened this issue Aug 30, 2023 · 0 comments
Open

Create Data Center REST Endpoint #417

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.

Add REST Endpoint to create a new Data Center.

Detailed Description

Request

POST /datacenters

Inputs

This request takes a JSON object as the body of the request with all the properties of a Data Center entity, except for ID which is generated when created in the DB. Optional fields in the entity can be optional in this input.

Resposne

JSON object for the created Data Center entity (includes generated ID field).

Auth Rules

User must be a DCC Admin, identified by having WRITE permission for the Program Service system scope (ie. PROGRAMSERVICE.WRITE scope).

@joneubank joneubank added the new-feature Request is a new feature label Aug 30, 2023
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