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
Ian Barnard (2.3k●7●14)
| answered May 04 '21, 4:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 04 '21, 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 '21, 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
Ralph Schoon (63.5k●3●36●46)
| answered May 03 '21, 7:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 03 '21, 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 '21, 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 |
Ralph Schoon (63.5k●3●36●46)
| answered May 03 '21, 8:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited May 03 '21, 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 I would suggest to open a case with support.
Tanupreet Jolly
commented May 03 '21, 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 '21, 4:56 a.m.
Ralph, query service is exposed for headers provided
⦁ Accept: application/rdf+xml
Thank you!
|
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.
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.
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