From f51670bdc0a71789176ef7b29c8fb72d0c3e43d5 Mon Sep 17 00:00:00 2001 From: Jerry Flood Date: Wed, 17 Apr 2019 14:54:16 -0400 Subject: Add cmso-sonar to generate jacoco files Issue-ID: OPTFRA-474 Change-Id: I0a1cd03708fda09255ada655df727acfa7498d09 Signed-off-by: Jerry Flood --- .../cmso-topology/etc/config/cadi.properties | 4 --- .../cmso-topology/etc/config/topology.properties | 30 ---------------------- .../cmso-topology/etc/startJacocoService.sh | 14 ---------- 3 files changed, 48 deletions(-) delete mode 100644 cmso-robot/docker/cmso-service/cmso-topology/etc/config/cadi.properties delete mode 100644 cmso-robot/docker/cmso-service/cmso-topology/etc/config/topology.properties delete mode 100644 cmso-robot/docker/cmso-service/cmso-topology/etc/startJacocoService.sh (limited to 'cmso-robot/docker/cmso-service/cmso-topology/etc') diff --git a/cmso-robot/docker/cmso-service/cmso-topology/etc/config/cadi.properties b/cmso-robot/docker/cmso-service/cmso-topology/etc/config/cadi.properties deleted file mode 100644 index 5135d1d..0000000 --- a/cmso-robot/docker/cmso-service/cmso-topology/etc/config/cadi.properties +++ /dev/null @@ -1,4 +0,0 @@ - -cadi_loglevel=DEBUG -cadi_prop_files=src/main/resources/aaf/org.onap.oof.props - diff --git a/cmso-robot/docker/cmso-service/cmso-topology/etc/config/topology.properties b/cmso-robot/docker/cmso-service/cmso-topology/etc/config/topology.properties deleted file mode 100644 index 5ca252f..0000000 --- a/cmso-robot/docker/cmso-service/cmso-topology/etc/config/topology.properties +++ /dev/null @@ -1,30 +0,0 @@ -#------------------------------------------------------------------------------- -# Copyright 2017-2019 AT&T Intellectual Property. -# Modifications Copyright 2018 IBM. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# -# Unless otherwise specified, all documentation contained herein is licensed -# under the Creative Commons License, Attribution 4.0 Intl. (the ??License?); -# you may not use this documentation except in compliance with the License. -# You may obtain a copy of the License at -# -# https://creativecommons.org/licenses/by/4.0/ -# -# Unless required by applicable law or agreed to in writing, documentation -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -#------------------------------------------------------------------------------- diff --git a/cmso-robot/docker/cmso-service/cmso-topology/etc/startJacocoService.sh b/cmso-robot/docker/cmso-service/cmso-topology/etc/startJacocoService.sh deleted file mode 100644 index 0db6f1f..0000000 --- a/cmso-robot/docker/cmso-service/cmso-topology/etc/startJacocoService.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -apt update -apt install wget -apt install unzip --assume-yes -wget http://repo1.maven.org/maven2/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2.jar -unzip org.jacoco.agent-0.8.2.jar -cp org.jacoco.agent-0.8.2/jacocoagent.jar . -ls -l - -VM_ARGS="${VM_ARGS} -javaagent:./jacocoagent.jar=destfile=/share/logs/jacoco.exec,dumponexit=true,jmx=true,append=true,output=file,includes=org.onap.optf.cmso.*" - -echo "VM_ARGS=${VM_ARGS}" - -java -Djava.security.egd=file:/dev/./urandom -Xms256m -Xmx1024m ${VM_ARGS} -jar ./app.jar -- cgit 1.2.3-korg