It's all about the answers!

Ask a question

Using SDK instead of OSLC or Plain Java


Amaury Quintero (901017) | asked Aug 17 '11, 4:59 a.m.
Hello
We are trying to use the SDK instead of using OSLC or Plain Java calls, to define some logic inside the RTC server and provide this as a Jazz REST service then I was looking for examples of code (snippets) for the following Use Cases but without success:
-Creating Users
-Assign license to users
-Creating Project Areas
-Assigning process template (process definition) and initializing the project area
-Creating Team Areas
-Assign users to Team Areas and/or Project Areas
-Assign Roles to users inside Project Areas or Team Areas
-The best way to access external database from Jazz

Thanks a lot

amaury

One answer



permanent link
Ralph Schoon (57.1k23642) | answered Aug 18 '11, 4:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hello
We are trying to use the SDK instead of using OSLC or Plain Java calls, to define some logic inside the RTC server and provide this as a Jazz REST service then I was looking for examples of code (snippets) for the following Use Cases but without success:
-Creating Users
-Assign license to users
-Creating Project Areas
-Assigning process template (process definition) and initializing the project area
-Creating Team Areas
-Assign users to Team Areas and/or Project Areas
-Assign Roles to users inside Project Areas or Team Areas
-The best way to access external database from Jazz

Thanks a lot

amaury


As discussed the Plain Java API is just a different packaging of the SDK so all examples apply.

One small difference is that instead of using ITeamRepository.getClientLibrary() you might have to use a different call to get the services.

The SDK includes uint test cases that you can browse and these should contain answers to most of your questions.

Snippet 3.java in the plain java Client Libraries shows how to create a project.

Your answer


Register or to post your answer.