Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is Query service exposed by DOORS NG OSLC server 6.0.6.1

 Is Query service exposed by DOORS NG OSLC server 6.0.6.1. Please find OSLC response where query service is missing


<?xml version="1.0" encoding="UTF-8"?>
    <oslc_rm:links>
      <oslc_rm:LinkCreationServices>
        <oslc_rm:validatedByLinkFactory rdf:resource="https://pwdcsv-flex39q:9443/rm/links/oslc/validatedByLinks"/>
        <oslc_rm:implementedByLinkFactory rdf:resource="https://pwdcsv-flex39q:9443/rm/links/oslc/implementedByLinks"/>
      </oslc_rm:LinkCreationServices>
    </oslc_rm:links>
    <oslc_rm:collections>
      <oslc_rm:CollectionSelectionDialog>
        <oslc_rm:heightHint>550px</oslc_rm:heightHint>
        <oslc_rm:widthHint>800px</oslc_rm:widthHint>
        <dc:title xmlns:dc="http://purl.org/dc/terms/">Collection Selection</dc:title>
      </oslc_rm:CollectionSelectionDialog>
    </oslc_rm:collections>
    <oslc_rm:requirements>
      <oslc_rm:SelectionDialog>
        <oslc_rm:heightHint>550px</oslc_rm:heightHint>
        <oslc_rm:widthHint>800px</oslc_rm:widthHint>
        <dc:title xmlns:dc="http://purl.org/dc/terms/">Requirement Selection</dc:title>
      </oslc_rm:SelectionDialog>
    </oslc_rm:requirements>
    <dc:description xmlns:dc="http://purl.org/dc/terms/">Service Descriptor for Project: test (Requirements)</dc:description>
    <dc:title xmlns:dc="http://purl.org/dc/terms/">test (Requirements)</dc:title>
  </oslc_rm:ServiceDescriptor>

0 votes

Comments

I wonder what you expect from the community with such a bad question? The question is not really a question and not asking anything, the RDF pasted here is also more confusing then helpful.

Your comment is really offensive. 

First we get the list of Projects by calling the oslc_rm/catalog ,provides a list of project area titles and URI’s. We then get to the Service Provider section gives us list of services exposed  hoslc_rm/_2uUr4IKHEeuw0qVGPwlIAA/services.xml

Attached RDF is where in we only get Selection Dialog service and query service is missing.

So the question, the "Bad question" on the forum is to understand if Query service is exposed by IBM DOORS NG


Accepted answer

Permanent link

Yes DOORS Next 6.0.6.1 does provide OSLC query service(s) OOTB i.e. without any server configuration needed


You'll need to have the following header on all HTTP operations:

⦁ OSLC-Core-Version:2.0
⦁ Accept: application/rdf+xml

In particular without the OSLC-Core-Version header you will see limited RDF content, so that's the first thing to check.

Maybe 7.0.2 doesn't need this header (I always use it), but 6.0.6.1 certainly does.

For an example of 6.0.6.1 discovery which shows query capability see https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area - these same steps work back to maybe 6.0.2, to the present on 7.0.2.

FYI It's not unknown for DOORS Next to treat header names and values case-sensitively, so ensure the case is as shown.

Tanupreet Jolly selected this answer as the correct answer

0 votes

Comments

Thanks Ian. I used  OSLC-Core-Version:2.0⦁ Accept: application/rdf+xml

and selected service provider is exposing Query service


2 other answers

Permanent link
I can find the query service in the service provider document for the project area - https://elm.example.com:9443/rm/oslc_rm/_71dE0FpmEeuIQuHbrNptJw/services.xml .
I can find it in the Factories and there is a oslc:queryBase and a oslc:queryCapability. My version is 7.0.2, but this should be the same in 6.x


0 votes

Comments

Thanks Ralph. We have verified DOORS NG support for Query service against 7.0.1 but unable to do so for 6.0.6.1. We wanted to check if there is a support matrix that can confirm if this version is supported with Query service and if it does, then if there is a system configurations that need to be in place 


Permanent link
I also get the data in 6.0.6.1.

Headers:
Accept: application/rdf+xml
Content-Type: application/rdf+xml
OSLC-Core-Version: 2.0

0 votes

Comments

I would suggest to open a case with support.

Thanks, will do so.. Thank you.. Just to verify, no configuration are required at the server end?

Ralph, query service is exposed for headers provided

⦁ Accept: application/rdf+xml

Thank you!

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,122

Question asked: May 03 '21, 2:08 a.m.

Question was seen: 1,088 times

Last updated: May 04 '21, 4:56 a.m.

Related questions
Confirmation Cancel Confirm