Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DTP Connectivity Ganymede Project Plan: First Draft

Revision as of 15:28, 24 January 2008 by Ledunnel.us.ibm.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Back to DTP Ganymede Project Plan

DTP Connectivity Ganymede

Beside each entry, we will put the following acronyms:

  • MH for Must Have
  • LTH for Like To Have

For Ganymede, we will focus on Must Have (MH) items before Like to Have (LTH) items.

High-Level Summary

Task Milestone BZ Person Status
Provide common user interface for selecting existing connection profiles 1.6 M2 BZ 202641[1] Larry Done
Make a strict separation between plug-ins with UI dependencies and non-UI dependencies 1.6 M2 BZ 203158 [2] Larry Done
Provide common UI for selecting conn profiles 1.6 M3 BZ 202643[3] Larry Done
Provide best-practices for Connectivity/Enablement 1.6 M3 BZ 202644[4] Larry Working
Ability to inject from a runtime instance of a profile at startup 1.6 M3 BZ 202647[5] Larry Working
Provide plug-in wizards to aid driver template and connection profile development 1.6 M3 BZ 151738[6] Brian Done
Clean up internal Discourage Access warnings in Connectivity 1.6 M3 BZ 201125 [7]

BZ 201126 [8]

BZ 201127 [9]

BZ 201136 [10]

Brian Done
Detect cp name collision only within repository 1.6 M3 BZ 200774 [11] Brian Initial patch attached to BZ - waiting review
Need ability to repurpose DSE content/actions for other viewers 1.6 M3 BZ 194859 [12] Brian Done
Need mechanism for supporting migration of driver definitions 1.6 M3 BZ 184807 [13] Brian Done
Connection is already closed when aboutToClose() is calling 1.6 M3 BZ 199509 [14] Brian Working
Create new method for creating connections that returns errors, but doesn't show them in UI (leaves that to adopter) 1.6 M3 BZ 205250 [15] Larry Done
Provide different UIs for different driver definitions 1.6 M3 BZ 204620 [16] Larry Done
Refactor Generic JDBC Connection profile plug-ins 1.6 M3 BZ 203837 [17] Larry Done
Filtering needs to become much more extensible and flexible 1.6 M4 BZ 200140[18]

BZ 177272[19]

BZ 199689[20]

Brian/Linda
Allow customization of version decoration 1.6 M4 BZ 203829 [21] Larry Done
General tabbed properties page issue and Need ability to register custom property source providers 1.6 M5 BZ 193869 [22]

BZ 195301 [23]

Brian
Allow user to execute the DDL against a database connection in Generate DDL wizard 1.6 M5 BZ 204748 [24] Larry Done
org.eclipse.datatools.connectivity.db.generic has dependency to UI 1.6 M5 BZ 192828 [25] Larry Done
Pre-populate Connection UI with driver definitions 1.6 M5 BZ 202641 [26] Brian Working
Need a way to access connection information for table in DSE 1.6 M6 BZ 198000 [27] Larry
Preference pages inconsistent 1.6 M6 BZ 193791 [28] Larry

Connectivity

Things to Consider...

1) Ability to pre-populate a connection UI with driver definitions. (This already exists with the ability to auto-create a default instance of a particular driver template at startup.) (MH) (BZ entry: 202641[29])

2) Provide common user interface for selecting existing connection profiles. Features of this UI should include filtering of the existing connections based on an arbitrary set of attributes and it should display an extensible set of properties for the selected connection. (This already partly exists with the ability to host the DSE on a dialog page/composite/wizard/property/preference page where necessary.) (MH) (BZ entry: 202643[30])

Here is the UI from WTP to use as a starting point:Existing conns.png

3) Provide best-practices for prompting users when to create new profiles, select existing profiles, and prompt the user for authentication information. Perhaps create code sample to help demonstrate best practices. (MH) (BZ entry: 202644 [31])

4) Ability to inject from a runtime instance of a profile at startup to populate a profile in the DSE. This may be supported already with the repository code. (MH) (BZ entry: 202647[32])

5) Filtering needs to become much more extensible and flexible. Perhaps split out catalog-loader (SQL-level) filtering from client-level (viewer-level) filtering. Also provide the capability to use client-level filtering by default, if a db-specific extension did not implement catalog-loader filtering. (MH) (BZ entries: 200140[33], 177272[34], 199689[35])

6) Provide extensible encryption capabilities for exporting profiles. Perhaps a new extension point to register an encryption method. Need to research different encryption methods. (LTH) (BZ entry: 202648 [36])

Possibly add a new extension point that points to a class and provides a name and description for the encryption provider. The encryption provider (IProfileEncryptionProvider) would implement two methods (similar to BIRT's IEncryptionHelper) -

   public String encrypt ( String input );
   public String decrypt ( String output );

The current encryption/decryption method will be moved to this extension point and used as the default method.

When exporting via the Export dialog, the user can select via a drop-down list from the list of available encryption providers (or the drop-down will be disabled if only the default is available).

When importing, the Import routine will look at the file and (somehow) determine which encryption provider was used and decrypt accordingly or pop up a message indicating that the encryption method is not available.

We will need to change the internal ConnectionProfileMgmt class (that does the saves and loads of profiles) so it would take one of these encryption providers to handle encrypting and decrypting the streams.

7) Provide plug-in wizards to aid driver template and connection profile development. (MH) (BZ entries: 151738[37])

8) Focus on sorting and see if we can come up with ways to make that work for various levels of the DSE within the Platform's Common Navigator Framework (see if any changes are upcoming for Ganymede) (LTH) (BZ entries: 150592[38])

9) Connection timeout such that connections in the DSE will be closed if unused for a certain amount of time specified in a preference page. This is a WTP feature that needs to be ported to DTP. It will probably need to be redesigned as the DSE in DTP is not exclusive to database connections and it may not make sense to timeout connections to other types of servers. (MH) (BZ entry: 202653[39])

Perhaps look at it so that each individual server type implements an extension point (perhaps an extension on the CP extension point), listens in a server-specific way for disconnects, and then triggers a reconnect. It will be difficult to handle in the generic case.

Here is the UI from WTP to use as a starting point: Data preferences.png

10) Provide enablement support for JNDI connections for getting a pooled JDBC connection through a JNDI service. Check out Apache Tomcat 5.5.x and BEA WebLogic 8.1 as examples. Both are fairly simple to use and configure. However, Tomcat does not support client-side access, which we will need in the DSE. (LTH) (BZ entries: 202640[40])

11) Clean up internal Discourage Access warnings in Connectivity. (MH) (BZ entries: 201125 [41], 201126 [42], 201127 [43], 201136 [44])

-------------------Bugs for Consideration (Start)-----------

12) Connection profile with commas in its driver files names will fail (LTH) (BZ 202338[45])

13) Default DB Location should be platform specific (LTH) (BZ 201682 [46])

14) Need a way to access connection information for table in DSE (MH) (BZ 198000 [47])

15) Usability items for Driver Managment/Editing (LTH) (BZ 164534 [48])

16) Display properties for SQL objects when selected in DSE (LTH) (BZ 154169 [49])

17) Detect cp name collision only within repository (MH) (BZ 200774 [50])

18) Connection is already closed when aboutToClose() is calling (MH) (BZ 199509 [51])

19) General tabbed properties page issue (MH) (BZ 195301 [52]) and Need ability to register custom property source providers based on provider ID (BZ 193869 [53])

20) Need ability to repurpose DSE content/actions for other viewers (MH) (BZ 194859 [54])

21) Preference pages inconsistent (MH) (BZ 193791 [55])

22) org.eclipse.datatools.connectivity.db.generic has dependency to UI (MH) (BZ 192828 [56])

23) Need mechanism for supporting migration of driver definitions (MH) (BZ 184807 [57])

-------------(End) Bugs for Consideration---------------

24) Refactor Generic JDBC Connection profile plug-ins so that the Generic JDBC Connection profile can be excluded from the new connection wizard by adopters. (MH) (BZ entry: 203837 [58])

25) The filtering support should handle multiple predicates that are ANDed together so that more complex filters can be specified. (LTH) (BZ Entry: 203834 [59])

26) There needs to be a strict separation between plug-ins with UI dependencies and non-UI dependencies. Adopters have the need to access core functionality such as connection profiles, driver templates, connection management, DDL generators and catalog loaders from command-line tooling or without the UI components installed in the product. Some of the use-cases include programmatically creating a connection to a database, browsing the catalog metadata, generating DDL and executing the DDL. As a connectivity requirement, it is specifically focused on the generic JDBC and Derby plug-ins, however, it also has implications in the enablement project. (MH) 203158

27) The version decoration that appears on the connection nodes in the DSE should allow vendors to format product and version information in a format that is meaningful to the vendor's customers. The current three-part version number is too restrictive and should be optional. (MH) (BZ entry: 203829 [60])

28) There needs to be a connection profile wizard that can provide different UIs for different driver definitions and a way to contribute new driver definition specific UIs through an extension point.(MH) (BZ entry: 204620 [61])

29) The generate DDL wizard should allow the user the option to execute the DDL against a database connection. The implementation will utilize the existing connection UI from #2 above. (MH) (BZ entry: 204748 [62])

30) There needs to be way to connect the managed connection in a connection profile that does not display the connection error but instead returns it programmically so that the invoker can decide how to handle it. Basically, a method like IConnectionProfile.createConnection() that works on the managed connection. (MH) (BZ entry: 205250 [63])

Open Data Access (ODA)

1) Integrates with Database (JDBC) Connection Profile category (MH) Bugzilla 204343

The ODA framework currently integrates with the Connection Profile framework to provide an uniform way for connectivity with heterogenous data sources. It does not directly integrate with the Database (JDBC) profile category. This integration project aims to provide out-of-box support of the DTP JDBC connection profile types, and to enable an ODA-compliant consumer application to utilize the specialized RDBMS support available in the Enablement projects.

2) Initial Integration with the SQL Query Builder and SQL Query Model (MH) Bugzilla 204344

The SQL Query Builder planned in Ganymede is a powerful tool that allows users the freedom to create queries to access a relational data source without detail knowledge of the SQL syntax. The same tool also provides the option to edit a SQL query text directly. Any editing made in either the textual or graphical pane would be automatically reflected in the other.
This integration project plans to provide ODA adapters to the the SQL Query Builder and SQL Query Model. With the adapters, an ODA-compliant consumer application can consume the builder, as well as other custom ODA providers, through the same ODA API.

3) Support for Multi-dimensional Result Sets (LTH) Bugzilla 204345

The ODA framework currently provides support for a consumer application to retrieve and process data in the form of rows and columns. An ODA data provider for a multi-dimensional data source would have to flatten its data into a tabular result set. That works well for those ODA-compliant consumer applications that want to consume tabular data sets. However, there are other types of applications, such as OLAP tools, that would prefer to consume data in a multi-dimensional result set. This project aims to extend the ODA API to provide design-time and runtime support of multi-dimensional result sets.

High-Level Grouping

Bugs: 11, 14, 17, 18

General UI: 2, 16, 21, 27, 28, 29

Migration: 1, 4, 6, 12, 13, 23

New Functionality: 9, 10, 25, 30

Refactoring: 20, 22, 24, 26

Usability: 3, 5, 7, 8, 15, 19


Must Haves (24): 1, 2, 3, 4, 5, 7, 9, 11, 14, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27, 28, 29, 30, ODA-1, ODA-2

Like To Haves (9): 6, 8, 10, 12, 13, 15, 16, 25, ODA-3

Back to the top