Pavel Konstantinov created IGNITE-1749:
------------------------------------------

             Summary: 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
            Reporter: Pavel Konstantinov


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.



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

Reply via email to