jtp:license string in JTS rootservices (Jazz OSLC API discovery)
Hello guys,
If request rootservices for JTS application (IBM Rational Jazz), I can find there a string:
<jtp:license rdf:resource="https://<server>:<port>/jts/process-authoring/license"/>
I suspect that it could be used somehow to access info about licensing by JTS OSLC API. But when I try to do GET request, I'm getting HTTP 404 error:
URI: https://<server>:<port>/jts/process-authoring/license
Headers: Accept=application/rdf+xml, OSLC-Core-Version=2.0
Response:
Response:
What do I do wrong? Is anyway to read and manipulate licensing capabilities by means of OSLC API somehow?
Thank you!
Accepted answer
Dmitry,
I am pretty sure that the rootservices document has many links that are not accessible. I have found plenty of services I was unable to access. I was not able to access the service either and I am not convinced you should be able to.
Also, just because something is in the rootservices document, does not mean it has anything to do with OSLC.
The license files are shipped with the product in the license folder and its sub folders.
Comments
One other answer
Hi Dmitry
It's not a REST API but you can automate using repotools commands to:
- Query users and license allocations to CSV: repotools-jts -exportUsers
- Create users/assign licenses from CSV: repotools-jts -importUsers
- Create a user/assign license: repotools-jts -createUser
- List licenses on the server to CSV: repotools-jts -listLicenses
The documentation for repotools commands is here: https://www.ibm.com/docs/en/elm/7.0.2?topic=reference-repository-tools-command-line
If you're using floating licenses then RLKS (now IBM Common Licensing) can report usage - see https://www.ibm.com/docs/en/common-licensing/9.0.0?topic=administering-license-usage-reports