aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dcaegen2-collectors-datafile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dcaegen2-collectors-datafile')
-rwxr-xr-xscripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh10
-rw-r--r--scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml3
2 files changed, 1 insertions, 12 deletions
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
index 68e0745d..c63eaf68 100755
--- a/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
+++ b/scripts/dcaegen2-collectors-datafile/dfc-management/dfc-start.sh
@@ -17,16 +17,6 @@ for i in {1..10}; do
if [ $(docker inspect --format '{{ .State.Running }}' $DFC_APP) ]
then
echo "DFC app Running"
-
- # enable TRACE logging of DFC
- docker exec $DFC_APP /bin/sh -c " sed -i 's/org.onap.dcaegen2.collectors.datafile: WARN/org.onap.dcaegen2.collectors.datafile: TRACE/g' /opt/app/datafile/config/application.yaml"
-
- #enable TRACE logging of spring-framework
- docker exec $DFC_APP /bin/sh -c " sed -i 's/org.springframework.data: ERROR/org.springframework.data: TRACE/g' /opt/app/datafile/config/application.yaml"
-
- docker restart $DFC_APP
- sleep 10
-
break
else
echo sleep $i
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml b/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml
index 9738bcde..9e15ccf0 100644
--- a/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml
+++ b/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml
@@ -6,8 +6,7 @@ networks:
services:
dfc:
#image fron Nexus
- #image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
- image: yanhuanwang/dfc:latest
+ image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
#local image for test purposes
#image: org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
container_name: dfc_app0