Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-843 Web console development
  3. IGNITE-1749

Need to use secret.properties to generate ConfigurationFactory.java

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0.final
    • wizards
    • None

    Description

      Currently the generated java-code for data source is incorrect
      (DB2 in my case)

          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_");
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkonstantinov Pavel Konstantinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: