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

Get all registered snaphot pointers in RDNG project area

Hello!
Is it possible somehow (with any API) get list of available snapshotId values from some project area in Rational DOORS Next Generation starting from v6.5 and higher? I was trying to find the solution in REST API and OSLC API for RM but didn't get it. May be somebody could give an advice how to better do it if possible.
Now I'm working with RM configuration context, not a global configuration.
Thank you in advance!

0 votes



One answer

Permanent link

It seems, I have found the answer. It's possible with OSLC API. Going from rootservices.xml and catalogue, we come to services.xml. As a sample from some test project in my development Jazz environment:


<oslc:creationFactory>
          <oslc:CreationFactory>
...
            <oslc_config:component rdf:resource="https://win2012:9443/rm/cm/component/_z_V-IB2xEem6mY7RdKYL1w"/>
...
          </oslc:CreationFactory>
        </oslc:creationFactory>

>> getting next:

<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:oslc="http://open-services.net/ns/core#"
    xmlns:oslc_config="http://open-services.net/ns/config#"
    xmlns:acc="http://open-services.net/ns/core/acc#"
    xmlns:process="http://jazz.net/ns/process#">
  <oslc_config:Component rdf:about="https://win2012:9443/rm/cm/component/_z_V-IB2xEem6mY7RdKYL1w">
    <acc:accessContext rdf:resource="https://win2012:9443/rm/acclist#_z7JaoB2xEem6mY7RdKYL1w"/>
    <oslc:serviceProvider rdf:resource="https://win2012:9443/rm/oslc_rm/_z7JaoB2xEem6mY7RdKYL1w/services.xml"/>
    <process:projectArea rdf:resource="https://win2012:9443/rm/process/project-areas/_z7JaoB2xEem6mY7RdKYL1w"/>
    <dcterms:description rdf:parseType="Literal"></dcterms:description>
    <oslc_config:configurations rdf:resource="https://win2012:9443/rm/cm/component/_z_V-IB2xEem6mY7RdKYL1w/configurations"/>
    <dcterms:title rdf:parseType="Literal">RM Baselines Sample Project</dcterms:title>
  </oslc_config:Component>
</rdf:RDF>

>> getting main stream and all baselines created for the testing project area:

<rdf:RDF
    xmlns:dcterms="http://purl.org/dc/terms/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:oslc="http://open-services.net/ns/core#"
    xmlns:oslc_config="http://open-services.net/ns/config#"
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
    xmlns:acc="http://open-services.net/ns/core/acc#">
  <rdf:Description rdf:about="https://win2012:9443/rm/cm/component/_z_V-IB2xEem6mY7RdKYL1w/configurations">
    <rdfs:member rdf:resource="https://win2012:9443/rm/cm/baseline/_vy1E8B2yEem6mY7RdKYL1w"/>
    <rdfs:member rdf:resource="https://win2012:9443/rm/cm/baseline/_d_gNQB2yEem6mY7RdKYL1w"/>
    <rdfs:member rdf:resource="https://win2012:9443/rm/cm/baseline/_SKgVMB2yEem6mY7RdKYL1w"/>
    <rdfs:member rdf:resource="https://win2012:9443/rm/cm/stream/_z_nD5h2xEem6mY7RdKYL1w"/>

  </rdf:Description>
</rdf:RDF>

May be it can be useful for somebody!
Thanks

0 votes

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,942
× 6,128
× 235
× 84
× 74
× 21

Question asked: Jan 21 '19, 3:42 p.m.

Question was seen: 3,043 times

Last updated: Jan 22 '19, 4:32 a.m.

Confirmation Cancel Confirm