aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/definition-type/starter-type/node_type/component-remote-script-executor.json
blob: 6909d20bcc827872be80dfc90940a3ad0b1b3939 (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
64
65
66
{
  "description": "Generic Remote Script Component Executor",
  "version": "1.0.0",
  "attributes": {
    "response-data": {
      "description": "Remote executed response data.",
      "required": false,
      "type": "json"
    },
    "status": {
      "description": "Remote execution status.",
      "required": true,
      "type": "string"
    }
  },
  "interfaces": {
    "ComponentRemoteScriptExecutor": {
      "operations": {
        "process": {
          "description": "ComponentRemoteScriptExecutor Operation",
          "inputs": {
            "blueprint-version": {
              "description": "Blueprint version.",
              "required": true,
              "type": "string"
            },
            "blueprint-name": {
              "description": "Blueprint name.",
              "required": true,
              "type": "string"
            },
            "selector": {
              "description": "Remote GRPC selector or DSL reference or GRPC Json config.",
              "required": true,
              "type": "json"
            },
            "blueprint-action": {
              "description": "Blueprint action name.",
              "required": true,
              "type": "string"
            },
            "timeout": {
              "description": "Remote execution timeout in sec.",
              "required": true,
              "type": "integer",
              "default": 180
            },
            "request-data": {
              "description": "Dynamic Json Content or DSL Json reference.",
              "required": false,
              "type": "json"
            }
          },
          "outputs": {
            "status": {
              "description": "Status of the Component Execution ( success or failure )",
              "required": true,
              "type": "string"
            }
          }
        }
      }
    }
  },
  "derived_from": "tosca.nodes.Component"
}