Fetch all artifacts from DNG Baseline in GC Context using OSLC
Hello All,
Do we have OSLC support to fetch all artifacts from a baseline on DNG in GC context? If yes, please do help.
Thanks
|
3 answers
Yes, the OSLC REST API for DNG allows to filter by a given configuration (like a baseline or stream) with the
For more information and examples, please refer to this wiki
I added a baseline to a gc and was able to query the resources with a request like this
|
i tried the format on rest client with below headers, but no luck. PFA error message.
Headers:
OSLC-Core-Version : 2.0
Accept : application/xml
Error:
|
I tried the url in a web browser and got the xml.
Is the baseline contributing to the gc? You can also pass the gc url in the oslc_config.context like this
but i believe it will return also items from other configurations contributing to the gc and you would have to filter the information you want from there.
Comments
Mike L
commented Jul 04 '19, 1:26 a.m.
But however the oslc_config.context here is referring to GC and not to a baseline. The same query when run against a baseline doesnt work.
|
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.