Why do the example RPE templates have 3 Data Source Schemas?
RPE ships with 2 sample templates for DNG (DNG_Module.dta and DNG_Resources.dta)
Each template has 3 separate data source schemas
Module
_text
_uisketches
I have browsed the tree structure of the 3 data source schemas and cannot see any difference beween the 3
They seem to have different .XSD files specified in the schema URI filed of the schema properties
What is the purpose of having 3 schemas?
AFAIK DNG provides a complete schema for the repository when the rm/publish metadata URI is provided when inserting a data source schema using dynamic URI querying of the repository. So I would have only expected there to be one data source schema in a DNG template.
|
Accepted answer
Hi Sean, DNG exposes three different schemas for different artifact types. For eg, module, resources, text, etc. If I remember correctly, each artifact could be differentiated by the schema element called "format". In resources schema, format is found under dataSource/artifact path but under module schema format is found under dataSource/artifact/moduleContext/contextBinding. To answer your question, AFAIK, for getting additional details about each artifact type, one needs to hit the particular artifact REST API. For example, module schema and its REST URL will not provide all details about each of the requirement (text or diagram or other type) in the module. Hence, an additional REST API call is needed. DNG team has built the REST API and is available on the wiki page https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
Thanks,
Kumar Sean F selected this answer as the correct answer
|
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.