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

From EGIWiki
< GOCDB‎ | PI
Jump to: navigation, search
(Output Example)
Line 36: Line 36:
  
 
  <span class="pi">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span><span>
 
  <span class="pi">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span><span>
  <span id="line2" /></span><span>&lt;<span class="start-tag">results</span>&gt;</span><span>
+
  </span><span>&lt;<span class="start-tag">results</span>&gt;</span><span>
<span id="line3" />  </span><span>&lt;<span class="start-tag">SERVICE_GROUP</span> <span class="attribute-name">PRIMARY_KEY</span>="[[57654G0]]"&gt;</span><span>
+
  </span><span>&lt;<span class="start-tag">SERVICE_GROUP</span> <span class="attribute-name">PRIMARY_KEY</span>="[[57654G0]]"&gt;</span><span>
<span id="line4" />    </span><span>&lt;<span class="start-tag">NAME</span>&gt;</span><span>OPSTOOLS</span><span>&lt;/<span class="end-tag">NAME</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">NAME</span>&gt;</span><span>OPSTOOLS</span><span>&lt;/<span class="end-tag">NAME</span>&gt;</span><span>
<span id="line5" />    </span><span>&lt;<span class="start-tag">DESCRIPTION</span>&gt;</span><span>All EGI Operational Tools</span><span>&lt;/<span class="end-tag">DESCRIPTION</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">DESCRIPTION</span>&gt;</span><span>All EGI Operational Tools</span><span>&lt;/<span class="end-tag">DESCRIPTION</span>&gt;</span><span>
<span id="line6" />    </span><span>&lt;<span class="start-tag">MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">MONITORED</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">MONITORED</span>&gt;</span><span>
<span id="line7" />    </span><span>&lt;<span class="start-tag">CONTACT_EMAIL</span>&gt;</span><span>gocdb-admins@mailtalk.ac.uk</span><span>&lt;/<span class="end-tag">CONTACT_EMAIL</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">CONTACT_EMAIL</span>&gt;</span><span>gocdb-admins@mailtalk.ac.uk</span><span>&lt;/<span class="end-tag">CONTACT_EMAIL</span>&gt;</span><span>
<span id="line8" />    </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=107045<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=107045<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
<span id="line9" />    </span><span>&lt;<span class="start-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
<span id="line10" />      </span><span>&lt;<span class="start-tag">HOSTNAME</span>&gt;</span><span>cic.gridops.org</span><span>&lt;/<span class="end-tag">HOSTNAME</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">HOSTNAME</span>&gt;</span><span>cic.gridops.org</span><span>&lt;/<span class="end-tag">HOSTNAME</span>&gt;</span><span>
<span id="line11" />      </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=21957<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=21957<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
<span id="line12" />      </span><span>&lt;<span class="start-tag">SERVICE_TYPE</span>&gt;</span><span>OpsTool</span><span>&lt;/<span class="end-tag">SERVICE_TYPE</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">SERVICE_TYPE</span>&gt;</span><span>OpsTool</span><span>&lt;/<span class="end-tag">SERVICE_TYPE</span>&gt;</span><span>
<span id="line13" />      </span><span>&lt;<span class="start-tag">HOST_IP</span><span>/</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">HOST_IP</span><span>/</span>&gt;</span><span>
<span id="line14" />      </span><span>&lt;<span class="start-tag">IN_PRODUCTION</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">IN_PRODUCTION</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">IN_PRODUCTION</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">IN_PRODUCTION</span>&gt;</span><span>
<span id="line15" />      </span><span>&lt;<span class="start-tag">NODE_MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">NODE_MONITORED</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">NODE_MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">NODE_MONITORED</span>&gt;</span><span>
<span id="line16" />    </span><span>&lt;/<span class="end-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
+
    </span><span>&lt;/<span class="end-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
<span id="line17" />    </span><span>&lt;<span class="start-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
+
    </span><span>&lt;<span class="start-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
<span id="line18" />      </span><span>&lt;<span class="start-tag">HOSTNAME</span>&gt;</span><span>apel-consumer.esc.rl.ac.uk</span><span>&lt;/<span class="end-tag">HOSTNAME</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">HOSTNAME</span>&gt;</span><span>apel-consumer.esc.rl.ac.uk</span><span>&lt;/<span class="end-tag">HOSTNAME</span>&gt;</span><span>
<span id="line19" />      </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=21962<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object<span class="entity"><span>&amp;</span>amp;</span>object_id=21962<span class="entity"><span>&amp;</span>amp;</span>grid_id=0</span><span>&lt;/<span class="end-tag">GOCDB_PORTAL_URL</span>&gt;</span><span>
<span id="line20" />      </span><span>&lt;<span class="start-tag">SERVICE_TYPE</span>&gt;</span><span>egi.APELRepository</span><span>&lt;/<span class="end-tag">SERVICE_TYPE</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">SERVICE_TYPE</span>&gt;</span><span>egi.APELRepository</span><span>&lt;/<span class="end-tag">SERVICE_TYPE</span>&gt;</span><span>
<span id="line21" />      </span><span>&lt;<span class="start-tag">HOST_IP</span><span>/</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">HOST_IP</span><span>/</span>&gt;</span><span>
<span id="line22" />      </span><span>&lt;<span class="start-tag">IN_PRODUCTION</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">IN_PRODUCTION</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">IN_PRODUCTION</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">IN_PRODUCTION</span>&gt;</span><span>
<span id="line23" />      </span><span>&lt;<span class="start-tag">NODE_MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">NODE_MONITORED</span>&gt;</span><span>
+
      </span><span>&lt;<span class="start-tag">NODE_MONITORED</span>&gt;</span><span>Y</span><span>&lt;/<span class="end-tag">NODE_MONITORED</span>&gt;</span><span>
  <span id="line24" />    </span><span>&lt;/<span class="end-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
+
  </span><span>   &lt;/<span class="end-tag">SERVICE_ENDPOINT</span>&gt;</span><span>
  &lt;/SERVICE_GROUP&gt;
+
&lt;/SERVICE_GROUP&gt;
 
  &lt;/results&gt;
 
  &lt;/results&gt;
 
  </span>
 
  </span>
  
 
[[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 17:23, 18 April 2012

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


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>

Back to GOCDB technical Documentation main page