Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to identify the PA if i know the stream using OSLC API/programatically

how to identify the PA if i know the stream using OSLC API/programatically

0 votes



One answer

Permanent link
When you got the RDF/XML of the Stream you will find inside this RDF a predicate called http://jazz.net/ns/process#projectArea (process:projectArea)
This contains an Object which contains the URI to the project area
If you query for this URI the server returns an RDF/XML containing the project area data.

<dcterms:titlerdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Project Auf RM 1</dcterms:title>
<process:isAccessPublicrdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</process:isAccessPublic>
<process:isAccessVisibleToMembersrdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</process:isAccessVisibleToMembers>
<rdf:typerdf:resource="http://jazz.net/ns/process#ProjectArea"/>
<oslc:instanceShaperdf:resource="http://jazz.net/ns/process/shapes/ProjectArea"/>
<process:isAccessVisibleToAccessListrdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</process:isAccessVisibleToAccessList>
<dcterms:modifiedrdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2019-08-29T10:55:55.000Z</dcterms:modified>
<oslc:archivedrdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</oslc:archived>
</rdf:Description>

If you use Eclipse Lyo you can create classes for Stream and also for Project and unmarshall the RDF/XML into them.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 1,700

Question asked: Aug 27 '19, 2:37 a.m.

Question was seen: 2,331 times

Last updated: Sep 03 '19, 5:42 a.m.

Confirmation Cancel Confirm