The wiki is in the process of being deprecated and migrated to other supports.

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

From EGIWiki
< GOCDB‎ | PI
Jump to navigation Jump to search
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Method: get_cert_status_date - GOCDB4 ==
{{Template:Op menubar}}
{{Template:GOCDB_menubar}}
{{TOC_right}}
[[Category:GOCDB]]
 
== 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 10: Line 15:
=== Entry point ===
=== Entry point ===


* https://goc.gridops.org/gocdbpi/private/?method=get_cert_status_date
* https://goc.egi.eu/gocdbpi/private/?method=get_cert_status_date&certification_status=Suspended


=== parameters ===
=== parameters ===
Line 17: Line 22:
! parameter !! effect !! format/value(s) !! default !! example
! parameter !! effect !! format/value(s) !! default !! example
|-
|-
| status || Limit results to sites with given certification status || one of "Candidate", "Uncertified", "Certified", "Closed", Suspended" || all || ?method=get_cert_status_date&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=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 ===
* 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"?>
<results>
  <site>
  <site>
    <name>Some-Site-Short-Name</name>
    <name>SOME_SITE</name>
    <cert_status>Uncertified</cert_status>
    <cert_status>Suspended</cert_status>
    <cert_date>28-JUN-10 12.00.09.000000 PM</cert_date>
    <cert_date>21-MAR-11 03.20.22.000000 PM</cert_date>
  </site>
  </site>
</Source>
</results>
<!--
 
<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