[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1333) Dynamic VDB can be set to ACTIVE, even when the data source is not available.

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Thu Oct 28 14:07:54 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-1333.
---------------------------------

    Resolution: Done


The assumption previously was, the metadata is provided by translators only when the underlying source available.  However it is not the case with translators like file, web-service, that provide metadata even when the data source is not active or not configured.

 So, when a VDB gets deployed with one of these translators, the error for "data source" is set on the model along with "metadata" load. However, when the metadata load finishes it clears all the errors instead of just removing the metadata error, thus loosing the information about data source. Since there are no errors VDB deploying mechanism marks a VDB active, even though there is no data source available.

Fixed the code to remove only error that has been added by the metadata load activity. 

> Dynamic VDB can be set to ACTIVE, even when the data source is not available.
> -----------------------------------------------------------------------------
>
>                 Key: TEIID-1333
>                 URL: https://jira.jboss.org/browse/TEIID-1333
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 7.1
>            Reporter: Ramesh Reddy
>            Assignee: Ramesh Reddy
>             Fix For: 7.1.1
>
>         Attachments: interoperability-vdb.xml
>
>
> Dynamic VDB upon deployment is set to active, it was still missing the data source.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list