[teiid-issues] [JBoss JIRA] (TEIID-2527) Dynamically change the sources in a multi-source model

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Jun 27 05:02:21 EDT 2013


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

Steven Hawkins commented on TEIID-2527:
---------------------------------------

The current assignToModel only works for existing sources and requires a model to be specified.  When modifying a source however this is not correct.  We want to ensure that all sources of the same name are updated regardless of which model they are associated with.  I think it would be more clear to have three operations:

	void removeSource(String vdbName, int vdbVersion, String modelName,
			String sourceName)
			throws AdminException;

To remove a source by name from the given model.

	void addSource(String vdbName, int vdbVersion, String modelName,
			String sourceName, String translatorName, String dsName)
			throws AdminException;

Adds the source by name to the given model - if the source already exists somewhere else in the vdb, then the translator/dsName must match the existing.  That's the same expectation at deployment time.

	void updateSource(String vdbName, int vdbVersion, String sourceName,
			String translatorName, String dsName) throws AdminException;

Basically the same as the current assignToModel only that modelName is no longer a parameter.
                
> Dynamically change the sources in a multi-source model
> ------------------------------------------------------
>
>                 Key: TEIID-2527
>                 URL: https://issues.jboss.org/browse/TEIID-2527
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Query Engine, Server
>            Reporter: Mark Addleman
>            Assignee: Steven Hawkins
>             Fix For: 8.5
>
>
> As a step toward a more dynamic VDB, it would be useful to allow data sources to be dynamically added/removed from a multi-source model.  For more, see https://community.jboss.org/message/821113

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list