It's all about the answers!

Ask a question

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

Jean-François CHAPELLE (5412) | asked Oct 18 '19, 9:45 a.m.

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>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>

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


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



One answer

permanent link
Subramanya Prasad Pilar (4.6k16) | answered Oct 20 '19, 1:03 p.m.

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.

Jean-François CHAPELLE commented Oct 20 '19, 11:40 p.m.

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.


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.