Skip to content

REST API: add domains resource.#8132

Open
DmitryLitvintsev wants to merge 1 commit into
11.2from
domains/api/11.2
Open

REST API: add domains resource.#8132
DmitryLitvintsev wants to merge 1 commit into
11.2from
domains/api/11.2

Conversation

@DmitryLitvintsev

Copy link
Copy Markdown
Member

Motivation:

Issue #8127 requests a REST API for domains that would map domain names and their host addresses in one API call.

Modification:

Modelled after /cells API the /domains/ API sends
GetAllDomainsRequest to RoutingMgr to obtain list of domain names and then uses SpreadAndWait to send get hostname message to each domain. Results are cached.

Result:

Rest API /domain allows to get <name, hostname> for all running domains in dCache. The API will be extendd to return other useful domain data.

Ticket: #8127
Acked-by: tigran.mkrthcyan@desy,de

Target: trunk
Requets: 11.2
Require-book: no
Require-notes: yes

Motivation:
----------

Issue #8127
requests a REST API for domains that would map domain names
and their host addresses in one API call.

Modification:
-------------

Modelled after /cells API the /domains/ API sends
GetAllDomainsRequest to RoutingMgr to obtain list of
domain names and then uses SpreadAndWait to send `get hostname`
message to each domain. Results are cached.

Result:
-------

Rest API /domain allows to get <name, hostname> for all
running domains in dCache. The API will be extendd to
return other useful domain data.

Ticket: #8127
Acked-by: tigran.mkrthcyan@desy,de

Target: trunk
Requets: 11.2
Require-book: no
Require-notes: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant