Content-Type
of application/x-oslc-qm-service-description-1.0+xml
and the service description document as the response's content body.
application/x-oslc-qm-service-description-1.0+xml.
XML namespace abbreviations used in this specification: rdf
- RDF XML namespace - http://www.w3.org/1999/02/22-rdf-syntax-ns#
dc
- The Dublin Core Metadata Terms namespace - http://purl.org/dc/terms/
oslc_qm
- The Open Services for Lifecycle Collaboration Quality Management namespace - http://open-services.net/xmlns/qm/1.0
/
XML Representation Summary: ServiceDescriptor? Element | ||
<oslc_qm:ServiceDescriptor rdf:about="anyURI"> Content: {dc:title, dc:description?, dc:contributor?, oslc_qm:testplans, oslc_qm:testcases} </oslc_qm:ServiceDescriptor> | ||
Property | Representation | Presentable |
dc:title | The REQUIRED title string. Note that this element comes from the DC namespace, allowing tools unaware of the quality management domain to access this element. | Yes |
dc:description | The REQUIRED description string. This element comes from the DC namespace, allowing tools completely unaware of the quality management domain to access this element. | Yes |
dc:contributor | The OPTIONAL contributor string. This element comes from the DC namespace, defining the contributing entity of this service implementation. | N/A |
- dc:title | The OPTIONAL title string that could be used for display. | Yes |
- dc:identifier | The REQUIRED contributor identifier. This can be of any form but recommend to either be of URN com.{company name}.{product indentifier} or URL forms. This property is to be used by a client application to identify the provider of this service. | No |
- oslc_qm:icon | The OPTIONAL URL to an icon file that represents the provider. This icon should be a favicon format and 16x16 pixels in size | Yes |
oslc_qm:testplans version | The REQUIRED testplans element. | No |
oslc_qm:testcases version | The REQUIRED testcases element. | No |
- oslc_qm:home | The OPTIONAL home element when present it MUST have child elements <dc:title> and <oslc_qm:url>. This can be used by service providers to provide a URL to the main Web UI which clients may use to navigate to. There MUST only be one occurrence of this element. | Only <dc:title> |
- {oslc_qm:factory default=[true|false]}* | The REQUIRED factory element with REQUIRED child elements <dc:title> and <oslc_qm:url>. There may be an optional <oslc_qm:label> element that is intended for use in a choice list. | Only <dc:title> |
- oslc_qm:simpleQuery | The REQUIRED simple query element with REQUIRED child elements <dc:title> and <oslc_qm:url>. There MUST be only one simpleQuery element per resource type. | Only <dc:title> |
- oslc_qm:selectionDialog default={true|false} hintWidth={width} hintHeight={width} | The REQUIRED selection dialog element with REQUIRED child elements of <dc:title> and <oslc_qm:url>. There MAY be more than one selectionDialog element. There may be an optional <oslc_qm:label> element that is intended for use in a choice list. The optional hintHeight and hintWidth attributes that allow the hosting application to define an initial size of the window to host the selection dialog, the valid values for these attributes is defined by the CSS 2 width and height attributes. | <dc:title>, <oslc_qm:label> |
- oslc_qm:creationDialog default={true|false} hintWidth={width} hintHeight={width} | The REQUIRED creation dialog element with REQUIRED child elements of <dc:title> and <oslc_qm:url>, used to retrieve a web form for the creation of new quality management resources. There MAY be more than one creationDialog element. There may be an optional <oslc_qm:label> element that is intended for use in a choice list. The optional hintHeight and hintWidth attributes that allow the hosting application to define an initial size of the window to host the creation dialog, the valid values for these attributes is defined by the CSS 2 width and height attributes. | <dc:title>, <oslc_qm:label> |
xml:lang
attribute.
<?xml version="1.0" encoding="UTF-8"?> <oslc_qm:ServiceDescriptor xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/terms/" xmlns:oslc_qm="http://open-services.net/xmlns/qm/1.0/" rdf:about="http://example.com/qm/service-descriptor.xml"> <dc:title>Project X</dc:title> <dc:description>My Product Name's OSLC QM Service Description for Project X.</dc:description> <dc:contributor> <dc:title>My Company Name, My QM Product</dc:title> <dc:identifier>com.mycompany.myproduct</dc:identifier> <oslc_qm:icon>../icons/myprod.ico</oslc_qm:icon> </dc:contributor> <oslc_qm:testplans version="1.0"> <!-- Resource creation factory URL --> <oslc_qm:factory oslc_qm:default="true"> <dc:title>Location for creation of test plans</dc:title> <oslc_qm:url>./plan</oslc_qm:url> </oslc_qm:factory> <!-- Alternate resource creation factory URL --> <oslc_qm:factory> <dc:title>Location for creation of minimal plan</dc:title> <oslc_qm:url>./plan?type=minimal</oslc_qm:url> </oslc_qm:factory> <!-- Simple GET-based URL-encoded query --> <oslc_qm:simpleQuery> <dc:title>Simple GET-based plan Query</dc:title> <oslc_qm:url>./plansquery</oslc_cm:url> </oslc_qm:simpleQuery> <!-- Resource Selection Dialog --> <oslc_qm:selectionDialog oslc_qm:hintWidth="740px" oslc_qm:hintHeight="480px"> <dc:title>Web Dialog for finding and selecting test plans.</dc:title> <oslc_qm:url>./ui/resourcePicker</oslc_qm:url> </oslc_qm:selectionDialog> <!-- Resource Creation Dialog --> <oslc_qm:creationDialog oslc_qm:hintWidth="600px" oslc_qm:hintHeight="320px"> <dc:title> Web Dialog for creating test plans.</dc:title> <oslc_qm:label>Plan</oslc_qm:label> <oslc_qm:url>./ui/submitDialog</oslc_qm:url> </oslc_qm:creationDialog> </oslc_qm:testplans> <oslc_qm:testcases version="1.0"> <!-- Resource creation factory URL --> <oslc_qm:factory oslc_qm:default="true"> <dc:title>Location for creation of test cases</dc:title> <oslc_qm:url>./case</oslc_qm:url> </oslc_qm:factory> <!-- Alternate resource creation factory URL --> <oslc_qm:factory> <dc:title>Location for creation of minimal case</dc:title> <oslc_qm:url>./case?type=minimal</oslc_qm:url> </oslc_qm:factory> <!-- Simple GET-based URL-encoded query --> <oslc_qm:simpleQuery> <dc:title>Simple GET-based case Query</dc:title> <oslc_qm:url>./casesquery</oslc_cm:url> </oslc_qm:simpleQuery> <!-- Resource Selection Dialog --> <oslc_qm:selectionDialog oslc_qm:hintWidth="740px" oslc_qm:hintHeight="480px"> <dc:title>Web Dialog for finding and selecting test cases.</dc:title> <oslc_qm:url>./ui/resourcePicker</oslc_qm:url> </oslc_qm:selectionDialog> <!-- Resource Creation Dialog --> <oslc_qm:creationDialog oslc_qm:hintWidth="600px" oslc_qm:hintHeight="320px"> <dc:title> Web Dialog for creating test cases.</dc:title> <oslc_qm:label>Plan</oslc_qm:label> <oslc_qm:url>./ui/submitDialog</oslc_qm:url> </oslc_qm:creationDialog> </oslc_qm:testcases> </oslc_qm:ServiceDescriptor>