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

OSLC REST call to create the baseline for a given stream of an project area in Global Configuration.

 Hi Team,


I want to know the OSLC REST call to create the baselines in GC for a given stream of Project Area.
Is there any documents related to create, read,modify the GC streams, components, baseline, staging baseline REST CALL's.

It will be helpful. Please do the needful help

Thank you, 

0 votes


Accepted answer

Permanent link

Hi Keerti,

If your question is how to create a global baseline from a global stream via a REST call, then the answer is that, in 6.0.3 and earlier, there is no support for this via a public API. In GCM 6.0.4, there is now a public REST API that is documented under gcContextRoot/doc/scenarios. This includes OSLC compliant services that are documented in the OSLC Core specification, and the OSLC Configuration Management specification.  It also includes GCM-specific non-OSLC services, and this includes creating a global baseline from a global stream. The public documentation includes examples of discovery and service usage.

Best regards,
David

Keerti Kolar selected this answer as the correct answer

1 vote


One other answer

Permanent link

The basic documentation is in the OSLC Configuration Management specification (part 3).


For example, given an RTC stream:
...

The oslc_config:baselines property is a container showing all of the baselines associated with the stream. A POST is done to that container to create a new baseline (i.e. RTC Snapshot). The data for the POST is the RDF specifying any attributes to be explicitly set:
@prefix dcterms: <http://purl.org/dc/terms/> .<>
        dcterms:description           "This is my snapshot" ;
        dcterms:title                 "Snapshot 170706-001" .


I don't know about GC specific stuff like the staging areas, etc.

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,936
× 7,495

Question asked: Jul 05 '17, 11:48 p.m.

Question was seen: 2,700 times

Last updated: Jul 07 '17, 5:35 a.m.

Confirmation Cancel Confirm