Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357574 - Support use of Relative File Path for exported Connection Profile Storage in ODA Framework
Summary: Support use of Relative File Path for exported Connection Profile Storage in ...
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Open Data Access (show other bugs)
Version: 1.9   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 1.9.2   Edit
Assignee: Linda Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 18:41 EDT by Linda Chan CLA
Modified: 2012-01-11 22:05 EST (History)
0 users

See Also:


Attachments
Git patch for contribution to the ODA Design UI framework to support use of Relative File Path for exported Connection Profile Storage. (75.02 KB, patch)
2011-09-21 23:46 EDT, Archana Mansukhani CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Linda Chan CLA 2011-09-13 18:41:20 EDT
While the core Connectivity framework supports absolute file path only for exported storage of connection profiles, this enhancement aims to add ODA framework support of relative file path for a profile storage file, based on an application resources URI defined by an ODA host/consumer.

The ODA framework already allows an ODA consumer application to specify its resources' base URI via an application context Map, which is in turn made available to individual ODA providers via the ODA API (bug 241771).  
This enhancement will use the same host-defined ResourceIdentifiers to resolve relative file paths for an exported connection profile storage file.
Comment 1 Linda Chan CLA 2011-09-14 15:34:21 EDT
Committed first part changes mostly in the ODA runtime framework; tagged with v201109140657.
Git commit log: http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=cef784172318ee37ee61d8bb63257054f4856ef4
Comment 2 Linda Chan CLA 2011-09-14 23:27:45 EDT
Committed ODA design-time framework model changes; tagged with v201109151038.
Git Commit log:
http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=63f7a612407b64195bc4fae5a475d6d4c269670b

Also updated plug-in dependency's version tolerance; tagged with v201109151100.
Git Commit log:
http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=5ea8a93fc8f65ec92ed745330a4e1b27e3619a10
Comment 3 Archana Mansukhani CLA 2011-09-21 23:46:57 EDT
Created attachment 203808 [details]
Git patch for contribution to the ODA Design UI framework to support use of Relative File Path for exported Connection Profile Storage.
Comment 4 Linda Chan CLA 2011-09-22 01:10:14 EDT
(In reply to comment #3)

Committed patch contribution for the ODA Design UI framework enhancement.  Tagged with v201109221139.

Git commit log: http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=8b0f8cb19b267d7d5590a21e118d0c45a27791f9
Comment 5 Linda Chan CLA 2011-09-24 00:52:16 EDT
Fixed bug in resolving relative path in ODA design-time session. Tagged with v201109241234.
Git commit log: http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=299effd2239f99eaa5186a5ffb6a7e762c25d152
Comment 6 Linda Chan CLA 2011-10-01 06:16:23 EDT
Updated reference implementation of ODA profile store relative path. Also further refined ODA framework support.  Tagged with v201110011749, v201110011611.
Git commit logs:
http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=f491c34cf9619c65ce538c8cc38018e63bdd51a7
http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=451b02c9c2d45a2da5f59e3ac512b3901ad94bed
Comment 7 Linda Chan CLA 2011-12-15 18:21:23 EST
Fixed bug in M5: http://git.eclipse.org/c/datatools/org.eclipse.datatools.connectivity.git/commit/?id=49eace06082b9bd16ea4189821f5e48098775ea0

When browsing to select an existing profile store file, it no longer automatically append the registered profile file extension.
Note though, when browsing the absolute file path to create a *new* profile store file, it will continue to automatically append the default file extension if none exists.
Also when re-using an ODA design session to create a new data source from a profile, it now properly exposes the Relative file Browse button, in addition to the Absolute button menu option.
Comment 8 Linda Chan CLA 2012-01-11 22:05:20 EST
Completed scope of enhancement.