DNG6.0.6 using olsc query fetch artifacts fails
set header as :
Accept:application/rdf+xml
Oslc-Core-Version:2.0
oslc like:
https://<server>/rm/views?oslc.query=true&projectURL=https://<server>/rm/process/project-areas/_HdehgERkEeme5ofe9pCMuQ&oslc.prefix=oslc%3D%3Chttp://open-services.net/ns/core%23%3E&oslc.prefix=dcterms%3D%3Chttp://purl.org/dc/terms/%3E&oslc.prefix=nav%3D%3Chttp://jazz.net/ns/rm/navigation%23%3E&oslc.select=oslc:instanceShape,dcterms:identifier,dcterms:title,dcterms:created,dcterms:modified,nav:parent&oslc.where=dcterms:modified%3E%222020-12-31T16:00:00.000Z%22%5E%5Exsd%3AdateTime&vvc.configuration=https%3A%2F%2Fpeedp.saic-gm.com%2Frm%2Fcm%2Fstream%2F_HiiApkRkEeme5ofe9pCMuQ
By using same link ,just change project Id, some projects can get query result like have 1120 artifaces
buy some projects get blank or can not get query result
any know why like this?is it influence by GC?
|
One answer
David Honey (1.8k●1●7)
| answered Nov 10 '21, 4:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Your query is specifying a configuration of https://peedp.saic-gm.com/rm/cm/stream/_HiiApkRkEeme5ofe9pCMuQ which is a DN local configuration. No global configuration involved. That stream will be part of a component that belongs to a DN project area. Querying for other project areas will be querying for artifacts that are not part of that component and hence find no objects. If you want to query for resources in some other project area, I think you have to use a DN configuration that is for a component in that project area.Alternatively, specify a global configuration that has contributions from the appropriate DN configurations across your DN project areas.
Comments
WenJia Zhang
commented Nov 10 '21, 9:18 p.m.
sorry, I paste wrong link ,the correct one without vvc.configuration
correct link as below:
https://<server>/rm/views?oslc.query=true&projectURL=https://<server>/rm/process/project-areas/_HdehgERkEeme5ofe9pCMuQ&oslc.prefix=oslc%3D%3Chttp://open-services.net/ns/core%23%3E&oslc.prefix=dcterms%3D%3Chttp://purl.org/dc/terms/%3E&oslc.prefix=nav%3D%3Chttp://jazz.net/ns/rm/navigation%23%3E&oslc.select=oslc:instanceShape,dcterms:identifier,dcterms:title,dcterms:created,dcterms:modified,nav:parent&oslc.where=dcterms:modified%3E%222020-12-31T16:00:00.000Z%22%5E%5Exsd%3AdateTime
Is that project area opted in for configuration management?
|
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.