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

List Programs for Data Center #416

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

List Programs for Data Center #416

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

Comments

@joneubank
Copy link
Member

joneubank commented Aug 30, 2023

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 fetch list of programs that are available within a specified Data Center.

Detailed Description

Request

GET /datacenters/{datacenter_short_name}/programs

Inputs

Parameter Type Required Value Description
datacenter_short_name path Yes String Short Name of a Data Center

Resposne

JSON Array of Programs that belong to the specified Data Center - Only publicly visible program data should be returned.

If the provided short name is not found in the Data Center table, return an error 404 not found.

Auth Rules

This endpoint is restricted to DCC Admins.

DCC Admin is 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
@joneubank joneubank changed the title GET Programs for Data Center List Programs for Data Center 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