Difference between revisions of "GOCDB/Release4/Development/GLUE2Compatibility"
< GOCDB | Release4 | Development
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
[[File:Glue2GocdbCompare.jpg|650px|center|Core entity comparison between gocdb and glue2]] | [[File:Glue2GocdbCompare.jpg|650px|center|Core entity comparison between gocdb and glue2]] | ||
<br/> | |||
To address this issue we propose the following: | To address this issue we propose the following: | ||
* A service in gocdb 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 | * 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. | * We are planning to make the cardinality of this relationship one-to-many. | ||
* In doing this, with a bit of query2Xml conversion, it should be possible to generate GLUE2.xsd compatible documents from the gocdb data. | * In doing this, with a bit of query2Xml conversion, it should 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 ( | * 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). |
Revision as of 18:10, 24 January 2012
<< Back to GOCDB/Documentation_Index
<< Back to GOCDB/Release4/Development
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.
[GLUE2.xsd] [Sample Docs]
Data Models
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 should 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).