It's all about the answers!

Ask a question

DNG: Overview about artifact with all outgoing and incoming links in all components


Ulrich Simon (1513) | asked Jun 15 '21, 9:35 a.m.

 I have Configuration Management enabled in DNG V7.0.2.

There are several Components, and a specific artifact of a module resides in different versions in these components. There are differente outgoing and incoming links to this artifact.
Is there a chance to get an overview about all outgoing and incoming links of this artifact in all components?

3 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Jun 23 '21, 1:12 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 It is sufficient to use the All Data LQE endpoint, and then use the Report Builder to build your query (no custom SPARQL should be required).   Note that you should not try to do any joins in the report (i.e.not query for more than one relationship) ... just query for the one relationship you are interested in, and select the appropriate sets of attributes of the source and target artifacts.


Comments
David Honey commented Jun 25 '21, 9:54 a.m. | edited Jun 25 '21, 9:55 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The problem with this is that you get the cartesian product across the versions of source and target artifact. For example, if there are 5 versions of a requirement each validated by a test case and there are 3 versions of that test case, you may end up with 15 rows in the report, rather than 3. This can expand exponentially as you add deeper traceability relationships.


Geoffrey Clemm commented Jun 25 '21, 10:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Yes, this is why it is important not to query for more than one relationship in a single report (i.e. don't do "deeper traceability relations").   Also, whichever technique you use, you will want to post-process the results, to only keep rows with the distinct concept ID's.


permanent link
Ian Barnard (1.9k613) | answered Jun 15 '21, 10:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 15 '21, 11:00 a.m.

The OSLC APIs certainly allow you to get at all the data, but that's complicated to code and then you have to visualise the information.


Another way is that the information about these links to different versions is in LQE if you use it, so using Engineering Insights (ENI) should be able to extract the information from the All Data source and visualise in a view using custom Artifact Elements and SPARQL, and then ENI does the visualisation work for you. I'm sure IBM Services team, or partners, could help you - contact your IBM Account Manager to discuss what you need. 


Comments
Bartosz Chrabski commented Jun 15 '21, 3:35 p.m.

Ian,


ENI may help but it will require coding in SPARQL to get this data too. OSLC wont generate additional license cost which is required by Engineering Insights.

Both solutions ENI and OSLC will solve Ulrich problem. Question is cost and skill they have.

Good Luck !


permanent link
Bartosz Chrabski (3.4k12648) | answered Jun 15 '21, 10:04 a.m.

Ulrich,


OSLC query and interating through all the components should solve the problem.

There are two issues I see here:
  • It is custom development so it may be an issue
  • One component can have multiple wokring streams, so it may be component*streams iterations.

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.