Difference between revisions of "GOCDB/PI/get cert status date"

From EGIWiki
< GOCDB‎ | PI
Jump to: navigation, search
(parameters)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{Template:Op menubar}}
 +
{{Template:GOCDB_menubar}}
 +
{{TOC_right}}
 
[[Category:GOCDB]]
 
[[Category:GOCDB]]
  
== Method: get_cert_status_date - GOCDB4 ==
+
== Method: get_cert_status_date ==
  
 
{| {{egi-table}}  
 
{| {{egi-table}}  
 
|-
 
|-
| '''Description''' || Returns a list of current certification statuses for Production sites and the date they entered that status  
+
| '''Description''' || Returns a list of current certification statuses for <b>'Production' only</b> sites and the date they entered that status (i.e. where Site.ProductionStatus = 'Production', don't get this confused with Site.CertificationStatus)
 
|-
 
|-
 
| '''Protection Level''' || Protected (level 2)  
 
| '''Protection Level''' || Protected (level 2)  
Line 21: Line 24:
 
| certification_status || Limit results to sites with given certification status || one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" || all || ?method=get_cert_status_date&certification_status=Suspended
 
| certification_status || Limit results to sites with given certification status || one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" || all || ?method=get_cert_status_date&certification_status=Suspended
 
|-
 
|-
| roc || Limit results to a specific ROC/NGI || ROC/NGI short name || all || ?method=get_cert_status_date&roc=UKI
+
| roc || Limit results to a specific ROC/NGI || ROC/NGI short name || all || ?method=get_cert_status_date&roc=NGI_UK
 +
|-
 +
| 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]
 +
|
 +
|
 +
|-
 
|}
 
|}
  
 
=== Examples ===
 
=== Examples ===
* https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_date&certification_status=Uncertified&roc=UKI
+
* https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_date&certification_status=Closed&roc=NGI_UK
  
 
=== Output Example ===
 
=== Output Example ===
 
+
<Source Lang="XML">
 
   <?xml version="1.0" encoding="UTF-8"?>
 
   <?xml version="1.0" encoding="UTF-8"?>
 
   <site>
 
   <site>
Line 34: Line 44:
 
     <cert_status>Uncertified</cert_status>
 
     <cert_status>Uncertified</cert_status>
 
     <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
 
     <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
    <production_status>Production</production_status>
 
    <ROC>UKI</ROC>
 
 
   </site>
 
   </site>
 
+
</Source>
 +
<!--
 +
<ROC>UKI</ROC>
 +
<production_status>Production</production_status>
 +
-->
  
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]
 
[[GOCDB/PI/Technical_Documentation|Back to GOCDB technical Documentation main page]]

Latest revision as of 14:26, 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_cert_status_date

Description Returns a list of current certification statuses for 'Production' only sites and the date they entered that status (i.e. where Site.ProductionStatus = 'Production', don't get this confused with Site.CertificationStatus)
Protection Level Protected (level 2)

Entry point

parameters

parameter effect format/value(s) default example
certification_status Limit results to sites with given certification status one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" all ?method=get_cert_status_date&certification_status=Suspended
roc Limit results to a specific ROC/NGI ROC/NGI short name all ?method=get_cert_status_date&roc=NGI_UK
Docs for cursor params coming soon. Limit results and use cursor paging to iterate over all results See here for info

Examples

Output Example

  <?xml version="1.0" encoding="UTF-8"?>
  <site>
    <name>Some-Site-Short-Name</name>
    <cert_status>Uncertified</cert_status>
    <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
  </site>

Back to GOCDB technical Documentation main page