icgc-argo / icgc-argo/program-service

List Data Center REST Endpoint

Open
#415 0 comments 0 reactions 1 assignee View on GitHub

@Azher2Ali is already working on this.

Since Aug 30, 2023.

new-feature
Dominant language
Java
Stars
3
Forks
0
Avg merge
14h 34m
Merged PRs (30d)
2

Description

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 all Data Centers.

Detailed Description

Request

GET /datacenters

Inputs

There are no input parameters to this request.

Resposne

JSON Array of Data Centers entities

Note: Data Centers are returned without reference to their programs. A seperate endpoint will be created to retrieve programs within a data center.

Auth Rules

This endpoint is publicly available.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.