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

Am I Using ServerAPI Best Practices?

 I am creating a server extension and I recently got into trouble by using Client API classes where I should have used Server API classes. I wanted to make sure I was on the right track. 

I was using .itemManager().fetchCompleteItem from ITeamRepository to convert a handle to an item.
I will be replacing it with .fetch from IRepositoryItemService

I was using ITeamBuildClient and ITeamBuildRecordClient to get and save build definitions and build engines.
I replacing these with ITeamBuildService

Am I on the right track?

0 votes


Accepted answer

Permanent link
Hi Andrew,

as discussed, yes "IRepositoryItemService" and "ITeamBuildService" will be services you need to be using for your server side programming for the operations you were trying to use "ITeamRepository", "ITeamBuildClient" and "ITeamBuildRecordClient".

Thanks,

Jorge.

Andrew Soloninka selected this answer as the correct answer

1 vote

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

Question asked: Mar 22 '13, 11:53 a.m.

Question was seen: 4,536 times

Last updated: Mar 22 '13, 2:56 p.m.

Confirmation Cancel Confirm