It's all about the answers!

Ask a question

Eclipse Lyo OSLC workshop : Need help with an Authentication problem With RQM


Ketan Mehta (433) | asked Mar 05 '15, 6:35 a.m.
 Hello,

I have Explored Eclipse Lyo OSLC workshop: Lab 1 to 6 for Bugzilla. Also I have explored and implemented Automation Provider which is already available on Eclipse Lyo. 
Now,I have to integrate this Automation Provider with RQM. (taken reference of Bugzilla)

In RQM, I've successfully added a friend to the outbound friends list.

When I go to a project area, click "Add Association" and select the friend from the list, I get the following error

Failed to read artifact container catalog resource: 
Unable to load URL: /qm/proxy?uri=http://{localhost:port}/OSLC4JAutomation/catalog/singleton, Status: 200.

As I observe in my Oauth implementation(referance from Eclipse Lyo OSLC workshop Lab 6) each time my  CredentialsFilter.java ->doFilter -> message.getToken() return null 

and second things is as I see RQM servicer provider looks like
 <oslc:serviceProvider>
            <oslc:ServiceProvider ns12:type="oslc:ServiceProvider" rdf:about="https://d-7450.abc.com:9443/qm/oslc_auto_test/contexts/_9OlvX7acEeSyi-sMyrj0iA/services.xml">
                <dcterms:title>XYZ</dcterms:title>
                <dcterms:description>test</dcterms:description>
                <oslc:details rdf:resource="https://d-7450.abc.com:9443/qm/process/project-areas/_9OlvX7acEeSyi-sMyrj0iA"/>
                <jproc:consumerRegistry rdf:resource="https://d-7450.abc.com:9443/qm/process/project-areas/_9OlvX7acEeSyi-sMyrj0iA/links"/>
            </oslc:ServiceProvider>
        </oslc:serviceProvider>
And My Automation Service Provider looks like 

<rdf:Description rdf:nodeID="A17">
    <oslc:usage rdf:resource="http://open-services.net/ns/core#default"/>
    <oslc:label>Service Provider Creation</oslc:label>
    <dcterms:title rdf:parseType="Literal">Service Provider Creation Factory</dcterms:title>
    <oslc:resourceShape rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/resourceShapes/serviceProvider"/>
    <oslc:creation rdf:resource="http://L-2738.abc.com:8080/OSLC4JAutomation/services/serviceProviders"/>
    <oslc:resourceType rdf:resource="http://open-services.net/ns/core#ServiceProvider"/>
    <rdf:type rdf:resource="http://open-services.net/ns/core#CreationFactory"/>
  </rdf:Description>
  
 Where did I go wrong ? How can I create Automation ServicerProviderCatalog,ServicerProviders,ServicerProvider and Service from scratch ?

One answer



permanent link
Subhajit Bhuiya (6222) | answered Mar 16 '15, 11:34 a.m.
JAZZ DEVELOPER
RQM can act as a consumer of OSLC Automation deployment providers, such as Rational Test Visualization Server (aka greenhat).   See http://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.rational.test.qm.doc/topics/c_rtvs_integrate.html?lang=en

RQM cannot act as a consumer of OSLC Automation test or build providers.
You can create test adapters using RQM OSLC API. Check https://jazz.net/wiki/bin/view/Main/RQMTestAutomationAdapterAPI
and lyo adapter sample -  http://wiki.eclipse.org/Lyo/BuildClient#RQMAutomationSample

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.