[teiid-issues] [JBoss JIRA] (TEIID-3140) Add getVDBType() method to the VDB interface

Steven Hawkins (JIRA) issues at jboss.org
Wed Sep 24 11:57:02 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-3140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005782#comment-13005782 ] 

Steven Hawkins commented on TEIID-3140:
---------------------------------------

I'm fine with exposing whether it is an xml deployment - the VDBMetaData already has an isXmlDeployment method.  However preview is currently a designer construct and can be checked via a property.  Any notion of DDL or some other metadata type really depends upon the configuration of the metadata repositories associated with models.

> Add getVDBType() method to the VDB interface
> --------------------------------------------
>
>                 Key: TEIID-3140
>                 URL: https://issues.jboss.org/browse/TEIID-3140
>             Project: Teiid
>          Issue Type: Enhancement
>            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}



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the teiid-issues mailing list