Create LPA projects via API... anyone have a reasonable java httpclient that handles jazz authentication? help
One answer
I didnt understand what you mean by "SampleHttpClient isn't present".
All the codes that you need is in that page, I developped the LPA client and also integrated with HP PPM. I assigns roles to users also.
I believe you should just let Jazz do the licensing during nightly user import. There's a OOTB licensing option if you go to jts/admin#action=com.ibm.team.repository.admin.manageLicenses
If you add report resources to your project template, you dont have to worrry about them. They will be present when the project is created.
Your case is so special if you'd like to do all those stuff programmatically. You'll need to use RTC SDK,REST Services,may be Eclipse Lyo and other stuff...
Comments
>I didnt understand what you mean by "SampleHttpClient isn't present".
from the linked page
>The only code that has been ommitted is the bootstrapping of the HTTP client that is used to make requests to the LPA server and answer an authentication challenge
that is the SampleHttpClient class used in the 1st line of code onward.
HttpClient httpClient = SampleHttpClient.newInstance();the customer didn't use the nightly import, too many employees
and they didn't have a data process model that would support filtering only those to import.
report resources are not inherited on shared project template models like this customer is using.
(create project with unconfigured template then use process from another project).
We were able to take the sample code, create an http client (as suggested)
and add the other code so that the customer has a tool to use.