oslc_cm:inprogress=true OR oslc_cm:fixed=true
oslc_cm:inprogress=true OR oslc_cm:fixed=true OR oslc_cm:approved=true
oslc_cm:inprogress=true OR oslc_cm:fixed=true OR oslc_cm:approved=true OR oslc_cm:closed=true
oslc_cm:inprogress=true OR oslc_cm:approved=true
Prefixed Name | Occurs | Read-only | Value-type | Representation | Range | Description |
---|---|---|---|---|---|---|
oslc_cm:predicate | zero-or-many | True | String | n/a | approved closed fixed inprogress reviewed verified
|
Provides a single property containing all applicable predicates. When retrieving properties of a change request, this new attribute provides the same information as the individual state predicate properties. For example, if oslc_cm:approved=true and oslc_cm:verified=true for a change request, the value of oslc_cm:predicate would be approved and verified. When used as part of a query with the oslc.where parameter it lets the consumer efficiently filter the query results to find change requests matching more than one of the available predicates. For example, oslc_cm:predicate in ["inprogress", "fixed"] |
ResponseGET /bugs/2314Accept: application/xmlOSLC-Core-Version: 2.0
HTTP/1.1 200 OKOSLC-Core-Version: 2.0Content-Type: application/xmlETag: "_172190-a702b13"Content-Length: nnn<?xml version="1.0" encoding="UTF-8"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"xmlns:dcterms="http://purl.org/dc/terms/" xmlns:oslc="http://open-services.net/ns/core#"xmlns:oslc_cm="http://open-services.net/ns/cm#" xmlns:ex="http://example.com/bugtracker"><oslc_cm:ChangeRequest rdf:about="http://example.com/bugs/2314"><rdf:type rdf:resource="http://open-services.net/ns/cm#ChangeRequest" /><dcterms:identifier> 00002314 </dcterms:identifier><oslc:shortTitle>Bug 2314</oslc:shortTitle><dcterms:title> Invalid installation instructions </dcterms:title><dcterms:type> Defect </dcterms:type><oslc:instanceShape rdf:resource="http://example.com/shapes/defect" /><dcterms:description>Invalid installation instructions indicating invalid patches to be applied.</dcterms:description><dcterms:subject> doc </dcterms:subject><dcterms:subject> install </dcterms:subject><dcterms:creator rdf:resource="http://myserver/mycmapp/users/joe" /><dcterms:contributor rdf:resource="http://myserver/mycmapp/users/bob" /><dcterms:modified> 2008-09-16T08:42:11.265Z </dcterms:modified><dcterms:created> 2008-07-04T11:00:00.000Z </dcterms:created><oslc_cm:status> Fixed </oslc_cm:status><oslc_cm:fixed> true </oslc_cm:fixed><oslc_cm:approved> true </oslc_cm:approved><oslc_cm:predicate> fixed </oslc_cm:predicate><oslc_cm:predicate> approved </oslc_cm:predicate><oslc:discussedBy rdf:resource="http://example.com/bugs/2314/discussion" /><oslc_cm:relatedChangeRequestrdf:resource="http://myserver/mycmapp/bugs/1235" /><oslc_cm:relatedChangeRequestrdf:resource="http://remoteserver/mycmapp/defects/abc123" /><oslc_cm:tracksRequirement rdf:resource="http://myserver/reqtool/req/34ef31af" /><oslc_cm:tracksRequirement rdf:resource="http://remoteserver/reqrepo/project1/req456" /><!-- Service provider specific properties --><ex:priority> Medium </ex:priority><ex:severity> Normal </ex:severity></oslc_cm:ChangeRequest></rdf:RDF>