Merge "Fix: Enrichment fails for processor-db source"
[ccsdk/cds.git] / components / model-catalog / definition-type / starter-type / node_type / component-netconf-executor.json
index 7e1d813..3233d21 100644 (file)
     }\r
   },\r
   "interfaces": {\r
-    "NetconfExecutorComponent": {\r
+    "ComponentNetconfExecutor": {\r
       "operations": {\r
         "process": {\r
           "inputs": {\r
-            "request-id": {\r
-              "description": "Request Id used to store the generated configuration, in the database along with the template-name",\r
+            "script-type": {\r
+              "description": "Script type, kotlin type is supported",\r
               "required": true,\r
-              "type": "string"\r
+              "type": "string",\r
+              "default": "internal",\r
+              "constraints": [\r
+                {\r
+                  "valid_values": [\r
+                    "kotlin",\r
+                    "jython",\r
+                    "internal"\r
+                  ]\r
+                }\r
+              ]\r
             },\r
-            "template-name": {\r
-              "description": "Service Template Name",\r
+            "script-class-reference": {\r
+              "description": "Kotlin Script class name or jython script name.",\r
               "required": true,\r
               "type": "string"\r
             },\r
-            "template-version": {\r
-              "description": "Service Template Version",\r
+            "instance-dependencies": {\r
               "required": true,\r
-              "type": "string"\r
-            },\r
-            "action-name": {\r
-              "description": "Action Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",\r
-              "required": false,\r
-              "type": "string"\r
-            },\r
-            "resource-type": {\r
-              "description": "Resource Type to get from Database, Either (message & mask-info ) or( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",\r
-              "required": false,\r
-              "type": "string"\r
+              "description": "Instance names to inject to Jython or Kotlin Script.",\r
+              "type": "list",\r
+              "entry_schema": {\r
+                "type": "string"\r
+              }\r
             },\r
-            "resource-id": {\r
-              "description": "Resource Id to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",\r
+            "dynamic-properties": {\r
+              "description": "Dynamic Json Content or DSL Json reference.",\r
               "required": false,\r
-              "type": "string"\r
-            },\r
-            "reservation-id": {\r
-                               "description": "Reservation Id used to send to NPM",\r
-                               "required": false,\r
-                               "type": "string"\r
-                       },\r
-            "execution-script": {\r
-              "description": "Python Script to Execute for this Component action, It should refer any one of Prython Artifact Definition for this Node Template.",\r
-              "required": true,\r
-              "type": "string"\r
+              "type": "json"\r
             }\r
           },\r
           "outputs": {\r
@@ -75,5 +68,5 @@
       }\r
     }\r
   },\r
-  "derived_from": "tosca.nodes.component.Jython"\r
+  "derived_from": "tosca.nodes.Component"\r
 }
\ No newline at end of file