How to invoke OSLC query from Rational Publishing Engine?
Since the DNG Reportable REST API does not support lightweight module queries, I need to invoke an OSLC query from RPE. Is this even possible?
Thanks,
Robert
Since the DNG Reportable REST API does not support lightweight module queries, I need to invoke an OSLC query from RPE. Is this even possible?
Comments
Kumaraswamy Gowda
Feb 14 '17, 12:37 a.m.Hi Robert,
Could you please elaborate the issue? like what is lightweight module queries...
Thanks,
Kumar
Donald Nong
Feb 14 '17, 1:24 a.m.I believe it relates to this post.
https://jazz.net/forum/questions/234842/is-there-any-way-to-suppress-modulecontext-information-in-the-dng-rest-api
Robert Huet
Feb 14 '17, 10:29 a.m.That is correct. We have an RPE report that is driven by a query that returns a long list of requirements modules. Unfortunately, both the "resources" and the "modules" REST API queries return information not only on the module but also all it's contents (which I call "heavyweight". I need a "lightweight" query that returns only identifying information from the modules (no contents). I've developed an OSLC query that does just that. However, I would like to invoke it from an RPE report. I've seen articles on how to incorporate an OSLC link in RPE, but not a full query. Is this even possible?
Subramanya Prasad Pilar
Feb 15 '17, 6:14 a.m.Were you able to add REST v2 schema for DNG in RPE? I gave a try using REST v2 Schema Discovery wizard (Base URL - https://server:port/rm/oslc_rm/catalog), but it does not seem to work. It works for RQM so that I can report on OSLC API using RPE.
Robert Huet
Feb 15 '17, 10:19 a.m.I got blocked on the wizard prompt: Select a REST v2 service and its query capability.
Kumaraswamy Gowda
Feb 16 '17, 10:25 p.m.Hi Robert,
After further investigation we found that DNG doesn't have queryShape for QueryCapability for OSLC resource. DNG team would need to add support for it.
Please raise an RFE against DNG.
Thanks,
Kumar