Using the SDK
I would like to programmatically update the User profile. After downloading the SDK for version 3.0.1 I couldn't find any documentation on how to connect and use the SDK outside of eclipse.
The first question is: Can you update the user information with an API (SDK or REST/SOAP)? If so, what's the mechanism? Thanks. |
13 answers
Yes, that is there for some time now, it addresses some use cases. I wasn't sure about yours. Looks like this feature will do the work for the default license type configuration Sam Sam, unfortunately, the com.ibm.team.repository.common.IContributor methods to create a new user account don't pick up the Default license type as set in the JTS license administrator, so this assignment will need to made another way. |
Ralph Schoon (63.1k●3●36●46)
| answered May 24 '12, 9:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
In addition this overview on extending: https://jazz.net/library/article/784
and this workshop https://jazz.net/library/content/articles/rtc/3.0.1/extensions-workshop/ should get you started. The workshop works best for me, setting up the environment. |
Hi All, see https://jazz.net/wiki/bin/view/Main/RTCSDK20_DevelopmentEnvironmentSetup |
Hi All,
As i am newbee to RTC. I want to modify the RTC code for one instance. But i am not aware of what is RTC server instance and how it is linked to project area. How to apply these chages made by features and plugin jar files to server. please share knowldge on this. Thanks, Kavita |
Yes, that is there for some time now, it addresses some use cases. I wasn't sure about yours. Looks like this feature will do the work for the default license type configuration Sam |
Ralph Schoon (63.1k●3●36●46)
| answered May 23 '12, 10:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, that is there for some time now, it addresses some use cases. I wasn't sure about yours.
|
thx.. it might be simpler also.. it seems the JTS has support for a 'default' license type for new user creates/imports..
(last item in the Jts Admin, License Admin page Sam |
Ralph Schoon (63.1k●3●36●46)
| answered May 23 '12, 9:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you SHIFT-ALT-F1 (Plugin Spy) on the contributor editor in an Eclipse that has the SDK deployed, you can look at the code. In package com.ibm.team.process.internal.ide.ui.editors.contributor.ContributorEditor you will find
Not sure that is available in the Plain Java Client Libraries, but you could try. I have not tried this myself. I was just spying so to speak. |
the ILicenseClient and ILicenseService classes allow you to CHECK the contributor license type.. but not SET it..
I work with Don.. We are trying to automate user addition to RTC from our HR feed/ldap system. and assign a Stakeholder license. so, if there is some other way to help with this we're all ears Sam |
Ralph Schoon (63.1k●3●36●46)
| answered May 23 '12, 2:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The SDK contains ILicenseService.class and the Plain Java Client Library has ILicenseClient.class. The SDK also contains some unit tests around it. The ILicenseClient.class is doumented in the Plain Java Client Library Javadoc. I would assume that you can manage licenses with the client libraries, especially since the Eclipse Client allows to do it.
The rest service is internal and I would avoid trying to use it. |
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.