diff options
author | jananib <janani.b@huawei.com> | 2020-04-01 13:29:21 +0530 |
---|---|---|
committer | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2020-04-01 12:37:58 +0000 |
commit | a02f365824e352bbc379c3e75b590927ecd649c2 (patch) | |
tree | 9c54097f379aaf08d2609793d7071dcf7c4e44a5 /adapters | |
parent | 79d1e0244ce1f01f76640491dd6fca23420212cd (diff) |
Credential addition in NSSMF adapter
Bug fix
Change-Id: Iae0eb5748190449ddcc441d77a3a9529783a4b00
Issue-ID: SO-2775
Signed-off-by: jananib <janani.b@huawei.com>
(cherry picked from commit 592366c73cdd32c387768678cfadc9297808844a)
Diffstat (limited to 'adapters')
-rw-r--r-- | adapters/mso-nssmf-adapter/src/main/resources/application.yaml | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/adapters/mso-nssmf-adapter/src/main/resources/application.yaml b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml index cb2f04d7ec..f8b28efaf8 100644 --- a/adapters/mso-nssmf-adapter/src/main/resources/application.yaml +++ b/adapters/mso-nssmf-adapter/src/main/resources/application.yaml @@ -25,11 +25,10 @@ logging: spring: datasource: + jdbc-url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb + username: ${DB_USERNAME} + password: ${DB_PASSWORD} driver-class-name: org.mariadb.jdbc.Driver - jdbcUrl: jdbc:mariadb://192.168.235.44:30444/requestdb - username: root - password: secretpassword - jpa: show-sql: false hibernate: @@ -37,6 +36,14 @@ spring: ddl-auto: validate naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy enable-lazy-load-no-trans: true + security: + usercredentials: + - username: bpel + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: BPEL-Client + - username: mso_admin + password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke' + role: ACTUATOR server: port: 8080 tomcat: @@ -46,8 +53,6 @@ mso: key: 07a7159d3bf51a0e53be7a8f89699be7 site-name: localSite logPath: ./logs/nssmf - msb-ip: msb-iag.{{ include "common.namespace" . }} - msb-port: 80 adapters: requestDb: endpoint: https://so-request-db-adapter.{{ include "common.namespace" . }}:8083 |