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