You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2016/07/25 06:09:20 UTC

[jira] [Comment Edited] (IGNITE-3390) ODBC: Add system DSN support for Windows.

    [ https://issues.apache.org/jira/browse/IGNITE-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15391393#comment-15391393 ] 

Vladimir Ozerov edited comment on IGNITE-3390 at 7/25/16 6:08 AM:
------------------------------------------------------------------

Igor,

In this case let's add "address" option handling first, and then create correct screen right away. No need to rush here. Public API and UI are "one chance" things. You either do them correctly immediately, or have to bother with deprecations. I do not want to have UI which is already destined to be deprecated quickly.

"Address" option should be very simple:
1) {{host:port}} - use provided host and port;
2) {{host}} - use provided host and default port (users will use this form by default);
3) Addresses are delimited by semicolon: {{host1;host2:port2;host3}}.

This way you will have only 2 fields - Address and Cache, and Address is normally will require only host name without port. 


was (Author: vozerov):
Igor,

In this case let's add "address" option handling first, and then create correct screen right away. No need to rush here. Public API and UI are "one chance" things. You either do them correctly immediately, or have to bother with deprecations. I do not want to have UI which is already destined to be deprecated quickly.

"Address" option should be very simple:
1) {{host:port}} - use provided host and port';
2) {{host}} - use provided host and default port (users will use this form by default);
3) Addresses are delimited by semicolon: {{host1;host2;port2;host3}}.

This way you will have only 2 fields - Address and Cache, and Address is normally will require only host name without port. 

> ODBC: Add system DSN support for Windows.
> -----------------------------------------
>
>                 Key: IGNITE-3390
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3390
>             Project: Ignite
>          Issue Type: Task
>          Components: odbc
>    Affects Versions: 1.6
>            Reporter: Igor Sapego
>            Assignee: Igor Sapego
>             Fix For: 1.7
>
>         Attachments: dsn_configuration_window.png
>
>
> Need to add support for the DSN creation/modification in Windows. To do so we will need to create some UI windows with matching fields.
> DSN stands for the Data Source Name, and it is actually list of options for the ODBC driver which can be used to establish connection. In our case it is set of the host name, tcp port and cache name to which connection should be established. In Windows it seems to be common practice to use "ODBC Data Source Administrator" system tool to configure DNS for the ODBC driver. "ODBC Data Source Administrator" it it's turn uses GUI windows to get DSN information from the user. So to support this feature, we'd needed to implement GUI window that would allow our users to configure their own DSNs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)