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

How to get Baseline base via API?

 Hi there,

Given the following history of a RTC Component:

Initial Baseline of Component 1
Changeset 1 - some changes to component configuration
Baseline 1 of Component 1
Changeset 2 - other changes to compoment configuration
Baseline 2 of Component 1

Getting the  (actual) configuration from a Stream containing Baseline2 of Comopnent 1 I can programatically fetch via the following statement: Collection<? extends ICurrentComponentInfo> componentsInfo = streamConn.getComponentsInfo().

What I could not find is the API calls which tells me that Baseline2 contains Baseline1 (+changeset), which contains the Initial Baseline.

Thank you in advance.

0 votes



2 answers

Permanent link
I think there is no such possibility. But you can use comparison of baselines on component, which results difference of changes from Baseline1 to Other Baseline 2.

Thanks and Regards,
Vijay Reddy.

0 votes


Permanent link
You can create an IBaselineConnection from baseline2, then do a compareTo(baseline1) and looking for incoming/outgoing changes. 

0 votes

Comments

I believe he was asking how to get "baseline1", if he has a pointer to the current configuration of the stream.   I assume he is asking for what API calls he would make to navigate back in the change history until he finds a change history record that is another baseline.

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,944
× 411
× 17

Question asked: Mar 18 '15, 5:13 a.m.

Question was seen: 5,337 times

Last updated: Mar 18 '15, 9:18 p.m.

Confirmation Cancel Confirm