-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The patch provides a response engine for the httpd service. The response engine translates users queries to UniversalSpringCell queries. The query uses reflection to access bean properties. It uses a custom serialization scheme to provide a tree of public properties (public getters). The response engine translates the query response to JSON. The API is read-only. It is exposed in the default httpd setup under the api path: set alias api class org.dcache.services.httpd.probe.ProbeResponseEngine The API is accessed through HTTP, eg http://localhost:2288/api/PoolManager or http://localhost:2288/api/PoolManager/psu.activePools. In contrast to the info service, API requests trigger queries to the actual service. Thus the information is guaranteed to be up to date. The downside is that frequent probes would incure overhead. The API is not guaranteed to be stable at this point (ie we may change it in between releases). The goal is that any information that can extracted through the ssh interface is also alvailable through the API. Target: trunk Require-notes: yes Require-book: yes
- Loading branch information
Gerd Behrmann
committed
Mar 8, 2013
1 parent
2a03a72
commit d9a817a
Showing
4 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters