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

What are the properties of an RDF Resource published as a TRS Change such that LDX accepts it as a valid Link?

 As I understand linking in Global-Configuration-aware OSLC peers, the owning ServiceProvider of an OSLC

resource that is the "subject" (source, owner) of a Link to an "object" (target) OSLC resource in a different repository
has the responsibility of publishing that Link via TRS to Jazz's LDX so that Jazz DNG (for example) can discover those external links to its internal resources.

I have a TRS provider for my ServiceProvider. What is the format of the RDF resource which needs to be returned when Jazz LDX eventually visits the TRS change and attempts to GET that resource? Is it a simple rdf#Statement with subject, predicate, object properties describing the Link? Is it the subject resource itself with rdf#Statement instances that describe the link? What exactly must it be and where is this documented?

<trs:change>
<trs:Creation rdf:about="https://rlia.acme.org:8443/oslc-windchill/services/am/resource/link/OR:foobar.net.Oslcdelegate:186036:779362732-1513037000878-1089680530-5-0-142-10@typhoon.acme.org/changelog/creationEntry/2018-01-22T21:37:30.733Z">
<trs:changed rdf:resource="https://rlia.acme.org:8443/oslc-windchill/services/am/resource/link/OR:foobar.net.Oslcdelegate:186036:779362732-1513037000878-1089680530-5-0-142-10@typhoon.acme.org"/>
<trs:order rdf:datatype="http://www.w3.org/2001/XMLSchema#int">18607</trs:order>
</trs:Creation>
</trs:change>
<trs:change>

</pre>

For example, here, what should be the content of the RDF for the "link/OR:foobar.net.Oslcdelegate:186036" resource?

0 votes



One answer

Permanent link

 When watching DNG store new links between its own resources, I can see this get POSTed to the rm/links service. I suspect that what the TRS has to expose should be very similar. (I don't expect to have to POST to rm/links in addition to assuring that the TRS exposes the right URI for the link.)

<rdf:RDF xmlns:rm="http://www.ibm.com/xmlns/rdm/rdf/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rm:Link rdf:about="">
<rdf:subject rdf:resource="https://clm.acme.org:9443/rm/resources/_38fd2bd8a5224876b7f3650f22ff2230"/>
<rdf:object rdf:resource="https://clm.acme.org:9443/rm/resources/_7fa73eeb041a4c489edecc8ed13ca0d4"/>
<rdf:predicate rdf:resource="https://clm.acme.org:9443/rm/types/_sbBb0dkiEeeVpMiClZrzHA"/>
<rm:suspectSubjectCleared/>
<rm:suspectObjectCleared/>
<rdf:type rdf:resource="http://www.ibm.com/xmlns/rdm/rdf/Link"/>
<rdf:value rdf:datatype="http://www.w3.org/2001/XMLSchema#string"></rdf:value>
<rm:hasAttrVal rdf:parseType="Resource">
<rm:hasAttrDef rdf:resource="https://clm.acme.org:9443/rm/types/_sj7gMdkiEeeVpMiClZrzHA"/>
<rdf:value>30439</rdf:value>
</rm:hasAttrVal>
</rm:Link>
</rdf:RDF>

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
× 10,936
× 7,495
× 113

Question asked: Jan 22 '18, 7:37 p.m.

Question was seen: 2,998 times

Last updated: Jan 23 '18, 9:54 a.m.

Confirmation Cancel Confirm