It's all about the answers!

Ask a question

How to create link between Design management and Requirement management using oslc?


masoom Abdullah (53119) | asked Mar 13 '17, 2:52 a.m.

Hi All,

I want to create the link between the Design management models and the artifacts of Requirement management using oslc. I am googling about how to approach for it but not getting anything helpful.

If anyone has already worked upon it, please help me. If anyone can help me out how to start approaching for this requirement, that would be really helpful for me. Please let me the OSCL api's that would be required for this requirement.

Thanks,
Masoom

One answer



permanent link
Vaibhav S (106354) | answered Mar 31 '17, 2:04 a.m.
edited Mar 31 '17, 2:06 a.m.
<style> &amp;amp;amp;amp;amp;amp;lt;!-- /* Font Definitions */ @font-face {font-family:&amp;amp;amp;amp;amp;amp;quot;Cambria Math&amp;amp;amp;amp;amp;amp;quot;; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:&amp;amp;amp;amp;amp;amp;quot;Segoe UI&amp;amp;amp;amp;amp;amp;quot;; panose-1:2 11 5 2 4 2 4 2 2 3;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:8.0pt; margin-left:0in; line-height:107%; font-size:11.0pt; font-family:&amp;amp;amp;amp;amp;amp;quot;Calibri&amp;amp;amp;amp;amp;amp;quot;,sans-serif;} .MsoChpDefault {font-family:&amp;amp;amp;amp;amp;amp;quot;Calibri&amp;amp;amp;amp;amp;amp;quot;,sans-serif;} .MsoPapDefault {margin-bottom:8.0pt; line-height:107%;} /* Page Definitions */ @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --&amp;amp;amp;amp;amp;amp;gt; </style>
Hi Masoom, try using this code.

Requirement requirement = getResponse.getEntity(Requirement.class);
requirement.setDescription("Modified by    ");                               
requirement.addElaboratedBy(new Link(new URI("http://youtube.com"), "ImplementedBy example"));
String etag = getResponse.getHeaders().getFirst(OSLCConstants.ETAG);
getResponse.consumeContent();


Thanks
Vaibhav

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.