Hi Jim,
Sorry for the delay. This week I started to test with Bugzilla Lyo Adapter, but I discovered that the way that Team Concert and the adapter return the service catalog providers list are different. Team Concert uses RDF Typed nodes to represent olsc Service Providers and Bugzilla adapter only uses this when I change the accept header to application/xml.
In Team Concert I do:
Http GET:
https://localhost:9443/jazz/oslc/workitems/catalog Headers:
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
This request returns, for example:
<rdf:RDF
...
<oslc:ServiceProviderCatalog rdf:about="https://localhost:9443/jazz/oslc/workitems/catalog">
<dcterms:title rdf:parseType="Literal">Project Areas</dcterms:title>
<oslc:serviceProvider>
<oslc:ServiceProvider rdf:about="https://localhost:9443/jazz/oslc/contexts/_QtRCAAoBEeWjCMPc0LkMOw/workitems/services.xml">
<dcterms:title rdf:parseType="Literal">My Project Area</dcterms:title>
And I use this response to navigate to the service provider that I want (oslc:ServiceProviderCatalog > oslc:serviceProvider > oslc:ServiceProvider).
But in Bugzilla Adapter I do request in the same way:
Http GET: http://localhost:8080/OSLC4JBugzilla/services/catalog/singleton
Headers: Accept: application/rdf+xml
OSLC-Core-Version: 2.0 And the response is like this:
<rdf:RDF
...
<rdf:Description rdf:about="http://localhost:8080/OSLC4JBugzilla/services/serviceProviders/21">
...
<dcterms:description rdf:parseType="Literal">Service provider for Bugzilla product: testing-funky-hyphens</dcterms:description>
<rdf:type rdf:resource="http://open-services.net/ns/core#ServiceProvider"/>
<oslc:prefixDefinition rdf:nodeID="A103"/>
<dcterms:title rdf:parseType="Literal">testing-funky-hyphens</dcterms:title>
...
</rdf:Description>
With this response, I need to navigate to all rdf:Description nodes that have rdf:type equals to
http://open-services.net/ns/core#ServiceProvider and then find the service provider that I want.
I'm finishing to adapt the _javascript_ client to handle these differences. I think that I finish these modifications today.
Regards,
Fernando.