diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-04-05 15:01:38 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-04-05 15:01:38 +0200 |
commit | 6930f1f6540273cbdfe325e5f77dcbb4960fd9f3 (patch) | |
tree | 76072f1ed5a906d55a787e811635a7363321a476 /prh-app-server/config/application.yaml | |
parent | 86690cd541f2aadabb8659e3ce87eec5de8acdc4 (diff) |
Add endpoint for load configuration(DMaaP, A&AI)
Refactor from tests ppoint of view
Change-Id: If747a499c70517a74bda6fbc895306271dc61d13
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server/config/application.yaml')
-rw-r--r-- | prh-app-server/config/application.yaml | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/prh-app-server/config/application.yaml b/prh-app-server/config/application.yaml index efdaa9cf..8b2e7ac7 100644 --- a/prh-app-server/config/application.yaml +++ b/prh-app-server/config/application.yaml @@ -1,13 +1,32 @@ +spring: + profiles: + active: prod server: port: 8100 +logging: + level: + ROOT: ERROR + org.springframework: ERROR + org.springframework.data: ERROR + org.onap.dcaegen2.services.prh: INFO + file: opt/log/application.log app: - AAIHttpClientConfiguration: - aaiHost: "localhost" - aaiHostPortNumber: 8080 - aaiProtocol: "http" - aaiUserName: "admin" - aaiUserPassword: "admin" - aaiIgnoreSSLCertificateErrors: true + configs: + aaiHttpClientConfiguration: + aaiHost: "dns.aai.host" + aaiHostPortNumber: 8080 + aaiProtocol: "https" + aaiUserName: "admin" + aaiUserPassword: "admin" + aaiIgnoreSSLCertificateErrors: true +#app: +# AAIHttpClientConfiguration: +# aaiHost: "localhost" +# aaiHostPortNumber: 8080 +# aaiProtocol: "http" +# aaiUserName: "admin" +# aaiUserPassword: "admin" +# aaiIgnoreSSLCertificateErrors: true # dmaap-consumer-configuration: # dmmaphost-name: "localhost" # dmmapport-number: 2222 |