]
RH Bugzilla Integration commented on TEIIDDES-2713:
---------------------------------------------------
Barry LaFond <blafond(a)redhat.com> changed the Status of [bug
UDF jar not referenced in exported dynamic VDB
----------------------------------------------
Key: TEIIDDES-2713
URL:
https://issues.jboss.org/browse/TEIIDDES-2713
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export, Patch Release, VDB & Execution
Affects Versions: 9.0.4
Reporter: Andrej Šmigala
Assignee: Paul Richardson
Fix For: 9.2.1
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:
{code:xml}
<entry path="/lib/MyTestUdf-1.0-SNAPSHOT.jar">
<property name="checksum" value="2689317444"/>
</entry>
{code}
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:
{code:xml}
<property name ="lib" value
="mytestudf-module"></property>
{code}
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.