|
|
|
|
|
|
Re: DoorsOauthSample : ResourseNotFoundException OSLCC004 [message #1408702 is a reply to message #1408608] |
Fri, 15 August 2014 21:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Maeve OReilly![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=maevedevine%40yahoo.com) Messages: 13 Registered: October 2013 |
Junior Member |
|
|
Hi Matt,
the dateTime issue is a defect logged in DOORS. But there is no easy fix for that, we have no choice but to workaround around it in the lyo Sample. The ampersand issue is news to me though. And it would break stuff, I'd be surprised that isn't already known. I just tested creating a link from one app to a view in DOORS 9.6 called 'view & view' and it worked fine, a GET and PUT. I haven't tested with lyo, I might try to make time for that next week. Are you sure DOORS has the XML malformed?
But I do see your point re. the providers responsibilities and yes, that is the ideal. But I have yet to see an OSLC integration that just works with another tool with no changes. I'm not trying to knock them, they are better than the point-2-point ones. They free us from the hell of synchronizations getting out of sync and needing exact version matches. It is rare for upgrading to impact an OSLC based integration, so maintenance is dramatically easier. And maybe they are a bit easier to create in the first place and hopefully don't need major hacks to work with other providers, or maybe the provider can fix the issue. But no silver bullet...
Maeve
|
|
|
|
Re: DoorsOauthSample : ResourseNotFoundException OSLCC004 [message #1409259 is a reply to message #1408702] |
Sun, 17 August 2014 15:48 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Matt Stone![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=Matt%40sws-corp.com) Messages: 46 Registered: August 2014 |
Member |
|
|
Here's the XML for the view containing an ampersand...
It appears that dcterms:title and dcterms:description do not escape the ampersand but dcterms:label does.
<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:doors="http://jazz.net/doors/xmlns/prod/jazz/doors/2.0/">
<oslc:ServiceProvider rdf:about="http://localhost:1971/dwa/rm/discovery/service/urn:rational::1-53eaead14ded2c9c-M-00000020/view:00000005">
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefixBase rdf:resource="http://xmlns.com/foaf/0.1/"/>
<oslc:prefix>foaf</oslc:prefix>
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<dcterms:title rdf:parseType="Literal">Services for URD: Document, ID & Explorer</dcterms:title>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
<oslc:prefix>rdf</oslc:prefix>
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:service>
<oslc:Service>
<oslc:domain rdf:resource="http://open-services.net/ns/rm#"/>
<oslc:queryCapability>
<oslc:QueryCapability>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:queryBase rdf:resource="http://localhost:1971/dwa/rm/oslc/query/urn:rational::1-53eaead14ded2c9c-M-00000020/view:00000005"/>
<dcterms:title rdf:parseType="Literal">Query in URD: Document, ID & Explorer</dcterms:title>
<oslc:label>URD: Document, ID & Explorer</oslc:label>
<oslc:resourceShape rdf:resource="http://localhost:1971/dwa/rm/oslc/shape/requirement/urn:rational::1-53eaead14ded2c9c-M-00000020"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
</oslc:QueryCapability>
</oslc:queryCapability>
<oslc:selectionDialog>
<oslc:Dialog>
<dcterms:title rdf:parseType="Literal">Select requirement from URD: Document, ID & Explorer</dcterms:title>
<oslc:label>URD: Document, ID & Explorer</oslc:label>
<oslc:dialog rdf:resource="http://localhost:1971/dwa/rm/calm/v2/selectRequirement/urn:rational::1-53eaead14ded2c9c-M-00000020/view:00000005"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
</oslc:Dialog>
</oslc:selectionDialog>
<oslc:creationDialog>
<oslc:Dialog>
<dcterms:title rdf:parseType="Literal">Create requirement in URD: Document, ID & Explorer</dcterms:title>
<oslc:label>URD: Document, ID & Explorer</oslc:label>
<oslc:dialog rdf:resource="http://localhost:1971/dwa/rm/calm/v2/createRequirement/urn:rational::1-53eaead14ded2c9c-M-00000020/view:00000005"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
</oslc:Dialog>
</oslc:creationDialog>
<oslc:creationFactory>
<oslc:CreationFactory>
<dcterms:title rdf:parseType="Literal">Create requirement in URD: Document, ID & Explorer</dcterms:title>
<oslc:label>URD: Document, ID & Explorer</oslc:label>
<oslc:creation rdf:resource="http://localhost:1971/dwa/rm/rest/requirementFactory/urn:rational::1-53eaead14ded2c9c-M-00000020"/>
<oslc:hintWidth>600px</oslc:hintWidth>
<oslc:hintHeight>500px</oslc:hintHeight>
<oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
<oslc:resourceShape rdf:resource="http://localhost:1971/dwa/rm/oslc/shape/requirement/urn:rational::1-53eaead14ded2c9c-M-00000020"/>
<oslc:resourceType rdf:resource="http://open-services.net/ns/rm#Requirement"/>
</oslc:CreationFactory>
</oslc:creationFactory>
</oslc:Service>
</oslc:service>
<oslc:oauthConfiguration>
<oslc:OAuthConfiguration>
<oslc:oauthAccessTokenURI>http://localhost:1971/dwa/oauth-access-token</oslc:oauthAccessTokenURI>
<oslc:authorizationURI>http://localhost:1971/dwa/oauth-authorize-token</oslc:authorizationURI>
<oslc:oauthRequestTokenURI>http://localhost:1971/dwa/oauth-request-token</oslc:oauthRequestTokenURI>
</oslc:OAuthConfiguration>
</oslc:oauthConfiguration>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefixBase rdf:resource="http://purl.org/dc/terms/"/>
<oslc:prefix>dcterms</oslc:prefix>
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefixBase rdf:resource="http://open-services.net/ns/rm#"/>
<oslc:prefix>oslc_rm</oslc:prefix>
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
<oslc:details rdf:resource="http://localhost:1971/dwa"/>
<dcterms:description rdf:parseType="Literal">DOORS Web Access OSLC RM services for URD: Document, ID & Explorer</dcterms:description>
<dcterms:publisher>
<oslc:Publisher>
<dcterms:title rdf:parseType="Literal">IBM Rational DOORS Web Access</dcterms:title>
<oslc:label>IBM Rational DOORS Web Access</oslc:label>
<dcterms:identifier>http://localhost:1971/dwa</dcterms:identifier>
<oslc:icon rdf:resource="http://localhost:1971/dwa/images/RDOORS.gif"/>
</oslc:Publisher>
</dcterms:publisher>
<oslc:prefixDefinition>
<oslc:PrefixDefinition>
<oslc:prefixBase rdf:resource="http://open-services.net/ns/core#"/>
<oslc:prefix>oslc</oslc:prefix>
</oslc:PrefixDefinition>
</oslc:prefixDefinition>
</oslc:ServiceProvider>
</rdf:RDF>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03470 seconds