Is there a way to retrieve via oslc all states urls
Is there a service that shows all sates urls?
I found a few by searching through workitems, but I wanna know if there's a service that returns all of them, if not, how to know if there's more?
The version of rtc I'm using is 5.0
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/orientacao_operacao_workflow
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/defeito_producao
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/projeto_fluxo
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/entrega_fluxo
https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/com.ibm.team.workitem.taskWorkflow
|
Accepted answer
I checked it out, but still not what I'm looking for.
I need the equivalent of this:
Select distinct status_id
from workitem_statuses
where project_area_id = _VXfnAFntEeSkPKc3ubLimQ
and the return would be a xml like this:
<rdf:RDF>
<rdf:Description rdf:about="https://localhost:9443/ccm/oslc/contexts/_VXfnAFntEeSkPKc3ubLimQ/states">
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/orientacao_operacao_workflow" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/defeito_producao" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/projeto_fluxo" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/entrega_fluxo" />
<rdfs:member rdf:resource="https://localhost:9443/ccm/oslc/workflows/_VXfnAFntEeSkPKc3ubLimQ/states/com.ibm.team.workitem.taskWorkflow" />
</rdf:Description>
</rdf:RDF>
Ralph Schoon selected this answer as the correct answer
Comments
Ralph Schoon
commented Jan 20 '15, 11:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I accepted this answer for you, as I think you found the solution. Please let me know if that is not correct. Thanks!
|
One other answer
Hello I believe that you are looking for a service to display the exact set of resources available within your OSLC application. In that case please check the Tracked resource set spec - TRS at http://open-services.net/wiki/core/TrackedResourceSet-2.0/ .
Definition: The Tracked Resource Set protocol allows a server to expose a set of resources in a way that allows clients to discover the exact set of resources in the set, to track all additions to and removals from the set, and to track state changes to all resources in the set. The protocol does not assume that clients will dereference the resources. ... The link to the TRS document for RTC is https://localhost:9443/ccm/oslc/workitem/trs Best regards, Comments
Argeu Aprigio Alcantara
commented Jan 20 '15, 8:08 a.m.
I digged a little more and I found this documentation that says that the user must be TRS Consumer Internal, I have only one license for it, so I can only have one user with it, but will I be able to change which user have it later? |
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.