summaryrefslogtreecommitdiffstats
path: root/catalog-be
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2019-10-03 15:44:48 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-11-03 15:43:27 +0000
commit608be265c8491686f269ed12d5d48654ddb090b5 (patch)
tree83a5d2ea332ce8abd271b376306ce42d0466a61d /catalog-be
parent433947b5ab5e28fc29aee447de934de89a707419 (diff)
Create new non-mano Artifact Type entry for pnf software information
Issue-ID: SDC-2615 Change-Id: I4dd879d50b1dec58aceeaf0c265901c62d038071 Signed-off-by: aribeiro <anderson.ribeiro@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.erb7
-rw-r--r--catalog-be/src/main/resources/config/configuration.yaml7
-rw-r--r--catalog-be/src/test/resources/config/catalog-be/configuration.yaml7
3 files changed, 21 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 7ec0376a0c..605a831e0e 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
@@ -137,6 +137,7 @@ artifactTypes:
- GUIDE
- PLAN
- CONTROLLER_BLUEPRINT_ARCHIVE
+ - PNF_SW_INFORMATION
licenseTypes:
- User
@@ -607,6 +608,12 @@ resourceInformationalArtifacts:
- VFCMT
- Abstract
- PNF
+ PNF_SW_INFORMATION:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - PNF
SNMP_POLL:
acceptedTypes:
validForResourceTypes: *allResourceTypes
diff --git a/catalog-be/src/main/resources/config/configuration.yaml b/catalog-be/src/main/resources/config/configuration.yaml
index a013b78bb1..2df1fc45cb 100644
--- a/catalog-be/src/main/resources/config/configuration.yaml
+++ b/catalog-be/src/main/resources/config/configuration.yaml
@@ -155,6 +155,7 @@ artifactTypes:
- SNMP_TRAP
- GUIDE
- CONTROLLER_BLUEPRINT_ARCHIVE
+ - PNF_SW_INFORMATION
licenseTypes:
- User
@@ -609,6 +610,12 @@ resourceInformationalArtifacts:
- VFCMT
- Abstract
- PNF
+ PNF_SW_INFORMATION:
+ acceptedTypes:
+ - yml
+ - yaml
+ validForResourceTypes:
+ - PNF
SNMP_POLL:
acceptedTypes:
validForResourceTypes: *allResourceTypes
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 803805edf1..ad31f5d4a3 100644
--- a/catalog-be/src/test/resources/config/catalog-be/configuration.yaml
+++ b/catalog-be/src/test/resources/config/catalog-be/configuration.yaml
@@ -134,6 +134,7 @@ artifactTypes:
- SNMP_POLL
- SNMP_TRAP
- GUIDE
+ - PNF_SW_INFORMATION
licenseTypes:
- User
@@ -529,6 +530,12 @@ resourceInformationalArtifacts:
- VF
- VFC
- CVFC
+ PNF_SW_INFORMATION:
+ acceptedTypes:
+ - yaml
+ - yml
+ validForResourceTypes:
+ - PNF
resourceInformationalDeployedArtifacts: