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:ServiceDescriptor xmlns:oslc_rm="http://open-services.net/xmlns/rm/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:about="https://pwdcsv-flex39q:9443/rm/oslc_rm/_E8Qo0BCbEeu4I8m9cR6Gxw/services.xml">
<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>
<oslc_rm:widget rdf:resource="https://pwdcsv-flex39q:9443/rm/pickers/com.ibm.rdm.web.CollectionPicker?projectURL=https%3A%2F%2Fpwdcsv-flex39q%3A9443%2Frm%2Frm-projects%2F_E8Qo0BCbEeu4I8m9cR6Gxw"/>
<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>
<oslc_rm:widget rdf:resource="https://pwdcsv-flex39q:9443/rm/pickers/com.ibm.rdm.web.RRCPicker?projectURL=https%3A%2F%2Fpwdcsv-flex39q%3A9443%2Frm%2Frm-projects%2F_E8Qo0BCbEeu4I8m9cR6Gxw"/>
<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>
Accepted answer
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.
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
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
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
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
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER May 03 '21, 4:16 a.m.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
May 03 '21, 6:30 a.m.Your comment is really offensive.
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