Hi Marcus,
if you are not seeing a URL to get, double check the dbadmin -dwaHost/dwaProtocol/dwaPort settings when you configured DWA.
This is what a RDF looks like for me, but I don't know how to query for that foaf stuff seen for creator. I assume you need some extra clauses.
Maeve
<?xml version="1.0"?>
<rdf:RDF
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:doorsAttribute="http://jazz.net/ns/rm/doors/attribute#"
xmlns:rm="http://jazz.net/ns/rm#"
xmlns:rm_property="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/urn:rational::1-51929a740f221131-M-0000002a/types/"
xmlns:acp="http://jazz.net/ns/acp#"
xmlns:oslc="http://open-services.net/ns/core#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:oslc_rm="http://open-services.net/ns/rm#">
<oslc_rm:Requirement rdf:about="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/urn:rational::1-51929a740f221131-O-21-0000002a">
<dcterms:contributor>
<foaf:Person>
<foaf:name>Administrator</foaf:name>
</foaf:Person>
</dcterms:contributor>
<oslc_rm:implementedBy rdf:resource="http://google.com"/>
<doorsAttribute:modifiedBy rdf:parseType="Literal">Administrator</doorsAttribute:modifiedBy>
<doorsAttribute:createdBy rdf:parseType="Literal">Administrator</doorsAttribute:createdBy>
<doorsAttribute:createdOn rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2013-10-14</doorsAttribute:createdOn>
<rm:primaryText rdf:parseType="Literal">My Eclipse Lyo CREATED Primary Text</rm:primaryText>
<doorsAttribute:absoluteNumber rdf:datatype="http://www.w3.org/2001/XMLSchema#integer"
>21</doorsAttribute:absoluteNumber>
<dcterms:modified rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2013-10-14T14:22:46Z</dcterms:modified>
<dcterms:title rdf:parseType="Literal">21: My Eclipse Lyo CREATED Primary Text</dcterms:title>
<dcterms:creator>
<foaf:Person>
<foaf:name>Administrator</foaf:name>
</foaf:Person>
</dcterms:creator>
<doorsAttribute:objectShortText rdf:parseType="Literal"></doorsAttribute:objectShortText>
<rm_property:attrDef-8 rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2013-10-14T14:22:46Z</rm_property:attrDef-8>
<oslc:serviceProvider rdf:resource="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/discovery/service/urn:rational::1-51929a740f221131-M-0000002a"/>
<doorsAttribute:objectHeading rdf:parseType="Literal"></doorsAttribute:objectHeading>
<oslc:shortTitle rdf:parseType="Literal">21: My Eclipse Lyo CREATED Primary Text</oslc:shortTitle>
<doorsAttribute:modifiedOn rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2013-10-14</doorsAttribute:modifiedOn>
<oslc:instanceShape rdf:resource="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/oslc/shape/requirement/urn:rational::1-51929a740f221131-M-0000002a"/>
<doorsAttribute:createdThru rdf:resource="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/urn:rational::1-51929a740f221131-M-0000002a/types/attrDef-10#1"/>
<dcterms:description rdf:parseType="Literal"></dcterms:description>
<dcterms:identifier rdf:datatype="http://www.w3.org/2001/XMLSchema#string"
>21</dcterms:identifier>
<dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime"
>2013-10-14</dcterms:created>
<acp:accessControl rdf:resource="https://sse-doors.rcsnl.ams.nl.ibm.com:8443/dwa/rm/acp/urn:rational::1-51929a740f221131-F-00000000/gFgcK1req0%252BQ5gE6yE5YsEZZcDI%253D%250A"/>
</oslc_rm:Requirement>
</rdf:RDF>
Hi Clyde,
thanks for the clue, but unfortunately I can't find any attribute that indicates a URL. How is the attribute usually called?
I have a set of "custom" properties and some "system" properties that are "absolute number", "created by", "created on", "last modified by" and "last modified on". In the set of the custom properties there is one called "requirements reference" but this a no value in case of all requirements.
Best,
Marcus
Gesendet: Mittwoch, 22. Januar 2014 um 16:57 Uhr
Von: "Clyde D Icuspit" <cdicuspi@xxxxxxxxxx>
An: "Lyo project developer discussions" <lyo-dev@xxxxxxxxxxx>
Cc: lyo-dev-bounces@xxxxxxxxxxx
Betreff: Re: [lyo-dev] Lyo OSLC Client for Rational DOORS
Hi Marcus,
In the DWA GUI, lower right-hand corner under Attributes, the URL property value is usually displayed. You can copy the URL of the selected requirement from there and temporarily hard-code it in a GET request to get the RDF representation of that requirement.
Sincerely, |
|
Clyde Icuspit |
|
____________________________________________________________ |
|
|
_______________________________________________ lyo-dev mailing list lyo-dev@xxxxxxxxxxx