It's all about the answers!

Ask a question

Is Query service exposed by DOORS NG OSLC server 6.0.6.1


Tanupreet Jolly (131) | asked May 03, 2:08 a.m.

 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>


Comments
Ralph Schoon commented May 03, 4:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


Tanupreet Jolly commented May 03, 6:30 a.m.

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
Ian Barnard (687612) | answered May 04, 4:24 a.m.
JAZZ DEVELOPER
edited May 04, 4:35 a.m.

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

Comments
Tanupreet Jolly commented May 04, 4:55 a.m.

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
Ralph Schoon (58.0k23642) | answered May 03, 7:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 03, 7:16 a.m.
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



Comments
Tanupreet Jolly commented May 03, 7:41 a.m.

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
Ralph Schoon (58.0k23642) | answered May 03, 8:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited May 03, 8:07 a.m.
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

Comments
Ralph Schoon commented May 03, 8:07 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I would suggest to open a case with support.


Tanupreet Jolly commented May 03, 9:01 a.m.

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


Tanupreet Jolly commented May 04, 4:56 a.m.

Ralph, query service is exposed for headers provided

⦁ Accept: application/rdf+xml

Thank you!

Your answer


Register or to post your answer.