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

API to GET information of all files checked in RTC Eclipse Client into a Stream, based on datetime.

 I am developing a RTC Connector where I need the information like file Content (lines of code, method names, etc. from code files), build version information, file Name, file Path,  Stream Name, List of Change Set Ids, check-in User name, last Modified / Creation datetime of the files, Repository workspace name, of all the files which the user checked in via the RTC Eclipse Client, based on some datetime range. (Lets say I want to get all the above mentioned information for the check-ins done from the 1st of this month)
Is there any REST api or any other form of API which I can use to GET all the above mentioned information from EWM v7.0.2 for a particular ccm Project?

0 votes



2 answers

Permanent link
I would suggest to look into the EWM SDK and the Plain Java Client Libraries. See https://rsjazz.wordpress.com/2021/04/23/the-rtc-extensions-workshop-has-been-updated-for-ewm-7-0-x/ as an entry point. Perform at least lab 1 of the Extensions Workshop to get a working development environment.

The blog hosting that link has more example code that you could check. More code can be found in the Jazz Community https://github.com/jazz-community . As an example https://github.com/jazz-community/ewm-scm-utils contains more examples for the SCM API. There are additional projects that might be useful e.g. https://github.com/jazz-community/work-item-command-line with a lot of example code around work items.

You will have to iterate the API to retrieve the information you mention above.

0 votes

Comments

Hi Ralph,
I have created a working EWM 7.0.2 development environment, and in the above mentioned link for ewm-scm-utils I cannot seem to find the ' SCMUtils.bat' file which is required to run it. Could you specify the directory where I may find it ?

Thanks.

Hi, The batch file is actually only needed if you deploy it. The batch file can be found in https://github.com/jazz-community/ewm-scm-utils/tree/master/com.ibm.js.team.scm.supporttools/scripts


If you import the project and build it locally in your development environment based on the server development workspace, you can also use the debug and run launches I ship. E.g. in the Java perspective click at the run button and explore the existing configurations to run or debug, rather than using the batch file.

The best way to import the data is to clone to a local repository. In Eclipse, open the GIT perspective, connect to the local repository. Then import the projects from the local repository.


Permanent link

 Rational Team Concert source control is a component-based version control system that is built on the Jazz platform. You can use Rational Team Concert .


-1 votes

Comments

And how does this contribute to the question? 

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,927

Question asked: Sep 13 '21, 1:01 a.m.

Question was seen: 1,872 times

Last updated: Dec 19 '21, 3:20 a.m.

Confirmation Cancel Confirm