Cannot access artifacts in folders in DNG with ELM Python Client
Hi,
Some time ago I asked about the use of the use of APIs in /rm module of DNG, and your answer claimed that Reportable API and OSLC where the way to go. Right now we are using the Reportable API and applying filtering in the JavaScript code. We are able to run the extensions via the XML gadget, still our problem is the time it takes to retrieve the data, load the JavaScript extension and update the front custom metrics based on the filtered data.
Our projects deal with a considerable amount of artifacts, and a greater amount of links to those, making the queries considerably large. After a lot of research in the forum, I bumped into this GitHub, still we cannot get all the artifacts due to a query limitation using the OSLC capability. All we want is to read (GET) the attributes of artifacts, their IDs and the relation between those artifacts, similarly to what the integrated DNG Report Builder offers to in JSON format (and not xml+rdf)
My questions are the following:
1) Is there any JavaScript project example (apart from the RM extensions found in the documentation) that programmatically retrieves the artifact's IDs and attributes avoiding using OSLC or Reportable APIs? Or, at least, in a more modern way to filter by view (or by folders) in a project? Most of our projects are not contained in modules or collections.
2) Would there be any way to contact IBM (or any DNG developer) to have access to the private REST API for connecting our project extensions to the DNG database directly? Are there any more APIs to directly access our DNG database?
Thanks in advance for your reply.
Pablo
One answer
What query limitation are you having with the OSLC API? You should be able to get everything. Same with the Reportable REST API. Both offer the ability to filter based on View and if you have a lot of data then you definitely want to filter it in some way.
If you are churning a lot of data then I would not be using the RM Client Extensions API - that could lead to some serious performance problems. That API is meant for more interactive requirement manipulation as a user in a browser.
Perhaps you can give us a bit more detail about exactly what you're trying to do? I've done quite a bit of this sort of stuff and have used several different approaches depending on what the actual goal is
Comments
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 08 '23, 12:37 p.m.Ian Barnard
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jun 09 '23, 4:25 a.m.Pablo de Llanos
Jun 12 '23, 2:42 a.m.