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

Migrating from RTC 1.0 APIs to RTC 2.0 APIs

I have a question regarding moving from the old "Jazz Platform" APIs found in RTC 1.0 to the new RTC 2.0 REST-style APIs.

So, in the Hello Jazz component (https://jazz.net/learn/LearnItem.jsp?href=content/docs/hello-jazz/index.html), the extension points com.ibm.team.repository.service.serviceProvider and com.ibm.team.repository.common.components are extended for the service, and com.ibm.team.repository.client.clientLibraryFactory is extended for the client. My question then is, are these extension points still valid with RTC 2.0? Or do I need to make some changes, e.g. extend com.ibm.team.jfs.app.restServices instead for the service.

I guess the reason why I'm asking this is because there doesn't seem to be any tutorials where an Eclipse client interacts with a service that uses the REST-style APIs in RTC 2.0, so I was just a bit confused about this.

I'm also aware that RTC 2.0 supports the old RTC 1.0 APIs for the time being, but I'd like to migrate my component over to make use of the new APIs now.

0 votes



2 answers

Permanent link
There are not REST API equivalents for all that is available in RTC.
What functionality are you trying to take advantage of?

JohnC
SCM Server

justinko wrote:
I have a question regarding moving from the old "Jazz
Platform" APIs found in RTC 1.0 to the new RTC 2.0 REST-style
APIs.

So, in the Hello Jazz component
(https://jazz.net/learn/LearnItem.jsp?href=content/docs/hello-jazz/index.html),
the extension points
com.ibm.team.repository.service.serviceProvider
and
com.ibm.team.repository.common.components
are extended for the service, and
com.ibm.team.repository.client.clientLibraryFactory
is extended for the client. My question then is, are these extension
points still valid with RTC 2.0? Or do I need to make some changes,
e.g. extend
com.ibm.team.jfs.app.restServices
instead for the service.

I guess the reason why I'm asking this is because there doesn't seem
to be any tutorials where an Eclipse client interacts with a service
that uses the REST-style APIs in RTC 2.0, so I was just a bit
confused about this.

I'm also aware that RTC 2.0 supports the old RTC 1.0 APIs for the time
being, but I'd like to migrate my component over to make use of the
new APIs now.

0 votes


Permanent link
There are not REST API equivalents for all that is available in RTC.
What functionality are you trying to take advantage of?

JohnC
SCM Server


Essentially, I'm trying to migrate a component over from RTC 1.0 to RTC 2.0. This component, like the Hello Jazz example I linked, talks solely to Eclipse clients. Like you said, there isn't a REST API equivalent for everything in RTC, and so it seems I don't have to migrate much. I just wanted to make sure that I could still declare those extensions and that they weren't replaced by some new REST API.

This does lead me to another question I had. If I want to set up a REST service to communicate with an Eclipse client, I'm assuming that since there is no REST API equivalent for this, I'll have to follow the steps outlined in the Hello Jazz example, i.e. extend the serviceProvider extension point and specify a service interface, which is then used by the client within a clientLibraryFactory class?

Thanks for the help.

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

Question asked: Apr 14 '09, 10:14 a.m.

Question was seen: 4,689 times

Last updated: Apr 14 '09, 10:14 a.m.

Confirmation Cancel Confirm