How to fetch test artifacts from the RQM stream using OSLC?
One answer
Are you including an oslc_config.context query parameter or header in your GET request?
That parameter/header can be used to specify the URI of a configuration, and an application should use that to resolve the concept URI to the appropriate version of that resource for the specified configuration context.
Comments
@David Honey i added oslc_config:context in the RQM REST API and it works fine. But in another use case I am using OSLC Lyo client. So there is no option for setting config context in OslcClient in Lyo. Do you have any idea on that?
Eclipse Lyo is managed through the OSLC Open Projects team. I suggest you ask that question on the Eclipse Lyo forum at https://forum.open-services.net/c/sdks/lyo/9.
For https://jazz.net/library/article/92596 which is based on Lyo, I used a header request interceptor to be able to modify the headers. This was only necessary for the post calls to the factory, if I remember correctly. Most of the calls allowed to provide custom headers.
This was for an older Lyo version. I do not know if this would be possible still. The code is accessible in the article.