Using OSLC API for RRC/DOORS Next Generation
Hi,
I have few questions about API for RRC.
How can I copy an artifact with API?
How can I create an artifact with these formats : simple flow diagram, User Interface Sketch, User Interface Part, Business Process Diagram, Use-Case Diagram etc. I can create artifacts only for text format.
How can I change the access control (Team ownership) of an artifact with API?
Is there any easy way to see xml content link RTC have, like ;
When I open this link I can see the xml content of workitem : https://server:port/jazz/oslc/workitems/97070.xml
Does RRC have the same feature ?
OSLC has only one documentation, and is there any other documentation ? There is one workitem for this subject, created in 2009..
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/87510
And http://open-services.net/ is closed.. Is there any other website about OSLC ?
One answer
Mustafa
You discuss several topics here and you jump around between RTC and RRC / Doors Next Gen (DNG). I will try to address one at a time.
Question #1 - Is it possible to copy an artifact from RTC or RRC/DNG? Yes. OSLC provides creation factories which we discuss in the OSLC workshop, https://jazz.net/library/article/635. Artifacts all have an XML representation that can be retrieved via a GET operation. So, at a high level, I can say that one could save the XML from one artifact and use it to create another similar artifact via the creation factory.
Question #2 - Is it possible to create artifacts of other formats? Again, the creation factory and what can be created is discoverable as I think we show in the workshop via something called InstanceShape. If you find the InstanceShape resource for a specific artifact type, then you can ask the creation factory to create an artifact of that type.
There is also an OSLC wrapper API called Eclipse Lyo. Have you looked into it? There is one Jazz.net library article I found that has an intro: https://jazz.net/library/article/1382 and Eclipse Lyo 2.1 is now available
The same author of article 1382 also authored https://jazz.net/library/article/1197
Question #3: open-services net is not closed. Specification work has moved to OASIS. We’re moving our specification work to OASIS!
Question 4: I don't think access control of a RRC/DNG artifact can be modified by API. For RTC, there are some things that can be done via the Plain Java client API. See rsjazz.wordpress.com for many samples and discussion on this API. There is also a Jazz.net Extensions workshop https://jazz.net/library/article/1000
Question 5: I don't follow the question on xml of content link.
I also recommend searching the Jazz.net library for oslc articles: https://jazz.net/library/#tag=OSLC or https://jazz.net/library/#tag=oslc
You discuss several topics here and you jump around between RTC and RRC / Doors Next Gen (DNG). I will try to address one at a time.
Question #1 - Is it possible to copy an artifact from RTC or RRC/DNG? Yes. OSLC provides creation factories which we discuss in the OSLC workshop, https://jazz.net/library/article/635. Artifacts all have an XML representation that can be retrieved via a GET operation. So, at a high level, I can say that one could save the XML from one artifact and use it to create another similar artifact via the creation factory.
Question #2 - Is it possible to create artifacts of other formats? Again, the creation factory and what can be created is discoverable as I think we show in the workshop via something called InstanceShape. If you find the InstanceShape resource for a specific artifact type, then you can ask the creation factory to create an artifact of that type.
There is also an OSLC wrapper API called Eclipse Lyo. Have you looked into it? There is one Jazz.net library article I found that has an intro: https://jazz.net/library/article/1382 and Eclipse Lyo 2.1 is now available
The same author of article 1382 also authored https://jazz.net/library/article/1197
Question #3: open-services net is not closed. Specification work has moved to OASIS. We’re moving our specification work to OASIS!
Question 4: I don't think access control of a RRC/DNG artifact can be modified by API. For RTC, there are some things that can be done via the Plain Java client API. See rsjazz.wordpress.com for many samples and discussion on this API. There is also a Jazz.net Extensions workshop https://jazz.net/library/article/1000
Question 5: I don't follow the question on xml of content link.
I also recommend searching the Jazz.net library for oslc articles: https://jazz.net/library/#tag=OSLC or https://jazz.net/library/#tag=oslc
Comments
showing 5 of 7
show 2 more comments