It's all about the answers!

Ask a question

How to query project's global configurations assembling a local configuration of specific project-area?

Benjamin Röhl (167521) | asked May 17, 10:54 a.m.

 Hello all,

as title says, I would like to query all global configurations assembling a local configuration of a specific project-area.

I tried to accomplish this with the Global Configuration Management REST API, which is found at https://<server>/gc/doc/scenarios.

This is the GET request's URL: 

This is the GET request's response:
CRJGC0654E The HTTP request oslc.where parameter value "oslc_config:contribution{oslc_config:configuration{process:projectArea=&lt;https://jazz:9443/rm/process/project-areas/_4baTYD8rEeSZxPPkdZ-lVg&gt;}}" is not valid.
(I reduced the OSLC error resource to it's message for brevity)

Is there any alternative solution accomplishing that?

One answer

permanent link
David Honey (2356) | answered May 17, 1:29 p.m.
Hi Benjamin,

You cannot query GCM for that. GCM only stores references (URIs of) to local configurations (such as those from DOORS Next), and does not store properties of those local configurations (such as project area). So there is no data available in GCM for a GCM query. You're trying to perform a cross-domain query.

Unfortunately, you cannot query project area as a property of configurations in Report Builder since the resource shape for oslc_config:Configuration, as defined by the OSLC Configuration Management specification, does not have a project area property. Project areas are not defined by OSLC specifications. Instead, you will have to write your own SPARQL and execute directly in LQE.

Best regards,

Your answer

Register or to post your answer.