Difference between revisions of "GOCDB/Release4/Development/GLUE2Compatibility"
Line 12: | Line 12: | ||
*[[https://forge.ogf.org/svn/repos/glue/XSD/trunk/schema/glue-sample0.xml Sample Docs]] | *[[https://forge.ogf.org/svn/repos/glue/XSD/trunk/schema/glue-sample0.xml Sample Docs]] | ||
*[[https://www.egi.eu/indico/getFile.py/access?contribId=206&sessionId=70&resId=3&materialId=slides&confId=679 GOCDB GLUE2 Compatiblity, EGI UF 2012 Munich]] | *[[https://www.egi.eu/indico/getFile.py/access?contribId=206&sessionId=70&resId=3&materialId=slides&confId=679 GOCDB GLUE2 Compatiblity, EGI UF 2012 Munich]] | ||
*[[http://tools.ngs.ac.uk/ngstools/glue2proposal/src.zip Proposal to update the GLUE2 XSD]] | *[[http://tools.ngs.ac.uk/ngstools/glue2proposal/src.zip Proposal to update the GLUE2 XSD]] The glue2 working group is currently considering a proposal to introduce AbstractService and AbstractEndpoint elements into the glue2.xsd with accompanying xsd:substitutionGroups to define concrete service and endpoint elements. | ||
===Data Models and Downtimes=== | ===Data Models and Downtimes=== |
Revision as of 14:26, 27 April 2012
<< Back to GOCDB/Documentation_Index
<< Back to GOCDB/Release4/Development
<< Back to GOCDB/Release4/Development/MultipleGRIS
Background
GLUE2 defines an OGF standard for describing data similar in scope to the GOCDB data (Sites, Admin Domains, Services, Service Endpoints, Downtimes etc). A proposal exists for GOCDB to generate valid GLUE2 XML documents and expose these via the PI.
Useful links:
- [Glue2 Gridforge home]
- [GLUE2.xsd]
- [Latest Glue2.xsd on Github]
- [Sample Docs]
- [GOCDB GLUE2 Compatiblity, EGI UF 2012 Munich]
- [Proposal to update the GLUE2 XSD] The glue2 working group is currently considering a proposal to introduce AbstractService and AbstractEndpoint elements into the glue2.xsd with accompanying xsd:substitutionGroups to define concrete service and endpoint elements.
Data Models and Downtimes
There is a difference between the GOCDB and GLUE2 data models. In GLUE2, downtimes are defined against individual Endpoint entities, while in GOCDB downtimes are defined against the Service as a whole (the ServiceEndpoint entity).
To address this issue we propose the following:
- A service in gocdb currently links to one ‘Endpoint_Location’ entity, which in turn wraps the service's URL (other glue2 Endpoint attributes such as WSDL can easily be added to the Endpoint_Location entity).
- We are planning to make the cardinality of this relationship one-to-many.
- In doing this, with a bit of query2Xml conversion, it will be possible to generate GLUE2.xsd compatible documents from the gocdb data.
- Since GLUE2 defines only one downtime per Service Endpoint (the next/current downtime), the proposed GOCDB GLUE2 docs would only show the next/current downtime for the service (historical and future downtimes would be excluded).
GOCDB to GLUE2 Mapping
The diagrams below show how the GOCDB data maps to the GLUE2 XML rendering.