aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager
diff options
context:
space:
mode:
authorudhay_vz <udhayachandran.m@verizon.com>2018-09-20 15:06:04 +0530
committerOren Kleks <orenkle@amdocs.com>2018-10-08 09:56:14 +0000
commit90943911394d3672e714d2b743c143a2dd4408cc (patch)
tree6e9b0100524c326a2b20bec52c8b10a561e11044 /openecomp-be/backend/openecomp-sdc-vendor-software-product-manager
parentd4929e3b2a53ae05b6f213da9b3255c2bce12d3f (diff)
SOL004 compliant CSAR Manifest file
Change-Id: I7f63fb12f413155072a5f35204f2b80ad8b7517b Issue-ID: SDC-1745 Signed-off-by: udhay<udhayachandran.m@verizon.com>
Diffstat (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager')
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/csar/CSARConstants.java2
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/invalidFileInRoot.csarbin7335 -> 7331 bytes
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca1.mf10
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca2.mf10
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca4.mf10
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/ValidTosca.mf10
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/missingMainServiceTemplate.csarbin4013 -> 4009 bytes
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/successfulUpload.csarbin5681 -> 5677 bytes
8 files changed, 21 insertions, 21 deletions
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/csar/CSARConstants.java b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/csar/CSARConstants.java
index 7f6a0e51f8..8bb67988c1 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/csar/CSARConstants.java
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/main/java/org/openecomp/sdc/vendorsoftwareproduct/impl/orchestration/csar/CSARConstants.java
@@ -30,7 +30,7 @@ public class CSARConstants {
of(MAIN_SERVICE_TEMPLATE_MF_FILE_NAME,MAIN_SERVICE_TEMPLATE_YAML_FILE_NAME);
public static final String METADATA_MF_ATTRIBUTE = "metadata";
- public static final String SOURCE_MF_ATTRIBUTE = "source";
+ public static final String SOURCE_MF_ATTRIBUTE = "Source";
public static final String SEPERATOR_MF_ATTRIBUTE = ":";
private CSARConstants() {
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/invalidFileInRoot.csar b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/invalidFileInRoot.csar
index 95adb41d22..2924254892 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/invalidFileInRoot.csar
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/invalidFileInRoot.csar
Binary files differ
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca1.mf b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca1.mf
index f28014e2d6..ebdec213d3 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca1.mf
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca1.mf
@@ -1,11 +1,11 @@
-source: MainServiceTemplate.yaml
+Source: MainServiceTemplate.yaml
-source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
+Source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
-source: Artifacts/install.sh
+Source: Artifacts/install.sh
-source: Artifacts/create_stack.sh
+Source: Artifacts/create_stack.sh
-source: Licenses/license.xml
+Source: Licenses/license.xml
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca2.mf b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca2.mf
index 95f7a41d68..057f54867b 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca2.mf
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca2.mf
@@ -2,17 +2,17 @@ metadata:
vnf_product_name: Mock
vnf_provider_id: ZTE
-source: MainServiceTemplate.yaml
+Source: MainServiceTemplate.yaml
vnf_package_version: 1.0
vnf_release_data_time: 2017.01.01T10:00+03:00
-source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
+Source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
-source: Artifacts/install.sh
+Source: Artifacts/install.sh
-source: Artifacts/create_stack.sh
+Source: Artifacts/create_stack.sh
-source: Licenses/license.xml
+Source: Licenses/license.xml
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca4.mf b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca4.mf
index a563ddd581..d8e291c4a3 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca4.mf
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/InvalidTosca4.mf
@@ -1,12 +1,12 @@
metadata:
-source: MainServiceTemplate.yaml
+Source: MainServiceTemplate.yaml
-source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
+Source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
-source: Artifacts/install.sh
+Source: Artifacts/install.sh
-source: Artifacts/create_stack.sh
+Source: Artifacts/create_stack.sh
-source: Licenses/license.xml
+Source: Licenses/license.xml
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/ValidTosca.mf b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/ValidTosca.mf
index 88c67517ce..b2accb7a1c 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/ValidTosca.mf
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/manifest/ValidTosca.mf
@@ -4,12 +4,12 @@ metadata:
vnf_package_version: 1.0
vnf_release_data_time: 2017.01.01T10:00+03:00
-source: MainServiceTemplate.yaml
+Source: MainServiceTemplate.yaml
-source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
+Source: Definitions/GlobalSubstitutionTypesServiceTemplate.yaml
-source: Artifacts/install.sh
+Source: Artifacts/install.sh
-source: Artifacts/create_stack.sh
+Source: Artifacts/create_stack.sh
-source: Licenses/license.xml
+Source: Licenses/license.xml
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/missingMainServiceTemplate.csar b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/missingMainServiceTemplate.csar
index 86269fef15..39cbc6bf47 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/missingMainServiceTemplate.csar
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/missingMainServiceTemplate.csar
Binary files differ
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/successfulUpload.csar b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/successfulUpload.csar
index 6a203ddbfd..d513b8f732 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/successfulUpload.csar
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/vspmanager.csar/successfulUpload.csar
Binary files differ