From 92c807d2bd54d8221597acc2e84f15ad2ada0b7b Mon Sep 17 00:00:00 2001 From: "Muthuramalingam, Brinda Santh(bs2796)" Date: Thu, 6 Sep 2018 20:18:24 +0000 Subject: Controller Blueprints Microservice Add Blueprint Dervied from NodeType, Requirement Definitions and Assignments validations. Change-Id: I1cc643b5a83c5a707c8e3ae1342a439f122da55e Issue-ID: CCSDK-484 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) --- .../test/resources/enhance/enhanced-template.json | 28 ++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json') diff --git a/ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json b/ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json index c3f257382..9f8af1aaf 100644 --- a/ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json +++ b/ms/controllerblueprints/modules/service/src/test/resources/enhance/enhanced-template.json @@ -215,6 +215,11 @@ }, "derived_from" : "tosca.nodes.DG" }, + "tosca.nodes.Component" : { + "description" : "This is default Component Node", + "version" : "1.0.0", + "derived_from" : "tosca.nodes.Root" + }, "component-resource-assignment" : { "description" : "This is Resource Assignment Component API", "version" : "1.0.0", @@ -283,6 +288,11 @@ }, "derived_from" : "tosca.nodes.Component" }, + "tosca.nodes.DG" : { + "description" : "This is Directed Graph Node Type", + "version" : "1.0.0", + "derived_from" : "tosca.nodes.Root" + }, "artifact-config-template" : { "description" : "This is Configuration Velocity Template", "version" : "1.0.0", @@ -361,6 +371,11 @@ }, "derived_from" : "tosca.nodes.Vnf" }, + "tosca.nodes.Vnf" : { + "description" : "This is VNF Node Type", + "version" : "1.0.0", + "derived_from" : "tosca.nodes.Root" + }, "component-netconf-executor" : { "description" : "This is Netconf Transaction Configuration Component API", "version" : "1.0.0", @@ -386,12 +401,12 @@ "required" : true, "type" : "string" }, - "service-template-name" : { + "template-name" : { "description" : "Service Template Name", "required" : true, "type" : "string" }, - "service-template-version" : { + "template-version" : { "description" : "Service Template Version", "required" : true, "type" : "string" @@ -440,6 +455,11 @@ }, "derived_from" : "tosca.nodes.Component" }, + "tosca.nodes.Artifact" : { + "description" : "This is Deprecated Artifact Node Type.", + "version" : "1.0.0", + "derived_from" : "tosca.nodes.Root" + }, "dg-activate-netconf" : { "description" : "This is Download Netconf Directed Graph", "version" : "1.0.0", @@ -571,8 +591,8 @@ }, "inputs" : { "action-name" : "{ \"get_input\" : \"action-name\" }", - "template_name" : "{ \"get_attribute\" : \"template_name\" }", - "service-template-version" : "{ \"get_attribute\" : \"service-template-version\" }", + "template-name" : "{ \"get_attribute\" : \"template_name\" }", + "template-version" : "{ \"get_attribute\" : \"template_version\" }", "resource-type" : "vnf-type", "request-id" : "{ \"get_input\" : \"request-id\" }", "resource-id" : "{ \"get_input\" : \"hostname\" }", -- cgit 1.2.3-korg