OSLC DOORS/DWA get Requirement by URL
Hi,
|
Accepted answer
If you already have the url of the requirement, next step, you perform a /GET on it to pull its RDF document that will contain all its attributes. Find out more at http://git.eclipse.org/c/lyo/org.eclipse.lyo.client.git/tree/org.eclipse.lyo.client.java.sample/src/main/java/org/eclipse/lyo/client/oslc/samples/DoorsOauthSample.java
around STEP 12, this instruction is performed
ClientResponse getResponse = client.getResource(requirementURL,OslcMediaType.APPLICATION_RDF_XML);
You could then parse it to extract every single attribute. Or you can serialize it into an OSLC requirement object as well.
Julian Hemm selected this answer as the correct answer
|
4 other answers
Hi all,
|
Have you seen https://jazz.net/library/article/1382 ? It point to Eclipse Lyo samples which have one that talk to Doors 9... Comments
Julian Hemm
commented Mar 21 '17, 12:50 p.m.
I have started with the lyo sample but I didnt find any example on how to query the requirement by its link.
Donald Nong
commented Mar 21 '17, 8:38 p.m.
I'm not familiar DOORS/DWA but it appears to me that the content from DWA is not compatible with Lyo. Check the below web page for the correct/expected syntax of the dateTime string.
|
Hello,
Your scenario is not clear. How your query could look like in natural language?
I guess you would like to select only the property URL where xxx (what)? Comments
Julian Hemm
commented Mar 22 '17, 8:03 a.m.
Hi,
|
I am glad it works. Good luck with your integration challenges. I hope you will spread the word! |
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.