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 role"

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
Line 4: Line 4:
[[Category:GOCDB]]
[[Category:GOCDB]]


== Method: get_service_group_role - GOCDB4  ==
== Method: get_service_group_role ==


{|
{|
Line 21: Line 21:
=== parameters  ===
=== parameters  ===


{| border="1"
{| {{egi-table}}
|-
|-
! parameter  
! parameter  
Line 36: Line 36:
|-
|-
| scope  
| scope  
| Show only service groups with the requested scope-tags (Local and EGI are currenlty the only available scopes)
| Show only sites with the requested scope-tags - a list of currently supported scope tags can be found [https://goc.egi.eu/portal/index.php?Page_Type=Scope_Help here]
| A comma separated list of scope-tag values  
| A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&amp;scope='
| EGI
| EGI
| &nbsp;?method=get_service_group_role&amp;scope=Local
| &nbsp;?method=get_service_group_role&amp;scope=Local
Line 46: Line 46:
| all
| all
| &nbsp;?method=get_service_group_role&amp;scope=Local,EGI&scope_match=any
| &nbsp;?method=get_service_group_role&amp;scope=Local,EGI&scope_match=any
|-
| Docs for cursor params coming soon.
| Limit results and use cursor paging to iterate over all results
| [https://wiki.egi.eu/wiki/GOCDB/notifications#Optional_Cursor_Paging_on_Read_API See here for info]
|
|
|-
|-
|}
|}

Latest revision as of 14:27, 16 December 2016

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_role

Description Returns a list of service groups and the roles 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_role&service_group_name=OPSTOOLS
scope Show only sites with the requested scope-tags - a list of currently supported scope tags can be found here A comma separated list of scope-tag values or an empty value to return all scopes, i.e. '&scope=' EGI  ?method=get_service_group_role&scope=Local
scope_match Match 'all' or 'any' of the specified scope-tags 'all' or 'any' all  ?method=get_service_group_role&scope=Local,EGI&scope_match=any
Docs for cursor params coming soon. Limit results and use cursor paging to iterate over all results See here for info


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>
    <USER>
      <FORENAME>David</FORENAME>
      <SURNAME>Meredith</SURNAME>
      <CERTDN>/C=UK/O=eScience/OU=CLRC/L=DL/CN=david meredith</CERTDN>
      <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;object_id=22252&amp;grid_id=0</GOCDB_PORTAL_URL>
      <ROLE>Service Group Administrator</ROLE>
    </USER>
    <USER>
      <FORENAME>John</FORENAME>
      <SURNAME>Casson</SURNAME>
      <CERTDN>/C=UK/O=eScience/OU=CLRC/L=RAL/CN=john casson</CERTDN>
      <GOCDB_PORTAL_URL>https://gocdb4.esc.rl.ac.uk/portal/index.php?Page_Type=View_Object&amp;object_id=6200&amp;grid_id=0</GOCDB_PORTAL_URL>
      <ROLE>Service Group Administrator</ROLE>
    </USER>
  </SERVICE_GROUP>
</results>


Back to GOCDB technical Documentation main page