Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346366 - Expose visibility of an overriding oda.consumer.driverBridge extension in an ODA design session
Summary: Expose visibility of an overriding oda.consumer.driverBridge extension in an ...
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Open Data Access (show other bugs)
Version: 1.8.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 1.9   Edit
Assignee: Linda Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 01:05 EDT by Linda Chan CLA
Modified: 2011-05-23 17:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linda Chan CLA 2011-05-19 01:05:29 EDT
The existing o.e.d.c.oda.consumer.driverBridge extension point supports an extension implementation to override an ODA data source extension (o.e.d.c.oda.datasource) at runtime.  The knowledge of a driverBridge extension has been straightly encapsulated within the runtime execution of the ODA consumer framework, and is not exposed to an ODA design session.
However, there are use cases where an ODA designer could use such info, as needed, to support its re-use by a driverBridge extension.  

This enhancement calls for providing an additional attribute in the oda.design.DataSourceDesign model for the overriding ODA data source extension id, that implements an oda.consumer.driverBridge extension.  
The value should be set at design time by an ODA host designer, which can obtain the value from the oda.consumer framework.
Comment 1 Linda Chan CLA 2011-05-19 21:02:09 EDT
Delivered enhancement.  Latest version is tagged with v201105200848.

See Javadoc comments on related new API methods in:

*  org.eclipse.datatools.connectivity.oda.consumer.helper.DriverExtensionHelper 
       public static String getEffectiveDataSourceId( String odaDataSourceId )
          throws OdaException

*  org.eclipse.datatools.connectivity.oda.design.DataSourceDesign 
       public void setOdaExtensionId( String newOdaExtensionId )
       public String getEffectiveOdaExtensionId()
Comment 2 Linda Chan CLA 2011-05-23 17:15:11 EDT
Also added corresponding support in the ODA design session utility to recognize an oda.consumer.propertyProvider extension that may be overridden by a oda.consumer.driverBridge extension.
(Tagged with v201105240457.)

* org.eclipse.datatools.connectivity.oda.design.ui.designsession.DesignSessionUtil
      public static java.util.Properties getEffectiveDataSourceProperties( 
            DataSourceDesign dataSourceDesign )
         throws OdaException