ModifiedSince Not Working with moduleURI in Reportable REST API (DOORS Next)
I am facing an issue with the Reportable REST API in DOORS Next. When I include the
moduleURI
along with the
ModifiedSince
parameter, the filter doesnot work correctly.
Version: 7.0.2
Headers:
Accept: application/rdf+xml
OSLC-Core-Version: 2.0
vvc.configuration: https://jazz.com/rm/cm/stream/_ZtnSwFDHEe-80ff3rHyKWw
With
projectURI
only, the
ModifiedSince
filter works correctly and returns the expected results.
Questions:
- Is this a known issue or a limitation?
-
Do I need to add any additional parameters for the filter to work with
moduleURI
?
Any help would be appreciated.
2 answers
Documentation: https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
I am not an expert for that API my thoughts:
oslc_config.context can be provided as the configuration management resource it is the only thing that hints into OSLC.
Please note that an URI is a valid URL e.g. https://elm.example.com:9443/rm/process/project-areas/_cOrckM9TEe-lNcbLah5K4w and not only the UUID _cOrckM9TEe-lNcbLah5K4w .
Note that the parameters like the project area URI need to be URL Encoded e.g. look like https%3A%2F%2Felm.example.com%3A9443%2Frm%2Fprocess%2Fproject-areas%2F_cOrckM9TEe-lNcbLah5K4w
Comments
Thanks for your response. I tried using the URL for both the project and module parameters and also removed the OSLC-Core-Version header, but without success. Since I'm using Postman, it should take care of encoding the parameters. As I mentioned, when I send a request with the Project URI alone, it returns a proper response.
Comments
Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 5 hours ago"doesnot work correctly." - please give some detail of what's wrong with the response that you don't think is correct