Bug 1279911 - User Defined properties are exported in each model in Dynamic VDB
Summary: User Defined properties are exported in each model in Dynamic VDB
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Barry LaFond
QA Contact: Andrej Smigala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-10 13:01 UTC by Andrej Smigala
Modified: 2016-02-22 08:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 13:32:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-2722 0 Minor Closed User Defined properties are exported in each model in Dynamic VDB 2016-02-22 08:59:39 UTC

Description Andrej Smigala 2015-11-10 13:01:23 UTC
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>

Comment 2 Barry LaFond 2015-12-07 13:32:20 UTC
Using only JIRA now.  Marking as closed

Comment 3 JBoss JIRA Server 2016-01-19 22:06:54 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2722 to Resolved

Comment 4 JBoss JIRA Server 2016-02-22 08:59:40 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2722 to Closed


Note You need to log in before you can comment on or make changes to this bug.