GOCDB/PI/get service endpoint method
Jump to navigation
Jump to search
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_endpoint
Description | Returns a list of service endpoints (single node x single service) and associated information |
Protection Level | Public (level 1) |
Entry point
https://goc.egi.eu/gocdbpi/public/?method=get_service_endpoint
or (both are equivalent)
https://goc.egi.eu/gocdbpi/public/?method=get_service
parameters
parameter | effect | format/value(s) | default | example |
---|---|---|---|---|
hostname | Limit results to services hosted on node with given hostname | any host name | all | ?method=get_service_endpoint&hostname=dcache-tape.gridpp.rl.ac.uk |
sitename | Limit results to services provided at site with given sitename | any site name | all | ?method=get_service_endpoint&sitename=IN2P3-CC |
roc (ngi) | Limit results to services provided by given NGI | any NGI name | all | ?method=get_service_endpoint&roc=AsiaPacific |
country | Limit results to services provided by given country | any country name | all | ?method=get_service_endpoint&country=Australia |
service_type | Limit results to services of given type | any valid service type | all | ?method=get_service_endpoint&service_type=CE |
monitored | Limit results to services hosted on nodes that have monitoring turned on | Y or N | all | ?method=get_service_endpoint&monitored=Y |
scope | Show only service 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_endpoint&scope=Local |
scope_match | Match 'all' or 'any' of the specified scope-tags | 'all' or 'any' | all | ?method=get_service_endpoint&scope=Local,EGI&scope_match=any |
extensions | Limit results by one or many key value pairs | See Extensions Mechanism | none | ?method=get_service_endpoint&extensions=(KeyName=KeyValue) |
Output Example
<?xml version="1.0" encoding="UTF-8"?>
<results>
<SERVICE_ENDPOINT PRIMARY_KEY="4180G0">
<PRIMARY_KEY>4180G0</PRIMARY_KEY>
<HOSTNAME>goc.egi.eu</HOSTNAME>
<GOCDB_PORTAL_URL>
https://localhost/portal/index.php?Page_Type=Service ;amp id=4180
</GOCDB_PORTAL_URL>
<HOSTDN>
/C=UK/O=eScience/OU=CLRC/L=RAL/CN=goc.egi.eu/emailAddress=sct-certificates@stfc.ac.uk
</HOSTDN>
<HOST_ARCH>x86_64</HOST_ARCH>
<BETA>N</BETA>
<SERVICE_TYPE>egi.GOCDB</SERVICE_TYPE>
<CORE/>
<IN_PRODUCTION>Y</IN_PRODUCTION>
<NODE_MONITORED>Y</NODE_MONITORED>
<SITENAME>GRIDOPS-GOCDB</SITENAME>
<COUNTRY_NAME>United Kingdom</COUNTRY_NAME>
<COUNTRY_CODE>GB</COUNTRY_CODE>
<ROC_NAME>EGI.eu</ROC_NAME>
<URL>https://goc.egi.eu:443</URL>
<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>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>
<EXTENSION>
<LOCAL_ID>1</LOCAL_ID>
<KEY>TEST_CHARGE</KEY>
<VALUE>10</VALUE>
</EXTENSION>
</EXTENSIONS>
</SERVICE_ENDPOINT>
</results>