[
https://issues.jboss.org/browse/TEIIDDES-2722?page=com.atlassian.jira.plu...
]
Barry LaFond resolved TEIIDDES-2722.
------------------------------------
Fix Version/s: 9.2.1
(was: 10.0)
Resolution: Out of Date
Previous fixes/improvements in export dynamic vdbs included this fix. Out of Date
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
Fix For: 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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)