Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

DNG and "/rm/publish/resources?resourceURI=" request performance ...

In DNG, with RPE, we must generate a traceability matrix.


For each requirement found in the DNG module, we should have :

- the ID and Title of the source requirement
- the ID, Title and Module Name of the linked target requirements

In RPE, we use this request on the source module :


With this request, we obtain all needed informations, except the target requirement module name :

<ds:Link type="Link">
    <rrm:title>Satisfies</rrm:title>
    <ds:isParentLink>false</ds:isParentLink>
    <ds:isChildLink>false</ds:isChildLink>
    <rrm:relation>https://dng-server/rm/resources/MB_5491eade3cec40e9a0f4a629b9857ad0</rrm:relation>
    <rrm:identifier>21710</rrm:identifier>
    <ds:content>
        <rrm:title>Abusus enim multitudine hominum, quam tranquillis in rebus diutius rexit, ex agrestibus habitaculis urbes construxit multis opibus firmas et viribus, quarum ad praesens pleraeque licet Graecis nominibus appellentur, quae isdem ad arbitrium inposita sunt co</rrm:title>
        <rrm:identifier>21710</rrm:identifier>
        <rrm:description/>
        <rrm:format>Text</rrm:format>
        <ds:artifactFormat>Requirement</ds:artifactFormat>
    </ds:content>
</ds:Link>

To obtain the target module name, we use another request based on <rrm:relation> item :

https://dng-server/rm/publish/resources?resourceURI=MB_5491eade3cec40e9a0f4a629b9857ad0

With this request, we can obtain the module name, and we can build our matrix but ...

But the performance is very "poor" ... With hundred target links, the generation time is very long. We have already optimize the RPE canvas with some Javascript to cache the information and reduce the requests number.

Do you know it is it possible to obtain all informations requested by the matrix, with a fastest way ?

Thank you

Regards.

JFC

0 votes



One answer

Permanent link

Using views data source will significantly reduce the time taken for document generation as you will get all data in a single data request (GET request). However, target requirement module name cannot be added in view. I am afraid there is no fast way to obtain all information.

0 votes

Comments

We already use "view" for other reports, and it works very fast ...


In this case, the "module name" in the last report is the main "problem".

Thank-you for your observation.

Regards.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,023

Question asked: Oct 18 '19, 9:45 a.m.

Question was seen: 2,613 times

Last updated: Oct 20 '19, 11:40 p.m.

Confirmation Cancel Confirm