Help getting a requirement using OSLC and Global Configurations
I am trying to get a Requirements data using OSLC and Global Configurations.
I know that if I use the direct link to an item, eg:
https://Svr:9443/rm/resources/TX_vyxJkSjjEeuLj_u8pP3M9Q
and set my Request Headers to:
OSLC-Core-Version = 2.0
Accept = Application/rdf+xml
I get the OLSC Resource data. If I don’t include the Accept header, this will open the item in the DOORS Web Interface.
Now if I try and do the same for a Requirement that is in a Global Configuration and add the oslc_config.context parameter to the URL, eg:
https://Svr:9443/rm/resources/TX_vyxJkSjjEeuLj_u8pP3M9Q?oslc_config.context=https%3A%2F%2FSvr %3A9443%2Frm%2Fcm%2Fstream%2F_u8rPECjjEeuLj_u8pP3M9Q
I get an ERR_INVALID_RESPONSE but by removing the Accept = Application/rdf+xml I do get the Resource Data back in rdf+xml format.
Is this a bug or am I trying to access OLSC data for a Resource in a Global Configuration incorrectly?
One answer
Please see https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding and check the stuff about OSLC and the documented APIs.
Comments
Note, it is Accept:application/rdf+xml and not Accept:Application/rdf+xml not sure if that is an issue, just in case. You also might have to add
Hi Ralph,
Interesting that this is inconsistent, as it works for getting other data with no problems. It feels like this might be a bug, given that all of the other interactions we do with OSLC work fine with the Accept:Application/rdf+xml set, including getting GC's, components, streams, artifacts etc.