try to use WorkItemAPIs For OSLCCM20 but can not find :/jazz, how to fix it?
Hi All,
My RTC version is 6.0.2 M2.
I tried to access https://<server>:<port>/jazz/rootservices, but I got response as "Context Root Not Found"
Then I tried https://<server>:<port>/jts/rootservices and https://<server>:<port>/ccm/rootservices, both can trigger downloading a file.
And I opened the files downloaded, I search for "
ServiceProviderCatalog
" as mentioned as the following instruction for WorkItemAPIs For OSLCCM20 , but I did not find it.
And I have checked https://<server>:<port>/jts/admin, under Application Administration, I did not find any item related to /jazz there.
So I am wondering whether I need to install something or enable something to make /jazz folder accessible?
Thanks!
how to use Work item service provider
https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20
-
The root document is exposed at
https://<server>:<port>/<app>/rootservices
. In a typical RTC testbed, this ishttps://localhost:9443/jazz/rootservices
-
Fetch this document and extract the Change Management Catalog URL (pointed to by
rdf:about
) of the elementoslc:ServiceProviderCatalog
in<jd:oslcCatalogs> <oslc:ServiceProviderCatalog rdf:about="https://localhost:9443/jazz/oslc/workitems/catalog"> <oslc:domain rdf:resource="http://open-services.net/ns/cm#"/> </oslc:ServiceProviderCatalog> </jd:oslcCatalogs>
Best Regards,
Jane
One answer
Jane,
I believe the default context root changed from /jazz to /ccm in 3.x.
For users using 2.x or newer versions that were upgrades from 2.x, the context root will be/jazz.
For new installations of 3.x or higher, the default should be /ccm
For reference on finding the ServiceProviderCatalog, have a look at jazz.net
(note that jazz.net still has the /jazz context root):
https://jazz.net/jazz/rootservices
In the rootservices, you should see a section:
<jd:oslcCatalogs>
<oslc:ServiceProviderCatalog rdf:about="https://jazz.net/jazz/oslc/workitems/catalog">
<oslc:domain rdf:resource="http://open-services.net/ns/cm#"/>
</oslc:ServiceProviderCatalog>
</jd:oslcCatalogs>
I believe this is the section you're looking for on your server.
Shawn
I believe the default context root changed from /jazz to /ccm in 3.x.
For users using 2.x or newer versions that were upgrades from 2.x, the context root will be/jazz.
For new installations of 3.x or higher, the default should be /ccm
For reference on finding the ServiceProviderCatalog, have a look at jazz.net
(note that jazz.net still has the /jazz context root):
https://jazz.net/jazz/rootservices
In the rootservices, you should see a section:
<jd:oslcCatalogs>
<oslc:ServiceProviderCatalog rdf:about="https://jazz.net/jazz/oslc/workitems/catalog">
<oslc:domain rdf:resource="http://open-services.net/ns/cm#"/>
</oslc:ServiceProviderCatalog>
</jd:oslcCatalogs>
I believe this is the section you're looking for on your server.
Shawn