summaryrefslogtreecommitdiffstats
path: root/test/cli/success/expected-response.json
blob: 55248cb19018cd5db772def8b049fbef5151d578 (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
{
  "commonHeader": {
    "timestamp": "2020-05-25T20:54:11.024Z",
    "originatorId": "System",
    "requestId": "regression-test-cli",
    "subRequestId": "1",
    "flags": null
  },
  "actionIdentifiers": {
    "blueprintName": "RT-cli",
    "blueprintVersion": "1.0.0",
    "actionName": "cli",
    "mode": "sync"
  },
  "status": {
    "code": 200,
    "eventType": "EVENT_COMPONENT_EXECUTED",
    "timestamp": "2020-05-25T20:54:21.453Z",
    "errorMessage": null,
    "message": "success"
  },
  "payload": {
    "cli-response": {
      "response-data": [
        {
          "command": "pwd",
          "deviceOutput": "pwd\r\n/ $ pwd\r\n/\r\n/ $ \u001b[6n",
          "successful": true
        },
        {
          "command": "ls",
          "deviceOutput": "pwd\r\n/ $ pwd\r\n/\r\n/ $ \u001b[6nls\r\n\u001b[1;34mbin\u001b[m  \u001b[1;34mdev\u001b[m  \u001b[1;34metc\u001b[m  \u001b[1;34mlib\u001b[m\r\n/ $ \u001b[6n",
          "successful": true
        }
      ]
    }
  }
}