It's all about the answers!

Ask a question

Create "Link To" link in RRC/DNG

Oded Mozesh (52818) | asked Jan 13 '15, 7:20 a.m.

Is it possible (and how) to create "Link To" using OSLC  (In RRC/DNG).
Links that when created in the RRC and get the resource using OSLC query looks like:
<j.0:Link rdf:resource="...:9443/rm/resources/_1e77c34b130240758370e5d224a134dd"/>

Best Regards,
Oded Mozesh

Anuraj Kurup commented Jul 22 '16, 3:35 a.m. | edited Dec 21 '16, 12:11 p.m.

Can you please explain how a 'LINK TO' & 'LINK FROM' can be created using OSLC or Eclipse Lyo in DNG?

One answer

permanent link
Gabriel Ruelas (1.1k13) | answered Jul 22 '16, 7:09 a.m.
Hi,  doing an OLSC GET to the source resource, add en entry similar to :
<j.0:link rdf:resource="...:9443/rm/resources/_1e77c34b130240758370e5d224a134dd"/>
to the RDF returned ( the url specified is the url of the desired target resource ) and use it to do an OSLC PUT ( remember to use the etag header value as the If-Match header )

The source artifact will now show a Link To link, and the target resource will show a Link From link.

Gabriel Ruelas commented Jan 13 '15, 10:16 a.m. | edited Dec 21 '16, 12:11 p.m.

It is possible form RDNG version 5.0.2 and up, older versions does not support those types of linking via the OSLC RM service provider.

Your answer

Register or 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.