Clean unused blueprint and model files under component core.
Change-Id: I9385a653c5d6874b9267e9607fc497dac17b1c35
Issue-ID: CCSDK-677
Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
+++ /dev/null
-{\r
- "metadata": {\r
- "template_author": "Brinda Santh Muthuramalingam",\r
- "author-email": "brindasanth@gmail.com",\r
- "user-groups": "ADMIN, OPERATION",\r
- "template_name": "baseconfiguration",\r
- "template_version": "1.0.0",\r
- "template_tags": "brinda, tosca"\r
- },\r
- "topology_template": {\r
- "inputs": {\r
- "request-id": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "action-name": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "scope-type": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "hostname": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "template_name": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "template_version": {\r
- "required": true,\r
- "type": "string"\r
- }\r
- },\r
- "node_templates": {\r
- "resource-assignment-ra-component": {\r
- "capabilities": {\r
- "component-node": {}\r
- },\r
- "interfaces": {\r
- "org-onap-ccsdk-config-assignment-service-ConfigAssignmentNode": {\r
- "operations": {\r
- "process": {\r
- "inputs": {\r
- "template-names": [\r
- "base-config-template",\r
- "licence-template"\r
- ],\r
- "action-name": {\r
- "get_input": "action-name"\r
- },\r
- "template-name": {\r
- "get_input": "template_name"\r
- },\r
- "template-version": {\r
- "get_input": "template_version"\r
- },\r
- "resource-type": "vnf-type",\r
- "request-id": {\r
- "get_input": "request-id"\r
- },\r
- "resource-id": {\r
- "get_input": "hostname"\r
- }\r
- },\r
- "outputs": {\r
- "resource-assignment-params": { "get_attribute" : ["SELF", "params"] },\r
- "status": "Success"\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "component-resource-assignment"\r
- },\r
- "resource-assignment-action": {\r
- "properties": {\r
- "mode": "sync",\r
- "version": {\r
- "get_input": "template_version"\r
- },\r
- "is-start-flow": false\r
- },\r
- "requirements": {\r
- "component-dependency": {\r
- "capability": "component-node",\r
- "node": "resource-assignment-ra-component",\r
- "relationship": "tosca.relationships.DependsOn"\r
- }\r
- },\r
- "capabilities": {\r
- "dg-node": {}\r
- },\r
- "interfaces": {\r
- "CONFIG": {\r
- "operations": {\r
- "ResourceAssignment": {\r
- "inputs": {\r
- "params": []\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "dg-resource-assignment"\r
- }\r
- },\r
- "workflows": {\r
- "activate-process": {\r
- "steps": {\r
- "call-resource-assignment": {\r
- "description": "Invoke Resource Assignment Component",\r
- "target": "resource-assignment",\r
- "activities": [\r
- {\r
- "call_operation": "ResourceAssignmentNode.process"\r
- }\r
- ],\r
- "on_success": [\r
- "download-baseconfig"\r
- ]\r
- },\r
- "download-baseconfig": {\r
- "description": "Call Download Base Config Component",\r
- "target": "activate-netconf",\r
- "activities": [\r
- {\r
- "call_operation": "NetconfTransactionNode.process"\r
- }\r
- ],\r
- "on_success": [\r
- "download-licence"\r
- ]\r
- },\r
- "download-licence": {\r
- "description": "Call Download Licence Component",\r
- "target": "activate-netconf",\r
- "activities": [\r
- {\r
- "call_operation": "NetconfTransactionNode.process"\r
- }\r
- ]\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "artifact_types": {\r
- "artifact-template-velocity": {\r
- "description": " Velocity Template used for Configuration",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "vtl"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- },\r
- "artifact-mapping-resource": {\r
- "description": " Velocity Template Resource Mapping File used along with Configuration template",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "json"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- },\r
- "artifact-script-kotlin": {\r
- "description": " Kotlin Script Template used for Configuration",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "kt"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- },\r
- "artifact-script-python": {\r
- "description": " Kotlin Script Template used for Configuration",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "py"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- },\r
- "artifact-bpmn-camunda": {\r
- "description": " Camunda BPM File",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "bpmn"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- },\r
- "artifact-component-jar": {\r
- "description": "Component Jar",\r
- "version": "1.0.0",\r
- "file_ext": [\r
- "jar"\r
- ],\r
- "derived_from": "tosca.artifacts.Implementation"\r
- }\r
- },\r
- "node_types": {\r
- "dg-resource-assignment": {\r
- "description": "This is Resource Assignment Directed Graph",\r
- "version": "1.0.0",\r
- "properties": {\r
- "mode": {\r
- "required": false,\r
- "type": "string",\r
- "default": "sync"\r
- },\r
- "version": {\r
- "required": false,\r
- "type": "string",\r
- "default": "LATEST"\r
- },\r
- "is-start-flow": {\r
- "required": false,\r
- "type": "boolean",\r
- "default": false\r
- }\r
- },\r
- "capabilities": {\r
- "dg-node": {\r
- "type": "tosca.capabilities.Node"\r
- }\r
- },\r
- "requirements": {\r
- "component-dependency": {\r
- "capability": "component-node",\r
- "node": "component-resource-assignment",\r
- "relationship": "tosca.relationships.DependsOn"\r
- }\r
- },\r
- "interfaces": {\r
- "CONFIG": {\r
- "operations": {\r
- "ResourceAssignment": {\r
- "inputs": {\r
- "params": {\r
- "required": false,\r
- "type": "list",\r
- "entry_schema": {\r
- "type": "datatype-property"\r
- }\r
- }\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "derived_from": "tosca.nodes.DG"\r
- },\r
- "component-resource-assignment": {\r
- "description": "This is Resource Assignment Component API",\r
- "version": "1.0.0",\r
- "capabilities": {\r
- "component-node": {\r
- "type": "tosca.capabilities.Node"\r
- }\r
- },\r
- "interfaces": {\r
- "org-onap-ccsdk-config-assignment-service-ConfigAssignmentNode": {\r
- "operations": {\r
- "process": {\r
- "inputs": {\r
- "action-name": {\r
- "description": "Action Name of the process",\r
- "required": true,\r
- "type": "string"\r
- },\r
- "template-name": {\r
- "description": "Service Template Name.",\r
- "required": true,\r
- "type": "string"\r
- },\r
- "template-version": {\r
- "description": "Service Template Version.",\r
- "required": true,\r
- "type": "string"\r
- },\r
- "resource-type": {\r
- "description": "Request type.",\r
- "required": true,\r
- "type": "string"\r
- },\r
- "template-names": {\r
- "description": "Name of the artifact Node Templates, to get the template Content.",\r
- "required": true,\r
- "type": "list",\r
- "entry_schema": {\r
- "type": "string"\r
- }\r
- },\r
- "request-id": {\r
- "description": "Request Id, Unique Id for the request.",\r
- "required": true,\r
- "type": "string"\r
- },\r
- "resource-id": {\r
- "description": "Resource Id.",\r
- "required": true,\r
- "type": "string"\r
- }\r
- },\r
- "outputs": {\r
- "resource-assignment-params": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "status": {\r
- "required": true,\r
- "type": "string"\r
- }\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "derived_from": "tosca.nodes.Component"\r
- },\r
- "tosca.nodes.DG": {\r
- "description": "This is Resource Assignment Component API",\r
- "version": "1.0.0",\r
- "derived_from": "tosca.nodes.Root"\r
- },\r
- "tosca.nodes.Component": {\r
- "description": "This is Resource Assignment Component API",\r
- "version": "1.0.0",\r
- "derived_from": "tosca.nodes.Root"\r
- },\r
- "tosca.nodes.component.Python": {\r
- "description": "This is Resource Assignment Python Component API",\r
- "version": "1.0.0",\r
- "derived_from": "tosca.nodes.Root"\r
- }\r
- },\r
- "data_types": {\r
- "datatype-resource-assignment": {\r
- "version": "1.0.0",\r
- "description": "This is Resource Assignment Data Type",\r
- "properties": {\r
- "property": {\r
- "required": true,\r
- "type": "datatype-property"\r
- },\r
- "input-param": {\r
- "required": true,\r
- "type": "boolean"\r
- },\r
- "dictionary-name": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "dictionary-source": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "dependencies": {\r
- "required": true,\r
- "type": "list",\r
- "entry_schema": {\r
- "type": "string"\r
- }\r
- },\r
- "status": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "message": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "updated-date": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "updated-by": {\r
- "required": false,\r
- "type": "string"\r
- }\r
- },\r
- "derived_from": "tosca.datatypes.Root"\r
- },\r
- "datatype-property": {\r
- "version": "1.0.0",\r
- "description": "This is Entry point Input Data Type, which is dynamic datatype, The parameter names will be populated during the Design time for each inputs",\r
- "properties": {\r
- "type": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "description": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "required": {\r
- "required": false,\r
- "type": "boolean"\r
- },\r
- "default": {\r
- "required": false,\r
- "type": "string"\r
- },\r
- "entry_schema": {\r
- "required": false,\r
- "type": "string"\r
- }\r
- },\r
- "derived_from": "tosca.datatypes.Root"\r
- }\r
- }\r
-}
\ No newline at end of file
+++ /dev/null
-{\r
- "assignments": "Sample Assignments"\r
-}
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"\r
- xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"\r
- xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"\r
- xmlns:camunda="http://camunda.org/schema/1.0/bpmn"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1"\r
- targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.2">\r
- <bpmn:process id="ActivateProcess" isExecutable="true">\r
- <bpmn:startEvent id="StartEvent_1">\r
- <bpmn:outgoing>SequenceFlow_0l0dq58</bpmn:outgoing>\r
- </bpmn:startEvent>\r
- <bpmn:endEvent id="EndEvent_1pr0kil">\r
- <bpmn:incoming>SequenceFlow_1ay0k6p</bpmn:incoming>\r
- </bpmn:endEvent>\r
- <bpmn:sequenceFlow id="SequenceFlow_0l0dq58" sourceRef="StartEvent_1" targetRef="activate_device_task"/>\r
- <bpmn:sequenceFlow id="SequenceFlow_1ay0k6p" sourceRef="activate_device_task" targetRef="EndEvent_1pr0kil"/>\r
- <bpmn:serviceTask id="activate_device_task" name="Activate Device"\r
- camunda:delegateExpression="${componentDelegateService}">\r
- <bpmn:extensionElements>\r
- <camunda:inputOutput>\r
- <camunda:inputParameter name="selector"><![CDATA[resource-assignment\r
-]]></camunda:inputParameter>\r
- </camunda:inputOutput>\r
- </bpmn:extensionElements>\r
- <bpmn:incoming>SequenceFlow_0l0dq58</bpmn:incoming>\r
- <bpmn:outgoing>SequenceFlow_1ay0k6p</bpmn:outgoing>\r
- </bpmn:serviceTask>\r
- </bpmn:process>\r
- <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
- <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ActivateProcess">\r
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">\r
- <dc:Bounds x="175" y="143" width="36" height="36"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="148" y="179" width="90" height="20"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNShape>\r
- <bpmndi:BPMNShape id="EndEvent_1pr0kil_di" bpmnElement="EndEvent_1pr0kil">\r
- <dc:Bounds x="575" y="114" width="36" height="36"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="593" y="154" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNShape>\r
- <bpmndi:BPMNEdge id="SequenceFlow_0l0dq58_di" bpmnElement="SequenceFlow_0l0dq58">\r
- <di:waypoint xsi:type="dc:Point" x="211" y="161"/>\r
- <di:waypoint xsi:type="dc:Point" x="273" y="161"/>\r
- <di:waypoint xsi:type="dc:Point" x="273" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="334" y="149"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="288" y="149" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNEdge>\r
- <bpmndi:BPMNEdge id="SequenceFlow_1ay0k6p_di" bpmnElement="SequenceFlow_1ay0k6p">\r
- <di:waypoint xsi:type="dc:Point" x="434" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="505" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="505" y="132"/>\r
- <di:waypoint xsi:type="dc:Point" x="575" y="132"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="520" y="134.5" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNEdge>\r
- <bpmndi:BPMNShape id="ServiceTask_0e8ek4f_di" bpmnElement="activate_device_task">\r
- <dc:Bounds x="334" y="109" width="100" height="80"/>\r
- </bpmndi:BPMNShape>\r
- </bpmndi:BPMNPlane>\r
- </bpmndi:BPMNDiagram>\r
-</bpmn:definitions>\r
+++ /dev/null
-from com.brvith.orchestrator.core.interfaces import ComponentNode\r
-\r
-class SamplePythonComponentNode(ComponentNode):\r
- def prepare(self, context, componentContext):\r
- return None\r
-\r
- def prepare(self, context, componentContext):\r
- return None
\ No newline at end of file
+++ /dev/null
-TOSCA-Meta-File-Version: 1.0.0\r
-CSAR-Version: 1.0\r
-Created-By: Brinda Santh M\r
-Entry-Definitions: Definitions/activation-blueprint.json\r
-Template-Tags: Brinda Santh, activation-blueprint\r
-\r
-Name: Plans/ActivateProcess.bpmn\r
-Content-Type: application/vnd.oasis.bpmn\r
+++ /dev/null
-This is Sample Velocity Template
\ No newline at end of file
+++ /dev/null
-{\r
- "description": "This is Resource Assignment Component API",\r
- "version": "1.0.0",\r
- "derived_from": "tosca.nodes.Root"\r
-}
\ No newline at end of file
+++ /dev/null
-{\r
- "metadata": {\r
- "template_author": "Brinda Santh",\r
- "template_name": "simple-baseconfig",\r
- "template_version": "1.0.0",\r
- "service-type": "Sample Service",\r
- "release": "1806",\r
- "vnf-type": "VPE"\r
- },\r
- "topology_template": {\r
- "inputs": {\r
- "request-id": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "service-instance-id": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "scope-type": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "action-name": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "hostname": {\r
- "required": true,\r
- "type": "string"\r
- }\r
- },\r
- "node_templates": {\r
- "vpe-netconf-device": {\r
- "capabilities": {\r
- "netconf": {\r
- "properties": {\r
- "login-key": "sdnc",\r
- "login-account": "sndc-local",\r
- "source": "local",\r
- "target-ip-address": { "get_attribute": ["SELF", "lo0-local-ipv4-address"]},\r
- "port-number": 22,\r
- "connection-time-out": 30\r
- }\r
- }\r
- },\r
- "type": "vnf-netconf-device"\r
- },\r
- "activate-netconf-component": {\r
- "capabilities": {\r
- "component-node": {}\r
- },\r
- "requirements": {\r
- "netconf-connection": {\r
- "capability": "netconf",\r
- "node": "vpe-netconf-device",\r
- "relationship": "tosca.relationships.ConnectsTo"\r
- }\r
- },\r
- "interfaces": {\r
- "org-onap-ccsdk-netconf-adaptor-service-NetconfExecutorNode": {\r
- "operations": {\r
- "process": {\r
- "inputs": {\r
- "action-name": { "get_input" : "action-name" },\r
- "service-template-name": { "get_input" : "template_name" },\r
- "service-template-version": { "get_input" : "service-template-version" },\r
- "resource-type": "vnf-type",\r
- "request-id": { "get_input" : "request-id" },\r
- "resource-id": { "get_input" : "hostname" },\r
- "execution-script": "execution-script"\r
- },\r
- "outputs": {\r
- "response-data": { "get_input" : ["SELF", "netconf-executor-baseconfig.response-data"] },\r
- "status": { "get_input" : ["SELF", "netconf-executor-baseconfig.status"] }\r
- },\r
- "implementation" : {\r
- "primary" : "file://netconf_adaptor/DefaultBaseLicenceConfig.py"\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "component-netconf-executor"\r
- },\r
- "resource-assignment-ra-component": {\r
- "capabilities": {\r
- "component-node": {}\r
- },\r
- "interfaces": {\r
- "org-onap-ccsdk-config-assignment-service-ConfigAssignmentNode": {\r
- "operations": {\r
- "process": {\r
- "inputs": {\r
- "template-names": [\r
- "base-config-template",\r
- "licence-template"\r
- ],\r
- "action-name": { "get_input" : "action-name" },\r
- "service-template-name": { "get_input" : "template_name" },\r
- "service-template-version": { "get_input" : "service-template-version" },\r
- "resource-type": "vnf-type",\r
- "request-id": { "get_input" : "request-id" },\r
- "resource-id": { "get_input" : "hostname" }\r
- },\r
- "outputs": {\r
- "resource-assignment-params": "success",\r
- "status": "status"\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "component-resource-assignment"\r
- },\r
- "resource-assignment-action": {\r
- "properties": {\r
- "mode": "sync",\r
- "version": "LATEST",\r
- "is-start-flow": false\r
- },\r
- "requirements": {\r
- "component-dependency": {\r
- "capability": "component-node",\r
- "node": "resource-assignment-ra-component",\r
- "relationship": "tosca.relationships.DependsOn"\r
- }\r
- },\r
- "capabilities": {\r
- "dg-node": {}\r
- },\r
- "interfaces": {\r
- "CONFIG": {\r
- "operations": {\r
- "ResourceAssignment": {\r
- "inputs": {\r
- "params": []\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "dg-resource-assignment"\r
- },\r
- "activate-action": {\r
- "properties": {\r
- "mode": "sync",\r
- "version": "LATEST",\r
- "is-start-flow": false\r
- },\r
- "requirements": {\r
- "component-dependency": {\r
- "capability": "component-node",\r
- "node": "activate-netconf-component",\r
- "relationship": "tosca.relationships.DependsOn"\r
- }\r
- },\r
- "capabilities": {\r
- "dg-node": {},\r
- "content": {\r
- "properties": {\r
- "type": "json"\r
- }\r
- }\r
- },\r
- "interfaces": {\r
- "CONFIG": {\r
- "operations": {\r
- "ActivateNetconf": {\r
- "inputs": {\r
- "params": []\r
- }\r
- }\r
- }\r
- }\r
- },\r
- "type": "dg-activate-netconf"\r
- },\r
- "base-config-template": {\r
- "capabilities": {\r
- "content": {\r
- "properties": {\r
- "content": "db://base-config-template"\r
- }\r
- },\r
- "mapping": {\r
- "properties": {\r
- "mapping": [\r
- {\r
- "name": "bundle-mac",\r
- "property": {\r
- "description": "",\r
- "required": true,\r
- "type": "string",\r
- "status": "",\r
- "constraints": [\r
- {}\r
- ],\r
- "entry_schema": {\r
- "type": ""\r
- }\r
- },\r
- "input-param": false,\r
- "dictionary-name": "bundle-mac",\r
- "dictionary-source": "db",\r
- "dependencies": [\r
- "hostname"\r
- ],\r
- "version": 0\r
- },\r
- {\r
- "name": "wan-aggregate-ipv4-addresses",\r
- "property": {\r
- "description": "",\r
- "required": true,\r
- "type": "list",\r
- "status": "",\r
- "constraints": [\r
- {}\r
- ],\r
- "entry_schema": {\r
- "type": "dt-v4-aggregate"\r
- }\r
- },\r
- "input-param": false,\r
- "dictionary-name": "wan-aggregate-ipv4-addresses",\r
- "dictionary-source": "mdsal",\r
- "dependencies": [\r
- "service-instance-id",\r
- "oam-network-role",\r
- "oam-v4-ip-type ",\r
- "oam-vm-type"\r
- ],\r
- "version": 0\r
- },\r
- {\r
- "name": "hostname",\r
- "property": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "dictionary-name": "hostname",\r
- "dictionary-source": "input",\r
- "version": 0,\r
- "input-param": false\r
- },\r
- {\r
- "name": "service",\r
- "property": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "dictionary-name": "service",\r
- "dictionary-source": "input",\r
- "version": 0,\r
- "input-param": false\r
- },\r
- {\r
- "name": "service-instance-id",\r
- "property": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "dictionary-name": "service-instance-id",\r
- "dictionary-source": "input",\r
- "version": 0,\r
- "input-param": false\r
- }\r
- ]\r
- }\r
- }\r
- },\r
- "properties": {\r
- "action-names": [\r
- "resource-assignment-action"\r
- ]\r
- },\r
- "type": "artifact-config-template"\r
- },\r
- "licence-template": {\r
- "capabilities": {\r
- "content": {\r
- "properties": {\r
- "content": "db://licence-template"\r
- }\r
- },\r
- "mapping": {\r
- "properties": {\r
- "mapping": [\r
- {\r
- "name": "licenses",\r
- "property": {\r
- "description": "",\r
- "required": true,\r
- "type": "list",\r
- "status": "",\r
- "constraints": [\r
- {}\r
- ],\r
- "entry_schema": {\r
- "type": "dt-license-key"\r
- }\r
- },\r
- "input-param": false,\r
- "dictionary-name": "licenses",\r
- "dictionary-source": "mdsal",\r
- "dependencies": [\r
- "service-instance-id"\r
- ],\r
- "version": 0\r
- },\r
- {\r
- "name": "service-instance-id",\r
- "property": {\r
- "required": true,\r
- "type": "string"\r
- },\r
- "dictionary-name": "service-instance-id",\r
- "dictionary-source": "input",\r
- "version": 0,\r
- "input-param": false\r
- }\r
- ]\r
- }\r
- }\r
- },\r
- "properties": {\r
- "action-names": [\r
- "resource-assignment-action"\r
- ]\r
- },\r
- "type": "artifact-config-template"\r
- }\r
- }\r
- },\r
- "node_types": {\r
- },\r
- "data_types": {\r
- }\r
-}
\ No newline at end of file
+++ /dev/null
-{\r
- "assignments": "Sample Assignments"\r
-}
\ No newline at end of file
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>\r
-<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"\r
- xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"\r
- xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"\r
- xmlns:camunda="http://camunda.org/schema/1.0/bpmn"\r
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1"\r
- targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.11.2">\r
- <bpmn:process id="ActivateProcess" isExecutable="true">\r
- <bpmn:startEvent id="StartEvent_1">\r
- <bpmn:outgoing>SequenceFlow_0l0dq58</bpmn:outgoing>\r
- </bpmn:startEvent>\r
- <bpmn:endEvent id="EndEvent_1pr0kil">\r
- <bpmn:incoming>SequenceFlow_1ay0k6p</bpmn:incoming>\r
- </bpmn:endEvent>\r
- <bpmn:sequenceFlow id="SequenceFlow_0l0dq58" sourceRef="StartEvent_1" targetRef="activate_device_task"/>\r
- <bpmn:sequenceFlow id="SequenceFlow_1ay0k6p" sourceRef="activate_device_task" targetRef="EndEvent_1pr0kil"/>\r
- <bpmn:serviceTask id="activate_device_task" name="Activate Device"\r
- camunda:delegateExpression="${componentDelegateService}">\r
- <bpmn:extensionElements>\r
- <camunda:inputOutput>\r
- <camunda:inputParameter name="selector"><![CDATA[resource-assignment\r
-]]></camunda:inputParameter>\r
- </camunda:inputOutput>\r
- </bpmn:extensionElements>\r
- <bpmn:incoming>SequenceFlow_0l0dq58</bpmn:incoming>\r
- <bpmn:outgoing>SequenceFlow_1ay0k6p</bpmn:outgoing>\r
- </bpmn:serviceTask>\r
- </bpmn:process>\r
- <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
- <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ActivateProcess">\r
- <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">\r
- <dc:Bounds x="175" y="143" width="36" height="36"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="148" y="179" width="90" height="20"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNShape>\r
- <bpmndi:BPMNShape id="EndEvent_1pr0kil_di" bpmnElement="EndEvent_1pr0kil">\r
- <dc:Bounds x="575" y="114" width="36" height="36"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="593" y="154" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNShape>\r
- <bpmndi:BPMNEdge id="SequenceFlow_0l0dq58_di" bpmnElement="SequenceFlow_0l0dq58">\r
- <di:waypoint xsi:type="dc:Point" x="211" y="161"/>\r
- <di:waypoint xsi:type="dc:Point" x="273" y="161"/>\r
- <di:waypoint xsi:type="dc:Point" x="273" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="334" y="149"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="288" y="149" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNEdge>\r
- <bpmndi:BPMNEdge id="SequenceFlow_1ay0k6p_di" bpmnElement="SequenceFlow_1ay0k6p">\r
- <di:waypoint xsi:type="dc:Point" x="434" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="505" y="149"/>\r
- <di:waypoint xsi:type="dc:Point" x="505" y="132"/>\r
- <di:waypoint xsi:type="dc:Point" x="575" y="132"/>\r
- <bpmndi:BPMNLabel>\r
- <dc:Bounds x="520" y="134.5" width="0" height="12"/>\r
- </bpmndi:BPMNLabel>\r
- </bpmndi:BPMNEdge>\r
- <bpmndi:BPMNShape id="ServiceTask_0e8ek4f_di" bpmnElement="activate_device_task">\r
- <dc:Bounds x="334" y="109" width="100" height="80"/>\r
- </bpmndi:BPMNShape>\r
- </bpmndi:BPMNPlane>\r
- </bpmndi:BPMNDiagram>\r
-</bpmn:definitions>\r
+++ /dev/null
-from com.brvith.orchestrator.core.interfaces import ComponentNode\r
-\r
-class SamplePythonComponentNode(ComponentNode):\r
- def prepare(self, context, componentContext):\r
- return None\r
-\r
- def prepare(self, context, componentContext):\r
- return None
\ No newline at end of file
+++ /dev/null
-TOSCA-Meta-File-Version: 1.0.0\r
-CSAR-Version: 1.0\r
-Created-By: Brinda Santh M\r
-Entry-Definitions: Definitions/simple-baseconfig.json\r
-Template-Tags: vrr-test, Brinda Santh\r
-\r
-Name: Plans/ActivateProcess.bpmn\r
-Content-Type: application/vnd.oasis.bpmn\r
+++ /dev/null
- <config>\r
- <configuration>\r
- <groups>\r
- <name>${group-name}</name>\r
- <routing-instances>\r
- <instance>\r
- <name><*></name>\r
- <protocols>\r
- <pim>\r
- <dense-groups>\r
- <dynamic-reject />\r
- <pim-dense-group-type>\r
- <name>224.0.1.40/32</name>\r
- </pim-dense-group-type>\r
- <pim-dense-group-type>\r
- <name>224.0.1.39/32</name>\r
- </pim-dense-group-type>\r
- <pim-dense-group-type>\r
- <name>224.0.0.0/4</name>\r
- <reject />\r
- </pim-dense-group-type>\r
- </dense-groups>\r
- <rp>\r
- <auto-rp>\r
- <discovery />\r
- </auto-rp>\r
- </rp>\r
- <interface>\r
- <name><*></name>\r
- <disable />\r
- <priority>1000</priority>\r
- </interface>\r
- <reset-tracking-bit />\r
- </pim>\r
- </protocols>\r
- </instance>\r
- </routing-instances>\r
- </groups>\r
- </configuration>\r
- </config>
\ No newline at end of file
+++ /dev/null
-This is Sample Velocity Template
\ No newline at end of file
+++ /dev/null
- <config>\r
- <configuration>\r
- </configuration>\r
- </config>\r