Difference between revisions of "GOCDB/PI/get service group"

From EGIWiki
< GOCDB‎ | PI
Jump to: navigation, search
(parameters)
(Output Example)
Line 79: Line 79:
 
       <IN_PRODUCTION>Y</IN_PRODUCTION>
 
       <IN_PRODUCTION>Y</IN_PRODUCTION>
 
       <NODE_MONITORED>Y</NODE_MONITORED>
 
       <NODE_MONITORED>Y</NODE_MONITORED>
 +
  <EXTENSIONS>                          <!-- note, EXTENSIONS value can be empty e.g: <EXTENSIONS/> -->
 +
      <EXTENSION>
 +
          <LOCAL_ID>01</LOCAL_ID>
 +
          <KEY>VO</KEY>
 +
          <VALUE>LHCB</VALUE>
 +
      </EXTENSION>
 +
  </EXTENSIONS>
 
   </SERVICE_ENDPOINT>   
 
   </SERVICE_ENDPOINT>   
 
   <SERVICE_ENDPOINT>
 
   <SERVICE_ENDPOINT>

Revision as of 16:03, 13 February 2014

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

<?xml version="1.0" encoding="UTF-8"?>
<results>
<SERVICE_GROUP PRIMARY_KEY="57654G0">
   <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://elided </GOCDB_PORTAL_URL>
   <SERVICE_ENDPOINT>
      <HOSTNAME>goc.egi.eu</HOSTNAME>
      <GOCDB_PORTAL_URL>https://elided</GOCDB_PORTAL_URL>
      <SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
      <HOST_IP/>
      <HOSTDN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu</HOSTDN>
      <IN_PRODUCTION>Y</IN_PRODUCTION>
      <NODE_MONITORED>Y</NODE_MONITORED>
   <EXTENSIONS>                           <!-- note, EXTENSIONS value can be empty e.g: <EXTENSIONS/> -->
      <EXTENSION>
          <LOCAL_ID>01</LOCAL_ID>
          <KEY>VO</KEY>
          <VALUE>LHCB</VALUE>
      </EXTENSION>
   </EXTENSIONS>
   </SERVICE_ENDPOINT>   
   <SERVICE_ENDPOINT>
      …elided…
   </SERVICE_ENDPOINT>
</SERVICE_GROUP>
</results>


Back to GOCDB technical Documentation main page