Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Issues getting Lab 6 working

Hi,


In Lab 6, I have set up the Friends connection with RTC (using 4.0.0.1) .. and in the Add Association dialog, my provider shows - but the Artifact Containers list was empty. Looking at the ref returned from my bugzilla adapter:

<?xml version="1.0" encoding="UTF-8"?>

<!-- Jazz Root Services, see:
 -->
 


    xmlns:dcterms="http://purl.org/dc/terms/"


<dcterms:title>OSLC-CM Adapter/Bugzilla Jazz Root Services</dcterms:title>
<jfs:oauthRealmName>Bugzilla</jfs:oauthRealmName>
<jfs:oauthRequestConsumerKeyUrl rdf:resource="http://nkronqvist.no-ip.org:8080/OSLC4JBugzilla/services/oauth/requestKey" />
<jfs:oauthUserAuthorizationUrl rdf:resource="http://nkronqvist.no-ip.org:8080/OSLC4JBugzilla/services/oauth/authorize" />
</rdf:Description>


Noted the response (from rootservices_rdfxml.jsp) had cm 1.0 header, so updated to xmlns:oslc_cm="http://open-services.net/ns/cm#" .. then response in the Artifact Container was "No artifact container catalogs available in the selected app"

Checking http://nkronqvist.no-ip.org:8080/OSLC4JBugzilla/services/catalog/singleton in browser shows there are projects contained ("World Control") .. and If I try posting the "http://nkronqvist.no-ip.org:8080/OSLC4JBugzilla/services/catalog/singleton" with application/rdf+xlm I get a reasonable response (see below … no change to exercise code.)

Any tips what might be the issue?

Rgs,

/Nils K


<?xml version="1.0" encoding="UTF-8" ?>
 <rdf:RDF>
 <rdf:Description rdf:nodeID="A0">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/cm#" />
<oslc:prefix>oslc_cm</oslc:prefix>
 </rdf:Description>
<oslc:domain rdf:resource="http://open-services.net/ns/cm#" />
<dcterms:publisher rdf:nodeID="A1" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">OSLC Service Provider Catalog</dcterms:title>
<dcterms:description rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">OSLC Service Provider Catalog</dcterms:description>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A2">
<oslc:prefixBase rdf:resource="http://xmlns.com/foaf/0.1/" />
<oslc:prefix>foaf</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A3">
<oslc:prefixBase rdf:resource="http://www.bugzilla.org/rdf#" />
<oslc:prefix>bugz</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A4">
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Change Request Query Capability</dcterms:title>
<oslc:label>Change Request Catalog Query</oslc:label>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A5">
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Change Request Creation Factory</dcterms:title>
<oslc:label>Change Request Creation</oslc:label>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A6">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/qm#" />
<oslc:prefix>oslc_qm</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A1">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Project Lyo</dcterms:title>
<dcterms:identifier>org.eclipse.lyo.oslc4j.bugzilla</dcterms:identifier>
<rdf:type rdf:resource="http://open-services.net/ns/core#Publisher" />
 </rdf:Description>
 <rdf:Description rdf:nodeID="A7">
<oslc:prefixBase rdf:resource="http://purl.org/dc/terms/" />
<oslc:prefix>dcterms</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A8">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/core#" />
<oslc:prefix>oslc</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A9">
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Eclipse Lyo</dcterms:title>
<dcterms:identifier>urn:oslc:ServiceProvider</dcterms:identifier>
<rdf:type rdf:resource="http://open-services.net/ns/core#Publisher" />
 </rdf:Description>
 <rdf:Description rdf:nodeID="A10">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/servicemanagement/1.0/" />
<oslc:prefix>oslc_data</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A11">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/scm#" />
<oslc:prefix>oslc_scm</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A12">
<oslc:prefixBase rdf:resource="http://www.w3.org/2000/01/rdf-schema#" />
<oslc:prefix>rdfs</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A13">
<oslc:hintWidth>525px</oslc:hintWidth>
<oslc:hintHeight>325px</oslc:hintHeight>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Change Request Selection Dialog</dcterms:title>
<oslc:label>Change Request Selection Dialog</oslc:label>
<rdf:type rdf:resource="http://open-services.net/ns/core#Dialog" />
 </rdf:Description>
 <rdf:Description rdf:nodeID="A14">
<oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
<oslc:prefix>rdf</oslc:prefix>
 </rdf:Description>
<oslc:prefixDefinition rdf:nodeID="A7" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">WorldControl</dcterms:title>
<dcterms:publisher rdf:nodeID="A9" />
<oslc:prefixDefinition rdf:nodeID="A6" />
<oslc:prefixDefinition rdf:nodeID="A2" />
<oslc:prefixDefinition rdf:nodeID="A3" />
<dcterms:identifier>1</dcterms:identifier>
<dcterms:description rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Service provider for Bugzilla product: WorldControl</dcterms:description>
<oslc:prefixDefinition rdf:nodeID="A0" />
<oslc:prefixDefinition rdf:nodeID="A11" />
<oslc:prefixDefinition rdf:nodeID="A15" />
<dcterms:created>2012-11-27T20:41:35.149+01:00</dcterms:created>
<oslc:prefixDefinition rdf:nodeID="A12" />
<oslc:prefixDefinition rdf:nodeID="A14" />
<oslc:service rdf:nodeID="A16" />
<oslc:prefixDefinition rdf:nodeID="A10" />
<oslc:prefixDefinition rdf:nodeID="A8" />
 </rdf:Description>
 <rdf:Description rdf:nodeID="A15">
<oslc:prefixBase rdf:resource="http://open-services.net/ns/rm#" />
<oslc:prefix>oslc_rm</oslc:prefix>
 </rdf:Description>
 <rdf:Description rdf:nodeID="A17">
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>375px</oslc:hintHeight>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default" />
<oslc:resourceType rdf:resource="http://open-services.net/ns/cm#ChangeRequest" />
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">Change Request Creation Dialog</dcterms:title>
<oslc:label>Change Request Creation Dialog</oslc:label>
<rdf:type rdf:resource="http://open-services.net/ns/core#Dialog" />
 </rdf:Description>
 <rdf:Description rdf:nodeID="A16">
<oslc:selectionDialog rdf:nodeID="A13" />
<oslc:queryCapability rdf:nodeID="A4" />
<oslc:creationFactory rdf:nodeID="A5" />
<oslc:creationDialog rdf:nodeID="A17" />
<oslc:domain rdf:resource="http://open-services.net/ns/cm#" />
<rdf:type rdf:resource="http://open-services.net/ns/core#Service" />
 </rdf:Description>
 </rdf:RDF>



Back to the top