From fb0b3dc943bca0346271e0889ff2e7dbf3c77eeb Mon Sep 17 00:00:00 2001 From: Jozsef Csongvai Date: Tue, 11 Aug 2020 16:17:55 -0400 Subject: Add test-blueprint-kotlin-parent This parent project is intended for inheritence in CBA pom.xml. It provides dependencies for testing and mocking kotlin scripts. By turning a CBA into a maven project which inherits this parent, users will be able to debug and unit test their kotlin scripts. The parent also includes a profile (-Pdeploy-cba) which will enrich and publish the CBA to a running instance of CDS, defined by properties in the CBA pom.xml. This patch also adds a common assembly descriptor for resuse in maven-assembly-plugin where it is used to package CBA into zip. Issue-ID: CCSDK-2642 Signed-off-by: Jozsef Csongvai Change-Id: I160c3c3e982ad4ed46f0704d6dc27dadfb0dfdc8 --- .../resource-audit/Distribution/cba_zip.xml | 43 ---------------------- .../test-blueprint/resource-audit/pom.xml | 13 +++++-- 2 files changed, 10 insertions(+), 46 deletions(-) delete mode 100755 components/model-catalog/blueprint-model/test-blueprint/resource-audit/Distribution/cba_zip.xml (limited to 'components/model-catalog/blueprint-model/test-blueprint/resource-audit') diff --git a/components/model-catalog/blueprint-model/test-blueprint/resource-audit/Distribution/cba_zip.xml b/components/model-catalog/blueprint-model/test-blueprint/resource-audit/Distribution/cba_zip.xml deleted file mode 100755 index c6c3bde71..000000000 --- a/components/model-catalog/blueprint-model/test-blueprint/resource-audit/Distribution/cba_zip.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - cba - - zip - - false - - - ${project.basedir} - - Definitions/** - Distribution/** - Environments/** - Plans/** - Others/** - Scripts/** - Templates/** - TOSCA-Metadata/** - pom.xml - - - - \ No newline at end of file diff --git a/components/model-catalog/blueprint-model/test-blueprint/resource-audit/pom.xml b/components/model-catalog/blueprint-model/test-blueprint/resource-audit/pom.xml index 21d9b8df5..3cc08222d 100644 --- a/components/model-catalog/blueprint-model/test-blueprint/resource-audit/pom.xml +++ b/components/model-catalog/blueprint-model/test-blueprint/resource-audit/pom.xml @@ -43,6 +43,13 @@ maven-assembly-plugin 3.1.0 + + + org.onap.ccsdk.cds.blueprintsprocessor + cba-assembly-descriptor + 1.0.0-SNAPSHOT + + cba @@ -52,9 +59,9 @@ false - - Distribution/cba_zip.xml - + + cba_zip + -- cgit 1.2.3-korg