From 2365471ec9b74779caad1edb5a6397305426abc7 Mon Sep 17 00:00:00 2001 From: waynedunican Date: Mon, 31 Aug 2020 13:17:03 +0100 Subject: JavaScript Sonar Coverage setup Sonar properties added to apex-pdp in order to pick up JavaScript coverage in SonarCloud Issue-ID: POLICY-2611 Change-Id: Ia9c5837bc18a34722437b2b299e85c6a8a67088d Signed-off-by: waynedunican --- client/client-deployment/pom.xml | 7 +++++++ client/client-full/pom.xml | 7 +++++++ client/client-monitoring/pom.xml | 7 +++++++ pom.xml | 1 + 4 files changed, 22 insertions(+) diff --git a/client/client-deployment/pom.xml b/client/client-deployment/pom.xml index ab7d22fcf..0818b30d6 100644 --- a/client/client-deployment/pom.xml +++ b/client/client-deployment/pom.xml @@ -32,6 +32,13 @@ ${project.artifactId} Web client for deploying models in Apex engine + + src/main/resources/webapp + ${project.basedir}/src/main/resources/webapp/node/node + ${project.basedir}/src/main,${project.basedir}/src/main/resources/webapp/js + src/main/resources/webapp/js/__test__/** + + org.onap.policy.common diff --git a/client/client-full/pom.xml b/client/client-full/pom.xml index 2bd8e1476..57ab77889 100644 --- a/client/client-full/pom.xml +++ b/client/client-full/pom.xml @@ -32,6 +32,13 @@ ${project.artifactId} Web clients for managing Apex engines + + src/main/resources/webapp + ${project.basedir}/src/main/resources/webapp/node/node + ${project.basedir}/src/main,${project.basedir}/src/main/resources/webapp/js + src/main/resources/webapp/js/__test__/**,src/main/resources/webapp/js/jquery + + org.onap.policy.apex-pdp.client diff --git a/client/client-monitoring/pom.xml b/client/client-monitoring/pom.xml index 91c136310..c4938109a 100644 --- a/client/client-monitoring/pom.xml +++ b/client/client-monitoring/pom.xml @@ -32,6 +32,13 @@ ${project.artifactId} Web client for monitoring Apex engines + + src/main/resources/webapp + ${project.basedir}/src/main/resources/webapp/node/node + ${project.basedir}/src/main,${project.basedir}/src/main/resources/webapp/js + src/main/resources/webapp/js/__test__/**,src/main/resources/webapp/js/avsc,src/main/resources/webapp/js/d3 + + org.onap.policy.common diff --git a/pom.xml b/pom.xml index d7dff80c8..4878a0aae 100644 --- a/pom.xml +++ b/pom.xml @@ -50,6 +50,7 @@ 4.1.5.Final 20041127.091804 2.8.0 + ${project.basedir}/target/code-coverage/lcov.info -- cgit 1.2.3-korg