RDNG v6.0.4 & v6.0.5: Changing the state of an Artifact (Type-> Requirements) through OSLC or Java APIs
Hello,
We are working with RDNG version 6.0.4 and 6.0.5.
The requirement is to update the workflow states for a requirements artifact workflow automatically through an external script (using OSLC or Java APIs).
We checked and same can be done for RTC but we are not finding any luck with RDNG.
So i would like to ask the following questions:
1. Is this feasible to be done in this version of RDNG?
2. If yes, can this be done through OSLC or through Java APIs?
3. If yes, is this information public?
4. If yes, can someone guide to some public documentation to this?
One answer
The concept workflow is very different in RTC and RDNG, so you cannot compare it between the two.
As far as I know, there is no Java API available for RDNG.
Although I have not done it myself, you can try to set the target workflow state the same way as other attributes using OSLC API. Not like RTC, there is no action for the state transition in RDNG.
Comments
Hello Donald,
Thanks for replying.
We had tried doing it through OSLC POST. Although the POST does not return an error, the updated state, as per the workflow, does not reflect in that artifact.
This issue appears to be addressed in the below work item. Basically, the workflow status should be updated the same way as other attributes.
120221: An OSLC PUT operation removes workflow information from the requirement