aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authorSithara Nambiar <sitharav.aredath@huawei.com>2020-08-16 22:28:48 +0530
committerSithara Nambiar <sitharav.aredath@huawei.com>2020-08-16 22:28:48 +0530
commite493d4ff662d6f7bf0c7adbc58c356beb2fe2dce (patch)
tree4f5a0e5b6a6b9825846e9dde3d4e49102b27254b /catalog-be
parent5195fbbaa1f925242e9ee9525489b2eb98d01025 (diff)
SDC changes for adding helm
Issue-ID: REQ-341 Signed-off-by: Sithara Nambiar <sitharav.aredath@huawei.com> Change-Id: I4721f6e8e2690dc5f7c10bb7b1b2f53ec5f318c7
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb9
-rw-r--r--catalog-be/src/main/resources/config/configuration.yaml7
-rw-r--r--catalog-be/src/test/resources/config/catalog-be/configuration.yaml9
3 files changed, 25 insertions, 0 deletions
diff --git a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
index d7a2d667ee..830ba40e66 100644
--- a/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
+++ b/catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb
@@ -206,6 +206,15 @@ artifacts:
- PNF
acceptedTypes:
- zip
+ - type: HELM
+ categories:
+ - DEPLOYMENT
+ componentTypes:
+ - SERVICE
+ - RESOURCE
+ resourceTypes: *allResourceTypes
+ acceptedTypes:
+ - tgz
- type: YANG_XML
categories:
- DEPLOYMENT
diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml
index 3e34e2176f..ab89d8f158 100644
--- a/catalog-be/src/main/resources/config/configuration.yaml
+++ b/catalog-be/src/main/resources/config/configuration.yaml
@@ -301,6 +301,9 @@ serviceDeploymentArtifacts:
CONTROLLER_BLUEPRINT_ARCHIVE:
acceptedTypes:
- zip
+ HELM:
+ acceptedTypes:
+ - tgz
YANG_XML:
acceptedTypes:
- xml
@@ -498,6 +501,10 @@ resourceDeploymentArtifacts:
validForResourceTypes:
- VF
- PNF
+ HELM:
+ acceptedTypes:
+ - tgz
+ validForResourceTypes: *allResourceTypes
CONTROLLER_BLUEPRINT_ARCHIVE:
acceptedTypes:
- zip
diff --git a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml
index 0065d7b8a8..bf6176fd25 100644
--- a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml
+++ b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml
@@ -566,6 +566,15 @@ artifacts:
- PNF
acceptedTypes:
- zip
+ - type: HELM
+ categories:
+ - DEPLOYMENT
+ componentTypes:
+ - SERVICE
+ - RESOURCE
+ resourceTypes: *allResourceTypes
+ acceptedTypes:
+ - tgz
- type: YANG_XML
categories:
- DEPLOYMENT