[ 
https://issues.apache.org/jira/browse/IGNITE-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Konstantinov updated IGNITE-1749:
---------------------------------------
    Description: 
Currently the generated java-code for data source is incorrect
(DB2 in my case)
{code}
    dataSourceDB.setServerName("_SERVER_NAME_");
        // dataSourceDB.setPortNumber("_PORT_NUMBER_"); // 50000 by default
        dataSourceDB.setDatabaseName("_DATABASE_NAME_");
        // dataSourceDB.setDriverType(_DRIVER_TYPE_); // 4 by default
        dataSourceDB.setUser("_USER_NAME_");
        dataSourceDB.setPassword("_PASSWORD_");
{code}

The values "SERVER_NAME", "DATABASE_NAME" and so on should be loaded from the 
secret.properties file.

  was:
Currently the generated java-code for data source is incorrect
(DB2 in my case)
{code}
    dataSourceDB.setServerName("_SERVER_NAME_");
        // dataSourceDB.setPortNumber("_PORT_NUMBER_"); // 50000 by default
        dataSourceDB.setDatabaseName("_DATABASE_NAME_");
        // dataSourceDB.setDriverType(_DRIVER_TYPE_); // 4 by default
        dataSourceDB.setUser("_USER_NAME_");
        dataSourceDB.setPassword("_PASSWORD_");
{code}

The values "SERVER_NAME", "DATABASE_NAME" and so on should be load from 
secret.properties file.


> Need to use secret.properties to generate ConfigurationFactory.java
> -------------------------------------------------------------------
>
>                 Key: IGNITE-1749
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1749
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: wizards
>            Reporter: Pavel Konstantinov
>             Fix For: 1.5
>
>
> Currently the generated java-code for data source is incorrect
> (DB2 in my case)
> {code}
>     dataSourceDB.setServerName("_SERVER_NAME_");
>         // dataSourceDB.setPortNumber("_PORT_NUMBER_"); // 50000 by default
>         dataSourceDB.setDatabaseName("_DATABASE_NAME_");
>         // dataSourceDB.setDriverType(_DRIVER_TYPE_); // 4 by default
>         dataSourceDB.setUser("_USER_NAME_");
>         dataSourceDB.setPassword("_PASSWORD_");
> {code}
> The values "SERVER_NAME", "DATABASE_NAME" and so on should be loaded from the 
> secret.properties file.



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

Reply via email to