]
Steven Hawkins resolved TEIID-3140.
-----------------------------------
Fix Version/s: (was: 8.12.1)
Resolution: Out of Date
We already set the deployment-name property on VDBs. That can be used to determine if
it's an xml or a zip deployment. That seems sufficient for now.
Add getVDBType() method to the VDB interface
--------------------------------------------
Key: TEIID-3140
URL:
https://issues.jboss.org/browse/TEIID-3140
Project: Teiid
Issue Type: Enhancement
Components: AdminApi
Reporter: Barry LaFond
Assignee: Steven Hawkins
Because Teiid supports mutliple VDB types, any tooling designed to interact (edit,
deploy, undeploy, display etc...) with the runtime VDBs will need to be able to easilly
distinguish what each VDB type is.
Currently Teiid Designer utilizes PREVIEW and defeault VDBs with *vdb* file extensions
and there are 2 types of dynamic VDBs, *xml* and *zip* files backed by DDL model metadata
definitions.
The current VDB interface currently doesn't provide a type.
Request adding something like:
{code}
public enum VDBType {DEFAULT, PREVIEW, XML, DDL}
/**
* @return the vdb type
*/
public VDBType getVDBType();
{code}