[teiid-issues] [JBoss JIRA] (TEIID-1328) API request: Programatically modify the VDB

Mark Addleman (JIRA) jira-events at lists.jboss.org
Fri Jan 27 20:11:48 EST 2012


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

Mark Addleman commented on TEIID-1328:
--------------------------------------

I like the idea of controlling the caching at the translator level.  It sounds like that's a matter of setting useConnectorMetadata=false in the VDB and adding a bit of caching logic.

For a couple of reasons, I'm planning on using a delegating translator to wrap all of our real translators so it make sense to centralize the caching logic there.  Could I simply cache the MetadataFactory as returned by the underlying translator?  On VDB reload, the cache logic would return the cached MetadataFactory?

It almost seems too easy...
                
> API request:  Programatically modify the VDB
> --------------------------------------------
>
>                 Key: TEIID-1328
>                 URL: https://issues.jboss.org/browse/TEIID-1328
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: AdminApi
>    Affects Versions: 7.1
>            Reporter: Mark Addleman
>            Priority: Minor
>
> I'd like an API to programatically modify the VDB.  It would be ideal to modify the VDB using DDL through Teiid.  Our primary use case is accessing a dynamic set of datasources through Teiid.  When a datasource is added, we would INSERT the appropriate entries into MODEL, PROPERTIES, DATASOURCES tables.  Teiid would reread the appropriate metadata from the associated translators.  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list