From f773610d0952940db42376cbb36ba63cb2cacc35 Mon Sep 17 00:00:00 2001 From: Michael Lando Date: Sun, 2 Sep 2018 14:43:47 +0300 Subject: add software_versions property add software versions to the pnf model Change-Id: I46c4f5d3f90cd84f08e2f14d61143cdcb5349855 Issue-ID: SDC-1698 Signed-off-by: Michael Lando --- .../resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml | 6 +++++- .../src/main/resources/scripts/import/tosca/typesToUpgrade.json | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml index db3fc7cd3e..8adfa78635 100644 --- a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml +++ b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_PNF/Generic_PNF.yml @@ -8,4 +8,8 @@ node_types: nf_role: type: string nf_type: - type: string \ No newline at end of file + type: string + software_versions: + type: list + entry_schema: + type: string \ No newline at end of file diff --git a/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json b/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json index 1ea8f98925..8090649613 100644 --- a/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json +++ b/catalog-be/src/main/resources/scripts/import/tosca/typesToUpgrade.json @@ -1,7 +1,8 @@ { "heat": [ "configuration", - "fabricConfiguration" + "fabricConfiguration", + "Generic_PNF" ], "normative": [ ] -- cgit 1.2.3-korg