It's all about the answers!

Ask a question

How to update an artifact in DNG using OSLC/Java


Chandan M B (1133875) | asked May 08 '16, 11:59 p.m.
 Hello,

I have a module in DNG which has a status artifact . I need to update the status field with yes/no.

Please provide me the steps. I am not able to get the url and also the body to do put.
What should be the url ? How to get the url through OSLC to update the module ?
How to frame the body as well to do PUT

Regards,
Chandan

One answer



permanent link
Donald Nong (14.5k414) | answered May 09 '16, 12:30 a.m.
Have you checked this article?
https://jazz.net/library/article/1197

IIRC, a module artifact is not that different from a usual requirement artifact in terms of updating attributes.

Comments
Chandan M B commented May 09 '16, 12:49 a.m.

Hello Donald,


Thanks for the response.
I checked the article but i didnt get any information of getting the module url to be used to fire the HTTPPUT.
If you can guide me in how to get the url using OSLC would be useful.(Steps)


Donald Nong commented May 09 '16, 2:26 a.m.

Have you used the query capability at all?

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.