Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-8787

Unit tests for Spring Boot database configuration

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: L3 - Default
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: spring-boot
    • Labels:
      None

      Description

      Setting of following properties are not being tested for DefaultDatasourceConfiguration class:

      configuration.setDatabaseType(database.getType());
          configuration.setDatabaseSchemaUpdate(database.getSchemaUpdate());
      
          if (!StringUtils.isEmpty(database.getTablePrefix())) {
            configuration.setDatabaseTablePrefix(database.getTablePrefix());
          }
      
          if(!StringUtils.isEmpty(database.getSchemaName())) {
            configuration.setDatabaseSchema(database.getSchemaName());
          }
      
          configuration.setJdbcBatchProcessing(database.isJdbcBatchProcessing());
      

        Attachments

          Activity

            People

            Assignee:
            svetlana.dorokhova Svetlana Dorokhova
            Reporter:
            svetlana.dorokhova Svetlana Dorokhova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: