aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/remote_scripts/Definitions/node_types.json
blob: 640a4ebee0aea4d7a1bcce1f21a074ee85840711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "node_types": {
    "component-remote-python-executor": {
      "description": "This is Remote Python Execution Component.",
      "version": "1.0.0",
      "attributes": {
        "prepare-environment-logs": {
          "required": false,
          "type": "string"
        },
        "execute-command-logs": {
          "required": false,
          "type": "string"
        }
      },
      "capabilities": {
        "component-node": {
          "type": "tosca.capabilities.Node"
        }
      },
      "interfaces": {
        "ComponentRemotePythonExecutor": {
          "operations": {
            "process": {
              "inputs": {
                "endpoint-selector": {
                  "description": "Remote Container or Server selector name.",
                  "required": false,
                  "type": "string",
                  "default": "remote-python"
                },
                "dynamic-properties": {
                  "description": "Dynamic Json Content or DSL Json reference.",
                  "required": false,
                  "type": "json"
                },
                "command": {
                  "description": "Command to execute.",
                  "required": true,
                  "type" : "string"
                },
                "packages": {
                  "description": "Packages to install based on type.",
                  "required": true,
                  "type" : "list",
                  "entry_schema" : {
                    "type" : "dt-system-packages"
                  }
                }
              }
            }
          }
        }
      },
      "derived_from": "tosca.nodes.Component"
    },
    "tosca.nodes.Component": {
      "description": "This is default Component Node",
      "version": "1.0.0",
      "derived_from": "tosca.nodes.Root"
    }
  }
}