Community
Participate
Working Groups
In DTP 1.0, the ODA framework only supports the "import" use of a connection profile's properties into an ODA data source design definition. This enhancement includes: 1) provide ODA runtime support of using externalized properties defined in a linked connection profile instance persisted in a connection profile store file. It includes automatically adding related public data source properties on a linked connection profile for all ODA runtime data providers. 2) provide UI pages in the ODA design UI framework for an user to create/edit the selection of an external connection profile instance.
The first part of this feature (ODA runtime support) is delivered in DTP 1.5 M5 release. The ODA runtime framework now provides a connection profile property provider service to look up and use an external connection profile instance. To use this service, an ODA consumer application must specify the service name in the application context Map passed in its call to an oda.IConnection.setAppContext method. The map entry in the connection's context must specify the following key-value pair: connAppContext.put( IPropertyProvider.ODA_CONSUMER_ID, Constants.CONN_PROFILE_APPL_ID ); where IPropertyProvider is in org.eclipse.datatools.connectivity.oda.consumer.services package, and Constants is in org.eclipse.datatools.connectivity.oda.profile package, which contains the service name of the default connection profile property provider. The oda.util.manifest package is enhanced to automatically include 2 additional public properties in all ODA drivers' data source definition for linking a connection profile. The names of these 2 properties defined by the ODA framework are specifed as constants in the package: ConnectionProfileProperty.PROFILE_NAME_PROP_KEY and ConnectionProfileProperty.PROFILE_STORE_FILE_PATH_PROP_KEY . An ODA consumer application UI will simply need to host the oda.design.ui's profile selection UI pages (part 2 of this feature scheduled in M6), which will in turn incorporate these 2 properties as part of an ODA data source design definition.
Delivered the second part of this feature - provide UI pages in the ODA design UI framework for an user to create/edit the selection of an external connection profile instance. Available in DTP 1.5 M6.
Verified and closed.