Difference between revisions of "GOCDB/PI/get service group"
Jump to navigation
Jump to search
m (→Output Example) |
|||
Line 62: | Line 62: | ||
=== Output Example === | === Output Example === | ||
<Source Lang="XML"> | <Source Lang="XML"> | ||
This XML file does not appear to have any style information associated with it. The document tree is shown below. | |||
<results> | <results> | ||
<SERVICE_GROUP PRIMARY_KEY=" | <SERVICE_GROUP PRIMARY_KEY="722G0"> | ||
<NAME>OPSTOOLS</NAME> | |||
<DESCRIPTION>All EGI Operational Tools</DESCRIPTION> | |||
<MONITORED>Y</MONITORED> | |||
<CONTACT_EMAIL>gocdb-admins@mailtalk.ac.uk</CONTACT_EMAIL> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Service_Group amp; id=722 | |||
</GOCDB_PORTAL_URL> | |||
<SERVICE_ENDPOINT PRIMARY_KEY="4112G0"> | |||
<HOSTNAME>apel-broker.esc.rl.ac.uk</HOSTNAME> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Service amp; id=4112 | |||
</GOCDB_PORTAL_URL> | |||
<SERVICE_TYPE>egi.APELRepository</SERVICE_TYPE> | |||
<HOST_IP/> | |||
<HOST_IPV6/> | |||
<HOSTDN/> | |||
<IN_PRODUCTION>Y</IN_PRODUCTION> | |||
<NODE_MONITORED>Y</NODE_MONITORED> | |||
<ENDPOINTS/> | |||
<EXTENSIONS/> | |||
</SERVICE_ENDPOINT> | |||
<SERVICE_ENDPOINT PRIMARY_KEY="4113G0"> | |||
<HOSTNAME>metrics.egi.eu</HOSTNAME> | |||
<GOCDB_PORTAL_URL> | |||
</SERVICE_GROUP> | https://localhost/portal/index.php?Page_Type=Service amp; id=4113 | ||
</GOCDB_PORTAL_URL> | |||
<SERVICE_TYPE>egi.MetricsPortal</SERVICE_TYPE> | |||
<HOST_IP/> | |||
<HOST_IPV6/> | |||
<HOSTDN/> | |||
<IN_PRODUCTION>Y</IN_PRODUCTION> | |||
<NODE_MONITORED>Y</NODE_MONITORED> | |||
<ENDPOINTS/> | |||
<EXTENSIONS/> | |||
</SERVICE_ENDPOINT> | |||
<SERVICE_ENDPOINT PRIMARY_KEY="4178G0"> | |||
<HOSTNAME>accounting.egi.eu</HOSTNAME> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Service amp; id=4178 | |||
</GOCDB_PORTAL_URL> | |||
<SERVICE_TYPE>egi.AccountingPortal</SERVICE_TYPE> | |||
<HOST_IP/> | |||
<HOST_IPV6/> | |||
<HOSTDN/> | |||
<IN_PRODUCTION>Y</IN_PRODUCTION> | |||
<NODE_MONITORED>Y</NODE_MONITORED> | |||
<ENDPOINTS/> | |||
<EXTENSIONS/> | |||
</SERVICE_ENDPOINT> | |||
<SERVICE_ENDPOINT PRIMARY_KEY="4179G0"> | |||
<HOSTNAME>ggus.eu</HOSTNAME> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Service amp; id=4179 | |||
</GOCDB_PORTAL_URL> | |||
<SERVICE_TYPE>egi.GGUS</SERVICE_TYPE> | |||
<HOST_IP/> | |||
<HOST_IPV6/> | |||
<HOSTDN/> | |||
<IN_PRODUCTION>Y</IN_PRODUCTION> | |||
<NODE_MONITORED>Y</NODE_MONITORED> | |||
<ENDPOINTS/> | |||
<EXTENSIONS/> | |||
</SERVICE_ENDPOINT> | |||
<SERVICE_ENDPOINT PRIMARY_KEY="4180G0"> | |||
<HOSTNAME>goc.egi.eu</HOSTNAME> | |||
<GOCDB_PORTAL_URL> | |||
https://localhost/portal/index.php?Page_Type=Service amp; id=4180 | |||
</GOCDB_PORTAL_URL> | |||
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE> | |||
<HOST_IP/> | |||
<HOST_IPV6/> | |||
<HOSTDN> | |||
/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu/emailAddress=sct-certificates@stfc.ac.uk | |||
</HOSTDN> | |||
<IN_PRODUCTION>Y</IN_PRODUCTION> | |||
<NODE_MONITORED>Y</NODE_MONITORED> | |||
<ENDPOINTS> | |||
<ENDPOINT> | |||
<ID>6247</ID> | |||
<NAME>PI endpoint</NAME> | |||
<EXTENSIONS/> | |||
<URL>https://gocdb-test.esc.rl.ac.uk/gocdbpi</URL> | |||
<INTERFACENAME>egi.GOCDB</INTERFACENAME> | |||
</ENDPOINT> | |||
<ENDPOINT> | |||
<ID>6246</ID> | |||
<NAME>Portal endpoint</NAME> | |||
<EXTENSIONS/> | |||
<URL>https://gocdb-test.esc.rl.ac.uk/portal</URL> | |||
<INTERFACENAME>egi.GOCDB</INTERFACENAME> | |||
</ENDPOINT> | |||
</ENDPOINTS> | |||
<EXTENSIONS> | |||
<EXTENSION> | |||
<LOCAL_ID>1</LOCAL_ID> | |||
<KEY>TEST_CHARGE</KEY> | |||
<VALUE>10</VALUE> | |||
</EXTENSION> | |||
<EXTENSION> | |||
<LOCAL_ID>102</LOCAL_ID> | |||
<KEY>GLUE2Capability</KEY> | |||
<VALUE>Service registry</VALUE> | |||
</EXTENSION> | |||
<EXTENSION> | |||
<LOCAL_ID>101</LOCAL_ID> | |||
<KEY>GLUE2ServiceID</KEY> | |||
<VALUE>https://goc.egi.eu:443</VALUE> | |||
</EXTENSION> | |||
</EXTENSIONS> | |||
</SERVICE_ENDPOINT> | |||
</SERVICE_GROUP> | |||
</results> | </results> | ||
</Source> | </Source> | ||
[[GOCDB/PI/Technical Documentation|Back to GOCDB technical Documentation main page]] | [[GOCDB/PI/Technical Documentation|Back to GOCDB technical Documentation main page]] |
Revision as of 11:21, 27 January 2015
Main | EGI.eu operations services | Support | Documentation | Tools | Activities | Performance | Technology | Catch-all Services | Resource Allocation | Security |
GOC DB menu: | Home • | Documentation Index • |
Method: get_service_group
Description | Returns a list of service groups and the service endpoints under those groups. |
Protection Level | Protected (level 2) |
Entry point
parameters
parameter | effect | format/value(s) | default | example |
---|---|---|---|---|
service_group_name | Only return info for the service group with specified site name | any service group name |
all | ?method=get_service_group&service_group_name=OPSTOOLS |
scope | Show only service groups with the requested scope-tags (Local and EGI are currently the only available scopes) | A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope=' | EGI | ?method=get_service_group&scope=Local |
scope_match | Match 'all' or 'any' of the specified scope-tags | 'all' or 'any' | all | ?method=get_service_group&scope=Local,EGI&scope_match=any |
extensions | Limit results by one or many key value pairs | See Extensions Mechanism | none | ?method=get_service_group&extensions=(KeyName=KeyValue) |
Output Example
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<results>
<SERVICE_GROUP PRIMARY_KEY="722G0">
<NAME>OPSTOOLS</NAME>
<DESCRIPTION>All EGI Operational Tools</DESCRIPTION>
<MONITORED>Y</MONITORED>
<CONTACT_EMAIL>gocdb-admins@mailtalk.ac.uk</CONTACT_EMAIL>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service_Group amp; id=722
</GOCDB_PORTAL_URL>
<SERVICE_ENDPOINT PRIMARY_KEY="4112G0">
<HOSTNAME>apel-broker.esc.rl.ac.uk</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service amp; id=4112
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.APELRepository</SERVICE_TYPE>
<HOST_IP/>
<HOST_IPV6/>
<HOSTDN/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<ENDPOINTS/>
<EXTENSIONS/>
</SERVICE_ENDPOINT>
<SERVICE_ENDPOINT PRIMARY_KEY="4113G0">
<HOSTNAME>metrics.egi.eu</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service amp; id=4113
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.MetricsPortal</SERVICE_TYPE>
<HOST_IP/>
<HOST_IPV6/>
<HOSTDN/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<ENDPOINTS/>
<EXTENSIONS/>
</SERVICE_ENDPOINT>
<SERVICE_ENDPOINT PRIMARY_KEY="4178G0">
<HOSTNAME>accounting.egi.eu</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service amp; id=4178
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.AccountingPortal</SERVICE_TYPE>
<HOST_IP/>
<HOST_IPV6/>
<HOSTDN/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<ENDPOINTS/>
<EXTENSIONS/>
</SERVICE_ENDPOINT>
<SERVICE_ENDPOINT PRIMARY_KEY="4179G0">
<HOSTNAME>ggus.eu</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service amp; id=4179
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.GGUS</SERVICE_TYPE>
<HOST_IP/>
<HOST_IPV6/>
<HOSTDN/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<ENDPOINTS/>
<EXTENSIONS/>
</SERVICE_ENDPOINT>
<SERVICE_ENDPOINT PRIMARY_KEY="4180G0">
<HOSTNAME>goc.egi.eu</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service amp; id=4180
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
<HOST_IP/>
<HOST_IPV6/>
<HOSTDN>
/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu/emailAddress=sct-certificates@stfc.ac.uk
</HOSTDN>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<ENDPOINTS>
<ENDPOINT>
<ID>6247</ID>
<NAME>PI endpoint</NAME>
<EXTENSIONS/>
<URL>https://gocdb-test.esc.rl.ac.uk/gocdbpi</URL>
<INTERFACENAME>egi.GOCDB</INTERFACENAME>
</ENDPOINT>
<ENDPOINT>
<ID>6246</ID>
<NAME>Portal endpoint</NAME>
<EXTENSIONS/>
<URL>https://gocdb-test.esc.rl.ac.uk/portal</URL>
<INTERFACENAME>egi.GOCDB</INTERFACENAME>
</ENDPOINT>
</ENDPOINTS>
<EXTENSIONS>
<EXTENSION>
<LOCAL_ID>1</LOCAL_ID>
<KEY>TEST_CHARGE</KEY>
<VALUE>10</VALUE>
</EXTENSION>
<EXTENSION>
<LOCAL_ID>102</LOCAL_ID>
<KEY>GLUE2Capability</KEY>
<VALUE>Service registry</VALUE>
</EXTENSION>
<EXTENSION>
<LOCAL_ID>101</LOCAL_ID>
<KEY>GLUE2ServiceID</KEY>
<VALUE>https://goc.egi.eu:443</VALUE>
</EXTENSION>
</EXTENSIONS>
</SERVICE_ENDPOINT>
</SERVICE_GROUP>
</results>