How to update DNG module using OSLC?
Hello,
How to update a module in DNG using OSLC update? I'm able to update an artifact using OSLC, but I'm not able to update a module using the same method. In particular, I want to replace an artifact in a module by another one, add/remove an artifact to/from a module. Is this possible with OSLC? |
Accepted answer
Hi,
Adding/removing artifacts from a module via OSLC is currently not supported, What can be modified are module attributes. Tuan Nguyen Minh selected this answer as the correct answer
|
3 other answers
Hi Tuan-
What application are you using in addition to DNG?
The Rational Lifecycle Integration Adapters-Tasktop Edition can support moving artifacts between modules in DNG as long as there is another application integrated with it. You can learn more about RLIA-TE here:
http://www-304.ibm.com/partnerworld/gsd/solutiondetails.do?&solution=46335&lc=en
Please feel free to reach out to me if you have any questions!
Thanks and Best
b
Comments
Sudipto Sarkar
commented Dec 28 '16, 4:18 a.m.
Hi Beth,
|
Hi, is updating the Module Attributes (Type specifically) using OLSC supported in latest versions now.
Please let me know.
Thanks
Vaibhav
Comments 1
Sudipto Sarkar
commented Dec 24 '18, 12:52 a.m.
Yes its possible.
You can set the instance shape of the module with the right URI of the type of the module you want.
If you are using OSLC4J API, then
RequirementCollection reqColl= <>;
reqColl.setInstanceShape(Uri);
reqColl.updateResource(.....)
Vaibhav S
commented Dec 24 '18, 1:14 a.m.
hey, i tried the same. Its even returning 200 status code and updating Description and Title Attributes, Only Artifact Type is not getting updated.
Any idea why that might be happening. I am providing correct URI for new Instance Shape also.
Please let me know.
Thanks
Vaibhav
Sudipto Sarkar
commented Dec 24 '18, 5:19 a.m.
If you can try this: . . . client.updateReource(....); |
Hi, is updating the Module Attributes (Type specifically) using OLSC supported in latest versions now.
Please let me know.
Thanks
Vaibhav
|
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.