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

how to obtain the oslc url of a DNG artifact

 I have 3 artifacts in a project, in DOORSNG version 6.0.5, under a folder. 

No modules in the project, yet I also have a collection which includes them.
Working with the OSLC API, I am going from the rm/rootservices, to the rm/oslc_rm/catalog, but I cannot find where next to inquire for these artifacts.
Thanks.

Here is the services RDF I got. Sorry it is not quoted
So - no special headers specified. The results were saved to a file for further work.

<oslc_rm:links>
<oslc_rm:LinkCreationServices>
<oslc_rm:validatedByLinkFactory rdf:resource="https://shani.net:9443/rm/links/oslc/validatedByLinks"/>
<oslc_rm:implementedByLinkFactory rdf:resource="https://shani.net: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: OSLC with OPCloud (Requirements)</dc:description>
<dc:title xmlns:dc="http://purl.org/dc/terms/">OSLC with OPCloud (Requirements)</dc:title>
</oslc_rm:ServiceDescriptor>

0 votes



3 answers

Permanent link

Look for service providers -> services -> queryCapabilities.
See https://docs.oasis-open-projects.org/oslc-op/core/v3.0/os/discovery.html for details.

0 votes

Comments

I indeed tried that sequence. I obtained the services report by following rootservices -> catalog -> services, but there is no query capability in there.

I have several artifacts, some are collected into a collection, and two of them are also in one module.

The widgets in the services RDF data indeed work, but these are not the OSLC URLs that I need.

I will post my services RDF to this topic.



Permanent link

 Hi


See my answer here for a detailed example of discovering configurations and components, including query capabilities https://jazz.net/forum/questions/266334/dng-oslcfetch-components-from-project-area/266667 - that was for 6.0.6.1

DOORS Next 7.0.2 now has four project-specific query capabilities, older versions don't have reqif and view queries:
If you simply use the relevant query base URL, with the configuration, you'll get results for all the resources - be wary that this query is an expensive operation so you should try to make it more focussed to minimise the server load.

HTH
Ian

0 votes

Comments

Hi Ian, 

I saw a youtube made by Ian back in 2015... Is that you? anyway, the Ian in that demo used to work with me on an EU7 project back than. I indeed wonder if that is you. 

Nope. 

Thanks Ian. I looked up the detailed answer you referred me to and it will take me some time to follow up. AFAI see, my responses still do not provide a query capability yet. But I will keep trying before giving up. 


Permanent link

 

0 votes

Comments

Please don't add an answer when what you should do is edit your original question. Looks to me like you're not correctly applying the OSLC-Core-Version header - see the answer I linked to. And if you want to show some XML also show the http operation, the URL path you got it from and the headers applied on your request. But add this to your question, i.e. not here.

need to clear comments on this answer so I can delete it... 

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
× 12,019

Question asked: Nov 27 '21, 10:39 a.m.

Question was seen: 1,701 times

Last updated: Nov 29 '21, 12:25 p.m.

Confirmation Cancel Confirm