aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authorkooper <sergey.sachkov@est.tech>2019-04-03 13:23:08 +0000
committerkooper <sergey.sachkov@est.tech>2019-04-03 13:23:08 +0000
commit570fe1445174c724577e0d481154ac7703393798 (patch)
tree37e340d822bc253a377b4574426ee940d1f3cd28 /catalog-be
parentc6f9f152bbed844843e4f2a137bcfa1b726dd81f (diff)
Add artifact types
Change-Id: I48f2926623441d0729c5d5b476f3e72f962b64f8 Issue-ID: SDC-2156 Signed-off-by: kooper <sergey.sachkov@est.tech>
Diffstat (limited to 'catalog-be')
-rw-r--r--catalog-be/sdc-backend/chef-repo/cookbooks/sdc-catalog-be/templates/default/BE-configuration.yaml.erb19
-rw-r--r--catalog-be/src/main/resources/config/configuration.yaml19
2 files changed, 38 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 d0c5a510b2..078b9b1cd9 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
@@ -467,6 +467,25 @@ resourceDeploymentArtifacts:
validForResourceTypes:
- VF
- PNF
+ YANG_MODULE:
+ acceptedTypes:
+ - yang
+ validForResourceTypes:
+ - VF
+ - PNF
+ ANSIBLE_PLAYBOOK:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - VF
+ - PNF
+ ONBOARDED_PACKAGE:
+ acceptedTypes:
+ - csar
+ validForResourceTypes:
+ - VF
+ - PNF
#PLAN
PLAN:
diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml
index 632e15e02c..2a7e8e35d1 100644
--- a/catalog-be/src/main/resources/config/configuration.yaml
+++ b/catalog-be/src/main/resources/config/configuration.yaml
@@ -492,6 +492,25 @@ resourceDeploymentArtifacts:
validForResourceTypes:
- VF
- PNF
+ YANG_MODULE:
+ acceptedTypes:
+ - yang
+ validForResourceTypes:
+ - VF
+ - PNF
+ ANSIBLE_PLAYBOOK:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - VF
+ - PNF
+ ONBOARDED_PACKAGE:
+ acceptedTypes:
+ - csar
+ validForResourceTypes:
+ - VF
+ - PNF
resourceInstanceDeploymentArtifacts:
HEAT_ENV: