how can we fetch all modules of a project area by using module type as filter using oslc query
Accepted answer
Yes you can query for modules by artifact type like
oslc.where=oslc.instanceShape=<urioftype>
e.g.
oslc.where=oslc:instanceShape=<https://SERVER:PORT/rm/types/OTx7TIEB6Eeuh3Iiax2L3Ow>
This must be URL-encoded in the query URL to e.g.
oslc.where=oslc%3AinstanceShape%3D%3Chttps%3A//SERVER%3APORT/rm/types/OTx7TIEB6Eeuh3Iiax2L3Ow%3E
You'll need to provide prefix definitions for e.g. oslc in the oslc.prefix, of course
You can find the type definitions to find the type url using the configuration-specific services.xml - which is where you find the query capability base URLs - the types are referenced in the query capability and factory definitions.
Refer to this old but relevant article Using OSLC capabilities in the Requirements Management application - Library: Articles - Jazz Community Site
Comments
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 09 '23, 5:04 a.m.G C
Jan 10 '23, 12:36 a.m.