Fix service blueprints
[ccsdk/cds.git] / components / model-catalog / blueprint-model / service-blueprint / vLB_CDS_RESTCONF / Definitions / node_types.json
index 97e9f20..60194c4 100644 (file)
@@ -1,70 +1,6 @@
 {
   "node_types" : {
-    "component-script-executor":{
-  "description": "This is CLI Transaction Configuration Component API",
-  "version": "1.0.0",
-  "attributes": {
-    "response-data": {
-      "required": false,
-      "type": "json"
-    }
-  },
-  "capabilities": {
-    "component-node": {
-      "type": "tosca.capabilities.Node"
-    }
-  },
-  "interfaces": {
-    "ComponentScriptExecutor": {
-      "operations": {
-        "process": {
-          "inputs": {
-            "script-type": {
-              "description": "Script type, kotlin type is supported",
-              "required": true,
-              "type": "string",
-              "default": "internal",
-              "constraints": [
-                {
-                  "valid_values": [
-                    "kotlin",
-                    "jython",
-                    "internal"
-                  ]
-                }
-              ]
-            },
-            "script-class-reference": {
-              "description": "Kotlin Script class name or jython script name.",
-              "required": true,
-              "type": "string"
-            },
-            "dynamic-properties": {
-              "description": "Dynamic Json Content or DSL Json reference.",
-              "required": false,
-              "type": "json"
-            }
-          },
-          "outputs": {
-            "response-data": {
-              "description": "Execution Response Data.",
-              "required": false,
-              "type": "string"
-            },
-            "status": {
-              "description": "Status of the Component Execution ( success or failure )",
-              "required": true,
-              "type": "string"
-            }
-          }
-        }
-      }
-    }
-  },
-  "derived_from": "tosca.nodes.Component"
-},
-
-  "component-netconf-executor" : {
+    "component-netconf-executor" : {
       "description" : "This is Netconf Transaction Configuration Component API",
       "version" : "1.0.0",
       "attributes" : {
       "version" : "1.0.0",
       "attributes" : {
         "assignment-params" : {
+          "description" : "Holds resolved template, resolution-summary or key-value",
           "required" : true,
           "type" : "string"
+        },
+        "assignment-map" : {
+          "description" : "Holds resolved values for each artifact prefix eg. { vdns: { vnf-id: 123 } }",
+          "required" : true,
+          "type" : "map"
         }
       },
       "capabilities" : {
                   "required" : false,
                   "type" : "string"
                 },
+                "resolution-summary" : {
+                  "description" : "Enable resolution-summary output",
+                  "required" : false,
+                  "type" : "boolean"
+                },
                 "artifact-prefix-names" : {
                   "description" : "Template , Resource Assignment Artifact Prefix names",
                   "required" : true,
                   "required" : true,
                   "type" : "string"
                 },
+                "resource-assignment-map" : {
+                  "required" : true,
+                  "type" : "string"
+                },
                 "status" : {
                   "required" : true,
                   "type" : "string"
           } ],
           "default" : "JSON"
         },
+        "headers" : {
+          "required" : false,
+          "type" : "map",
+          "entry_schema" : {
+            "type" : "string"
+          }
+        },
         "verb" : {
           "required" : true,
           "type" : "string",
           }
         },
         "restconf" : {
-          "type" : "tosca.capabilities.Netconf",
+          "type" : "tosca.capabilities.Restconf",
           "properties" : {
             "login-key" : {
               "required" : true,
-              "type" : "string",
-              "default" : "sdnc"
+              "type" : "string"
             },
             "login-account" : {
               "required" : true,
-              "type" : "string",
-              "default" : "sdnc-tacacs"
-            },
-            "source" : {
-              "required" : false,
-              "type" : "string",
-              "default" : "npm"
+              "type" : "string"
             },
             "target-ip-address" : {
               "required" : true,
             },
             "port-number" : {
               "required" : true,
-              "type" : "integer",
-              "default" : 830
+              "type" : "integer"
             },
             "connection-time-out" : {
               "required" : false,