Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to remove/delete requirements in Doors 9.5.2.1/RDNG 6.0.1M1 using OSLC?

Hi, I am looking the guide for RDNG
https://jazz.net/forum/questions/180675/how-to-update-dng-module-using-oslc
but I can not find a way to remove requirements? Also I saw that there is adding/remove artifacts from collection.
  1. So what I have to do when I have a requirement which is part of multiple modules how to remove it from all of them?
  2. How to delete requirement which is no part of any module/collection?
  3. How to purge the deleted requirement?
  4. How to remove file embeded as OLE/ attached in RDNG?
  5. How to purge requirements after deletion? Is it needed?

Is there OSLC way or I have to use the DXL extensions?


0 votes



2 answers

Permanent link
To delete an artifact is simple - just send a DELETE operation to the artifact resource URI (GET, PUT and POST are more often used).

Be very careful with what you are doing, as there is no way to undelete an artifact. If you delete it, it's gone forever. Why don't you use the GUI to delete artifacts? You at least get a prompt asking you whether you really want to delete it. If you use API, there will be no warnings, and you will not even know whether you make a mistake (e.g. using the wrong resource URI).

To delete a file should be similar and you need to get the wrapper resource URI first.

To delete/remove artifacts from a module or collection is completely different because you are actually modifying the module or collection by removing the <oslc_rm:uses> property.

1 vote

Comments

Thanks for the answer.OK but what about Doors 9.5? Is it dead product(no support) here there is no answer for the Doors 9.5 topics?
- So there is no purge in RDNG? But what about Doors 9.5?


Permanent link
You cannot purge an artifact in DOORS 9.x, using OSLC services.
But you could create a DXL Service (which can be consumed as any OSLC Service) for that.
Questions on DOORS are better answered in developerWorks forum:
Rational DOORS DXL Forum
Rational DOORS General Discussion Forum
Rational DOORS Administration Forum

1 vote

Comments

Thanks, Sudarshan Rao. I did not know that.

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941
× 198
× 2

Question asked: Nov 30 '15, 5:32 a.m.

Question was seen: 4,309 times

Last updated: Dec 01 '15, 5:50 a.m.

Confirmation Cancel Confirm