diff options
author | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-07-01 10:32:58 +0530 |
---|---|---|
committer | MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> | 2021-07-01 10:32:58 +0530 |
commit | cc1071af3313317e6e2dc8d8aeb23e0b16fe62bd (patch) | |
tree | cf62bb37f7a06fded2d77456759fdff2de3f4c01 /bpmn/mso-infrastructure-bpmn/src | |
parent | 5c2912902c85d25e6471363798c5ec01df57da25 (diff) |
Refactoring for bpmn-infra
Issue-ID: SO-3674
Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com>
Change-Id: Icac20cf1f00ac016a26a8ab1677da21f2d33e84a
Diffstat (limited to 'bpmn/mso-infrastructure-bpmn/src')
-rw-r--r-- | bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/CamundaConfig.java | 2 | ||||
-rw-r--r-- | bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/CamundaConfig.java b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/CamundaConfig.java index 16566e71c7..6358524006 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/CamundaConfig.java +++ b/bpmn/mso-infrastructure-bpmn/src/main/java/org/onap/so/bpmn/infrastructure/CamundaConfig.java @@ -7,11 +7,9 @@ import org.camunda.bpm.engine.RepositoryService; import org.camunda.bpm.engine.RuntimeService; import org.camunda.bpm.engine.spring.application.SpringServletProcessApplication; import org.springframework.context.annotation.Bean; -import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration -@ComponentScan public class CamundaConfig { @Bean diff --git a/bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml b/bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml index 0f1499fdba..f94471d4e7 100644 --- a/bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml +++ b/bpmn/mso-infrastructure-bpmn/src/main/resources/application.yaml @@ -326,8 +326,8 @@ spring: datasource: hikari: jdbcUrl: jdbc:mariadb://${DB_HOST}:3306/camundabpmn - username: root - password: password + username: ${DB_ADMIN_USERNAME} + password: ${DB_ADMIN_PASSWORD} driver-class-name: org.mariadb.jdbc.Driver pool-name: bpmn-pool registerMbeans: true |