Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

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

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
Line 68: Line 68:
  &lt;/results&gt;
  &lt;/results&gt;
  </span>
  </span>
<br/>
* <b>Proposed updated (Aug 2013)</b> Sample output with addition of DN element below.
<pre>
<?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://goc.egi.eu/portal/index.php?Page_Type=View_Object&object_id=21956&grid_id=0
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
<HOST_IP/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<!-- TODO Add New DN element as below -->
<DN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu</DN>
  </SERVICE_ENDPOINT> 
  <SERVICE_ENDPOINT>
      …elided…
  </SERVICE_ENDPOINT>
</SERVICE_GROUP>
</results>
</pre>


[[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 09:59, 16 August 2013

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 - GOCDB4

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


  • Proposed updated (Aug 2013) An update is necessary that will nest a new <DN> element under each <SERVICE_ENDPOINT>. This is required to output the service’s host DN. This element may be empty as the host DN is an optional field in GOCDB.


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://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;object_id=107045&amp;grid_id=0</GOCDB_PORTAL_URL>
   <SERVICE_ENDPOINT>
     <HOSTNAME>cic.gridops.org</HOSTNAME>
     <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;object_id=21957&amp;grid_id=0</GOCDB_PORTAL_URL>
     <SERVICE_TYPE>OpsTool</SERVICE_TYPE>
     <HOST_IP/>
     <IN_PRODUCTION>Y</IN_PRODUCTION>
     <NODE_MONITORED>Y</NODE_MONITORED>
   </SERVICE_ENDPOINT>
   <SERVICE_ENDPOINT>
     <HOSTNAME>apel-consumer.esc.rl.ac.uk</HOSTNAME>
     <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;object_id=21962&amp;grid_id=0</GOCDB_PORTAL_URL>
     <SERVICE_TYPE>egi.APELRepository</SERVICE_TYPE>
     <HOST_IP/>
     <IN_PRODUCTION>Y</IN_PRODUCTION>
     <NODE_MONITORED>Y</NODE_MONITORED>
   </SERVICE_ENDPOINT>
</SERVICE_GROUP>
</results>


  • Proposed updated (Aug 2013) Sample output with addition of DN element below.
<?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://goc.egi.eu/portal/index.php?Page_Type=View_Object&object_id=21956&grid_id=0
</GOCDB_PORTAL_URL>
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
<HOST_IP/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>

<!-- TODO Add New DN element as below -->
<DN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu</DN>

   </SERVICE_ENDPOINT>   
   <SERVICE_ENDPOINT>
      …elided…
   </SERVICE_ENDPOINT>
</SERVICE_GROUP>
</results>

Back to GOCDB technical Documentation main page