]
Matus Makovy updated TEIIDDES-2722:
-----------------------------------
Labels: release_notes verified_jbdsis-9.0.0.Beta (was: )
User Defined properties are exported in each model in Dynamic VDB
-----------------------------------------------------------------
Key: TEIIDDES-2722
URL:
https://issues.jboss.org/browse/TEIIDDES-2722
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export, VDB & Execution
Affects Versions: 9.0.4
Reporter: Andrej Šmigala
Assignee: Barry LaFond
Priority: Minor
Labels: release_notes, verified_jbdsis-9.0.0.Beta
Fix For: 10.0.1, 9.2.1
Attachments: CustomPropertyProject.zip
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
{code: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>
{code}
Expected -vdb.xml
{code: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>
{code}