Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2722

User Defined properties are exported in each model in Dynamic VDB

    Details

      Description

      When exporting a VDB with user defined properties, the properties are added to each model in the resulting -vdb.xml. It would make more sense to include them once in the vdb root.

      Current -vdb.xml

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <vdb name="CustomPropertyVdb" version="1">
      	<description />
      	<property name="validationDateTime" value="Tue Nov 10 13:51:23 CET 2015" />
      	<property name="validationVersion" value="8.7.1" />
      	<model name="ViewModel2" type="VIRTUAL">
      		<property name="lib" value="test" />
      		<property name="myCustomProperty" value="someValue" />
      		<metadata type="DDL"><![CDATA[ ... ]]></metadata>
      	</model>
      	<model name="ViewModel" type="VIRTUAL">
      		<property name="lib" value="test" />
      		<property name="myCustomProperty" value="someValue" />
      		<metadata type="DDL"><![CDATA[ ... ]]></metadata>
      	</model>
      </vdb>
      

      Expected -vdb.xml

      <?xml version="1.0" encoding="UTF-8" standalone="no"?>
      <vdb name="CustomPropertyVdb" version="1">
      	<description />
      	<property name="validationDateTime" value="Tue Nov 10 13:51:23 CET 2015" />
      	<property name="validationVersion" value="8.7.1" />
      	<property name="lib" value="test" />
      	<property name="myCustomProperty" value="someValue" />
      	<model name="ViewModel2" type="VIRTUAL">
      		<metadata type="DDL"><![CDATA[ ... ]]></metadata>
      	</model>
      	<model name="ViewModel" type="VIRTUAL">
      		<metadata type="DDL"><![CDATA[ ... ]]></metadata>
      	</model>
      </vdb>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  blafond Barry LaFond
                  Reporter:
                  asmigala Andrej Smigala
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: