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

RTC 3.0 SCM via REST APIs

Hello,
I have 2 questions I'd like to ask:
1) I need to get access to components/streams/files in RTC 3.0. I can do this via Java APIs without problems but I'm not too sure how to do that via the REST APIs. I'm using an HTTP client to connect to JTS via OAuth.
2) On the other hand, if I want to use a mix of REST APIs and Java APIs how can I get an ITeamRepository object without asking the user to log once more by invoking the following?
TeamPlatform.getTeamRepositoryService().getTeamRepository(REPOSITORY_ADDRESS)
Can I get a ITeamRepository object handle once I'm connected to JFS via a Java httpclient?
Thank you in advance for your help.

0 votes



2 answers

Permanent link
Hi,

I'm also interested in an answer for question one...because on many platforms (Android Phone, App Severn etc.) you can not use/upload the RTC Java Libs/Jar ==> OSLC is mandatory!

BTW, can you share your code (OAuth with HttpClient)?

Thanks in advance

Stef

0 votes


Permanent link
For oauth you may have a look at com.ibm.team.jfs.app.oauth.client.OAuthConsumerClientHelper

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

Question asked: Aug 03 '10, 9:37 p.m.

Question was seen: 5,820 times

Last updated: Aug 03 '10, 9:37 p.m.

Related questions
Confirmation Cancel Confirm