Query to fetch Requirements Collections (Modules, Collections) from a given configuration (Stream) in DoorsNG
What is the correct query to retrieve the Requirements Collections and then Requirements from them (DoorsNG)? This is the query I'm using:
Query Params:
I always seem to get a Query Result but the results are empty. Many thanks.
Regards,
Razvan Lapadat.
|
2 answers
Ian Barnard (2.0k●6●13)
| answered Nov 09 '23, 5:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Nov 09 '23, 5:37 a.m. 1) oslc.config isn't correct - use oslc_config.context
2) the syntax of your oslc.where isn't correct. you need a comparison like nav:parent=<parent_folderURI>
Your oslc.where is asking for resources that are in a specific folder, i.e. it will return artifacts as well if there are any in that folder, not just collections.
To get only collections and modules in a specific folder use (with the value url encoded):
and add ,jazz_rm=<http://jazz.net/ns/rm#> (url encoded) to oslc.prefix
You must always (in general) URL encode the values for oslc.select, oslc.where, oslc_config.context just as you have done for oslc.prefix
|
Thanks for the answer. For some reason, using oslc_config.context raises some 400 error, but using vvc.configuration works. Is there any difference between "oslc_config.context" and "vvc.configuration"? From what I see vvc.configuration is used only for LC, but oslc_config.context can be used for both LCs and GC.
GC app is unavailable so we should not be attempting to resolve LCs against GC Application URIs.
But I'm pretty sure I've passed a LC URI.
|
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.