summaryrefslogtreecommitdiffstats
path: root/tools/development/run-pm-mapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/development/run-pm-mapper.sh')
-rwxr-xr-xtools/development/run-pm-mapper.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/development/run-pm-mapper.sh b/tools/development/run-pm-mapper.sh
index 91c7766..15f1e0f 100755
--- a/tools/development/run-pm-mapper.sh
+++ b/tools/development/run-pm-mapper.sh
@@ -1,6 +1,6 @@
#!/bin/bash
# ============LICENSE_START=======================================================
-# Copyright (C) 2021-2022 NOKIA
+# Copyright (C) 2021-2022 Nokia. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -18,9 +18,10 @@ source ./env/containers_ip
IMAGE=onap/org.onap.dcaegen2.services.pm-mapper:latest
TARGET_CONFIG_PATH=/app-config/application_config.yaml
-docker run -d -p 8081:8081 \
+docker run -d -p 8081:8081 -p 5005:5005 \
--mount type=bind,source="$PWD/certs",target="/opt/app/pm-mapper/etc/certs/" \
--mount type=bind,source="$PWD/resources/mount_config.yaml",target="$TARGET_CONFIG_PATH" \
+ -e "JAVA_TOOL_OPTIONS=-agentlib:jdwp=transport=dt_socket,address=*:5005,server=y,suspend=n" \
-e "CONFIG_BINDING_SERVICE=0.0.0.0" \
-e "CONFIG_BINDING_SERVICE_SERVICE_PORT=10000" \
-e "CBS_CLIENT_CONFIG_PATH=$TARGET_CONFIG_PATH" \