Bug 1278488

Summary: UDF jar not referenced in exported dynamic VDB
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Andrej Smigala <asmigala>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED NOTABUG QA Contact: Andrej Smigala <asmigala>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 13:30:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej Smigala 2015-11-05 15:27:38 UTC
When exporting a VDB with a User Defined Function, the information about the UDF jar is not present in the resulting dynamic VDB file.

With regular VDB archives, the UDF jar is added to the lib/ directory within the archive and is referenced like so in META-INF/vdb.xml:

   <entry path="/lib/MyTestUdf-1.0-SNAPSHOT.jar">

        <property name="checksum" value="2689317444"/>

    </entry>

This approach is not possible in case of dynamic VDB defined only as an xml file. It is, however, possible to create a module on the server with UDF jar and then reference it in the *-vdb.xml like so:

 <property name ="lib" value ="mytestudf-module"></property>

It is currently possible to define such property manually in the VDB editor before exporting, but Designer should be able to define one automatically, or at least warn the user when there is a UDF jar present and the lib property is not defined.

Comment 2 Barry LaFond 2015-11-10 15:38:05 UTC
Need to add some checks and warnings for import/export dynamic VDBs

Comment 3 Barry LaFond 2015-12-07 13:30:24 UTC
Using only JIRA now.  Marking as closed

Comment 4 JBoss JIRA Server 2016-01-22 16:38:04 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2713 to Coding In Progress

Comment 5 JBoss JIRA Server 2016-09-27 14:19:54 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2713 to Open