[mapguide-trac] #1312: Support browsing data sources in ODBC editor

MapGuide Open Source trac_mapguide at osgeo.org
Wed Apr 7 23:51:01 EDT 2010


#1312: Support browsing data sources in ODBC editor
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:  jng         
       Type:  enhancement  |      Status:  new         
   Priority:  medium       |   Milestone:  Maestro-2.1 
  Component:  Maestro      |     Version:  2.1.0       
   Severity:  major        |    Keywords:  odbc browser
External_id:               |  
---------------------------+------------------------------------------------
 Browsing available DSNs in Maestro's ODBC editor currently display a not
 implemented message.

 Implementation is actually quite simple. The FDO ODBC provider already
 does DSN enumeration, and this functionality is exposed through the
 GETCONNECTIONPROPERTYVALUES mapagent call or the
 MgFeatureService.GetConnectionPropertyValues() API. The problem is that
 this backend support is not exposed through the ServerConnectionI
 interface.

 A new API needs to be added to ServerConnectionI:

 string[] GetConnectionPropertyValues(string provider, string propertyName,
 string partialConnString);

 This will map to MgFeatureService.GetConnectionPropertyValues() for
 LocalNativeConnection and will map to the GETCONNECTIONPROPERTYVALUES
 mapagent call for HttpServerConnection

 Once this is implemented, it a simple case of implementing a simple dialog
 that displays the values returned by this API.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1312>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list