It's all about the answers!

Ask a question

DNG6.0.6 using olsc query fetch artifacts fails


WenJia Zhang (113) | asked Nov 10 '21, 4:10 a.m.

set header as :

Accept:application/rdf+xml
Oslc-Core-Version:2.0
oslc like:

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



permanent link
David Honey (1.8k17) | 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:



David Honey commented Nov 11 '21, 4:03 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Is that project area opted in for configuration management?
If so, I think the query needs to specify a configuration context.

Your answer


Register or to post 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.