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

How to fetch Module Baseline Artifacts using OSLC in DOORS Next Generation 5.0.2?

 Hi,
    I want to fetch artifacts which belong to module baseline. I have the artifact URLs (Got using the 'Show Permalink for this Artifact...' menu.) 

Sample URL :

https://vinw2k12doors4192.eqvm.local:9443/rm/resources/_cf402e96d72048c0b907a33f93035416?moduleBaseline=https%3A%2F%2Fvinw2k12doors4192.eqvm.local%3A9443%2Frm%2Fbaselines%2F_G7uBVcjkEeWwjMkExxZskQ

I have tried the following code :

ClientResponse getResponse = client.getResource(<URL>, OslcMediaType.APPLICATION_RDF_XML);
Requirement req = getResponse.getEntity(Requirement.class);

This code always returns the current version of the artifact which is present in the module. It does not return the version of the artifact which is present in the module baseline. It ignores the  "?moduleBaseline=https%3A%2F%2Fvinw2k12doors4192.eqvm.local%3A9443%2Frm%2Fbaselines%2F_G7uBVcjkEeWwjMkExxZskQ"   URL query parameter.


How do I get the version of the artifact which is present in the module baseline?

Thanks in advance.



0 votes

Comments

I haven't been able to find any OSLC API to access the module baseline information either. The only way I can get the "versioned" information is access the baseline URL (following moduleBaseline=) itself - but the response is in a quite different format to the "usual" response of a module artifact.


Be the first one to answer this question!

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,952
× 139
× 25

Question asked: Feb 01 '16, 8:29 a.m.

Question was seen: 7,859 times

Last updated: Feb 01 '16, 7:56 p.m.

Confirmation Cancel Confirm