It's all about the answers!

Ask a question

When doing Associations in RQM we are getting error


Ketan Mehta (433) | asked Feb 11 '15, 3:33 a.m.
edited Feb 11 '15, 3:37 a.m.
Hello All,

I follow the https://jazz.net/help-dev/clm/index.jsp?re=1&topic=/com.ibm.help.common.jazz.calm.doc/topics/t_calm_link_projects.html&scope=null
same process as above 

When I association with automation Provider I got the error in RQM

 http://L-2738.abc.com:8080/OSLC4JRegistry/serviceProviders/2, Status code =500

Is below provider definition correct ?

<?xml version="1.0" encoding="UTF-8"?>
<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:rdfs="http://www.w3.org/2000/01/rdf-schema#" > 
  <rdf:Description rdf:nodeID="A0">
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoPlan"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Plan Creation</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Plan Creation Factory</dcterms:title>
    <oslc:creation rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoPlans"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationPlan"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#CreationFactory"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A1">
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoResult"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Result Creation</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Result Creation Factory</dcterms:title>
    <oslc:creation rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoResults"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationResult"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#CreationFactory"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A2">
    <oslc:prefixBase rdf:resource="http://purl.org/dc/terms/"/>
    <oslc:prefix>dcterms</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A3">
    <oslc:queryBase rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoResults"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Result Catalog Query</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Result Query Capability</dcterms:title>
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoResult"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationResult"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#QueryCapability"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A4">
    <oslc:queryBase rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoRequests"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Request Catalog Query</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Request Query Capability</dcterms:title>
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoRequest"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationRequest"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#QueryCapability"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A5">
    <dcterms:title rdf:parseType="Literal">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:about="http://L-2738.abc.com:8080/OSLC4JRegistry/serviceProviders/2">
    <oslc:prefixDefinition rdf:nodeID="A6"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#ServiceProvider"/>
    <oslc:prefixDefinition rdf:nodeID="A7"/>
    <oslc:prefixDefinition rdf:nodeID="A8"/>
    <dcterms:created rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2015-02-10T12:16:02.487Z</dcterms:created>
    <oslc:prefixDefinition rdf:nodeID="A9"/>
    <oslc:prefixDefinition rdf:nodeID="A2"/>
    <dcterms:title rdf:parseType="Literal">OSLC Lyo Automation Service Provider</dcterms:title>
    <dcterms:publisher rdf:nodeID="A5"/>
    <dcterms:description rdf:parseType="Literal">Reference Implementation OSLC Eclipse Lyo Automation Service Provider</dcterms:description>
    <oslc:prefixDefinition rdf:nodeID="A10"/>
    <oslc:details rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services"/>
    <oslc:service rdf:nodeID="A11"/>
    <dcterms:identifier>2</dcterms:identifier>
    <oslc:prefixDefinition rdf:nodeID="A12"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A13">
    <oslc:usage rdf:resource="http://open-services.net/ns/auto#list"/>
    <oslc:label>TAutomation Plan List Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Plan List Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JUI/generic/genericSelection.html?queryBase=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FautoPlans&amp;resourceShape=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FresourceShapes%2FautoPlan"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationPlan"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A9">
    <oslc:prefixBase rdf:resource="http://xmlns.com/foaf/0.1/"/>
    <oslc:prefix>foaf</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A7">
    <oslc:prefixBase rdf:resource="http://open-services.net/ns/servicemanagement/1.0/"/>
    <oslc:prefix>oslc_data</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A12">
    <oslc:prefixBase rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#"/>
    <oslc:prefix>rdf</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A6">
    <oslc:prefixBase rdf:resource="http://open-services.net/ns/auto#"/>
    <oslc:prefix>oslc_auto</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A8">
    <oslc:prefixBase rdf:resource="http://open-services.net/ns/core#"/>
    <oslc:prefix>oslc</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A14">
    <oslc:usage rdf:resource="http://open-services.net/ns/auto#list"/>
    <oslc:label>Automation Result List Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Result List Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JUI/generic/genericSelection.html?queryBase=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FautoResults&amp;resourceShape=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FresourceShapes%2FautoResult"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationResult"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A10">
    <oslc:prefixBase rdf:resource="http://www.w3.org/2000/01/rdf-schema#"/>
    <oslc:prefix>rdfs</oslc:prefix>
    <rdf:type rdf:resource="http://open-services.net/ns/core#PrefixDefinition"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A15">
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoRequest"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Request Creation</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Request Creation Factory</dcterms:title>
    <oslc:creation rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoRequests"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationRequest"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#CreationFactory"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A16">
    <oslc:queryBase rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoPlans"/>
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Plan Catalog Query</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Plan Query Capability</dcterms:title>
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/autoPlan"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationPlan"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#QueryCapability"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A17">
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Result Selection Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Result Selection Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoResults/selector"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationResult"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A18">
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Request Selection Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Request Selection Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoRequests/selector"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationRequest"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A19">
    <oslc:usage rdf:resource="http://open-services.net/ns/auto#list"/>
    <oslc:label>Automation Request List Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Request List Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JUI/generic/genericSelection.html?queryBase=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FautoRequests&amp;resourceShape=http%3A%2F%2FL-2738.abc.com%3A8080%2FOSLC4JAutomation%2Fservices%2FresourceShapes%2FautoRequest"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationRequest"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A20">
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Plan Selection Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Plan Selection Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoPlans/selector"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationPlan"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A11">
    <oslc:queryCapability rdf:nodeID="A3"/>
    <oslc:creationDialog rdf:nodeID="A21"/>
    <oslc:selectionDialog rdf:nodeID="A20"/>
    <oslc:creationFactory rdf:nodeID="A15"/>
    <oslc:queryCapability rdf:nodeID="A4"/>
    <oslc:selectionDialog rdf:nodeID="A14"/>
    <oslc:queryCapability rdf:nodeID="A16"/>
    <oslc:selectionDialog rdf:nodeID="A18"/>
    <oslc:creationFactory rdf:nodeID="A0"/>
    <oslc:selectionDialog rdf:nodeID="A19"/>
    <oslc:selectionDialog rdf:nodeID="A13"/>
    <oslc:domain rdf:resource="http://open-services.net/ns/auto#"/>
    <oslc:selectionDialog rdf:nodeID="A17"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Service"/>
    <oslc:creationFactory rdf:nodeID="A1"/>
  </rdf:Description>
  <rdf:Description rdf:nodeID="A21">
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Automation Request Creation Dialog</oslc:label>
    <dcterms:title rdf:parseType="Literal">Automation Request Creation Dialog</dcterms:title>
    <oslc:dialog rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/autoRequests/creator"/>
    <oslc:hintWidth>1000px</oslc:hintWidth>
    <oslc:hintHeight>600px</oslc:hintHeight>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/auto#AutomationRequest"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#Dialog"/>
  </rdf:Description>
</rdf:RDF>

2 answers



permanent link
Paul Slauenwhite (8.4k12) | answered Feb 13 '15, 6:47 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Please follow https://jazz.net/wiki/bin/view/Main/RQMTestAutomationAdapterAPI#Developing_an_Automation_adapter.

permanent link
Samuel Padgett (2172) | answered Mar 05 '15, 9:39 a.m.
JAZZ DEVELOPER
Hi, Ketan. For this specific error, I'd check the RQM logs to see if there is a stack trace. I think the forum software might have changed your RDF, so it's hard to say if it's valid.

Can you talk briefly about the scenario you are supporting? If you are writing a test adapter to RQM, it is an automation consumer rather than a provider (see Paul's link).

Hope this helps,
Sam

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.