summaryrefslogtreecommitdiff
path: root/spec/frontend/alert_management/mocks/alerts.json
blob: fec101a52b4d683fcab1bb20e4f6c6f5daf2265d (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
67
68
69
70
71
[
  {
    "iid": "1527542",
    "title": "SyntaxError: Invalid or unexpected token",
    "severity": "CRITICAL",
    "eventCount": 7,
    "createdAt": "2020-04-17T23:18:14.996Z",
    "startedAt": "2020-04-17T23:18:14.996Z",
    "endedAt": "2020-04-17T23:18:14.996Z",
    "status": "TRIGGERED",
    "assignees": { "nodes": [] },
    "notes": { "nodes": [] },
    "todos": { "nodes": [] }
  },
  {
    "iid": "1527543",
    "title": "Some other alert Some other alert Some other alert Some other alert Some other alert Some other alert",
    "severity": "MEDIUM",
    "eventCount": 1,
    "startedAt": "2020-04-17T23:18:14.996Z",
    "endedAt": "2020-04-17T23:18:14.996Z",
    "status": "ACKNOWLEDGED",
    "assignees": { "nodes": [{ "username": "root" }] },
    "issueIid": "1",
    "notes": {
      "nodes": [
        {
          "id": "gid://gitlab/Note/1628",
          "author": {
            "id": "gid://gitlab/User/1",
            "state": "active",
            "__typename": "User",
            "avatarUrl": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
            "name": "Administrator",
            "username": "root",
            "webUrl": "http://192.168.1.4:3000/root"
          },
          "systemNoteIconName": "user"
        }
      ]
    },
    "todos": { "nodes": [] }
  },
  {
    "iid": "1527544",
    "title": "SyntaxError: Invalid or unexpected token",
    "severity": "LOW",
    "eventCount": 4,
    "startedAt": "2020-04-17T23:18:14.996Z",
    "endedAt": "2020-04-17T23:18:14.996Z",
    "status": "RESOLVED",
    "assignees": { "nodes": [{ "username": "root" }] },
    "notes": {
      "nodes": [
        {
          "id": "gid://gitlab/Note/1629",
          "author": {
            "id": "gid://gitlab/User/2",
            "state": "active",
            "__typename": "User",
            "avatarUrl": "https://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=80\u0026d=identicon",
            "name": "Administrator",
            "username": "root",
            "webUrl": "http://192.168.1.4:3000/root"
          }
        }
      ]
    },
    "todos": { "nodes": [] }
  }
]