diff options
author | grabinsk <maciej.grabinski@nokia.com> | 2019-06-17 11:02:01 +0200 |
---|---|---|
committer | Maciej Grabinski <maciej.grabinski@nokia.com> | 2019-06-17 11:26:29 +0000 |
commit | ec1d73a19c4fb2e8620b84ea533c6af584a817ce (patch) | |
tree | 4af8f161a6840935a7155476aa09ad832b00878e /tests/dcaegen2 | |
parent | cc3934558a84c3b59e0d93d69b6b9ccc1f6e66be (diff) |
Move PRH loggers config to CBS;
Update required CBS connectivity attrs passed via env;
Change-Id: Ib70850054499f0ee852ad4b9f0e0ae963b35e6f4
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'tests/dcaegen2')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/.env | 3 | ||||
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/docker-compose.yml | 9 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/.env b/tests/dcaegen2/prh-testcases/resources/.env index a558a2e8..b1de55a9 100644 --- a/tests/dcaegen2/prh-testcases/resources/.env +++ b/tests/dcaegen2/prh-testcases/resources/.env @@ -1,5 +1,4 @@ -LOG_LEVEL=INFO -PRH_LOG_LEVEL=TRACE HOSTNAME=dcae-prh CONSUL_HOST=consul CONFIG_BINDING_SERVICE=cbs +CONFIG_BINDING_SERVICE_SERVICE_PORT=10000
\ No newline at end of file diff --git a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml index aba658b0..f8472a5d 100644 --- a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml +++ b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml @@ -8,11 +8,10 @@ services: volumes: - ./simulator/certs:/tmp/certs environment: - - LOG_LEVEL - - PRH_LOG_LEVEL - - HOSTNAME - - CONSUL_HOST + - HOSTNAME=dcae-prh + - CONSUL_HOST # not in use, but still required by SDK - should be removed later on - CONFIG_BINDING_SERVICE + - CONFIG_BINDING_SERVICE_SERVICE_PORT container_name: prh depends_on: cbs: @@ -55,6 +54,8 @@ services: image: consul:1.0.6 restart: on-failure command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{ + "logging.level.org.onap.dcaegen2.services.prh": "debug", + "logging.level.org.onap.dcaegen2.services.sdk": "debug", "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin", "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin", "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json", |