Remote Script Executor Component
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / blueprints / blueprint-core / src / test / resources / componentnode / default.json
1 {
2         "metadata": {
3                 "template_author": "bs2796",
4                 "vendor": "Juniper",
5                 "os": "XXX",
6                 "service-type": "AVPN",
7                 "vnf-type": "VRR",
8                 "action": "Base Configuration",
9                 "sub-action": "Generate Configuration",
10                 "template_name": "VRR-baseconfiguration",
11                 "template_version": "1.0.0"
12         },
13         "topology_template": {
14                 "inputs": {
15                         "service-instance-id": {
16                                 "required": true,
17                                 "type": "string"
18                         },
19                         "vnf-id": {
20                                 "required": true,
21                                 "type": "string"
22                         },
23                         "service": {
24                                 "required": true,
25                                 "type": "string"
26                         },
27                         "region": {
28                                 "required": true,
29                                 "type": "string"
30                         },
31                         "bundle-id": {
32                                 "required": true,
33                                 "type": "string"
34                         },
35                         "bundle-mac": {
36                                 "required": true,
37                                 "type": "string"
38                         }
39                 },
40                 "node_templates": {
41                         "generate-configuration": {
42                                 "type": "mock-component-generateConfig",
43                                 "interfaces": {
44                                         "org-onap-ccsdk-config-params-service-MockComponentNode": {
45                                                 "operations": {
46                                                         "process": {
47                                                                 "inputs": {
48                                                                         "entity-type": "vnf-type",
49                                                                         "template-content": "sample-template",
50                                                                         "entity-id": { "get_input" : "vnf-id" }
51                                                                 },
52                                                                 "outputs": {
53                                                                         "mergedData": "merged Data",
54                                                                         "status": "status"
55                                                                 }
56                                                         }
57                                                 }
58                                         }
59                                 }
60                         }
61                 }
62         },
63         "node_types": {
64                 "mock-component-generateConfig": {
65                         "interfaces": {
66                                 "org-onap-ccsdk-config-params-service-MockComponentNode": {
67                                         "operations": {
68                                                 "process": {
69                                                         "inputs": {
70                                                                 "entity-type": {
71                                                                         "required": false,
72                                                                         "type": "string"
73                                                                 },
74                                                                 "template-content": {
75                                                                         "required": false,
76                                                                         "type": "string"
77                                                                 },
78                                                                 "entity-id": {
79                                                                         "required": true,
80                                                                         "type": "string"
81                                                                 }
82                                                         },
83                                                         "outputs": {
84                                                                 "generated-config": {
85                                                                         "required": true,
86                                                                         "type": "string"
87                                                                 },
88                                                                 "status": {
89                                                                         "required": true,
90                                                                         "type": "string"
91                                                                 }
92                                                         }
93                                                 }
94                                         }
95                                 }
96                         },
97                         "derived_from": "tosca.nodes.Component"
98                 }
99         }
100 }