Skip to content

Create Data Center REST Endpoint #417

Description

@joneubank

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

new-featureRequest is a new feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions