-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathboomerang.service.bosun.postman_collection.json
153 lines (153 loc) · 3.26 KB
/
boomerang.service.bosun.postman_collection.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"info": {
"_postman_id": "97a8448d-b0d3-4835-98f7-a75019cbde81",
"name": "boomerang.service.bosun",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "getAllTemplates",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/bosun/templates",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"bosun",
"templates"
]
}
},
"response": []
},
{
"name": "validatePolicy",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"policyId\":\"5db9a8c7b01c530001b838d1\",\n\t\"referenceId\":\"boomerangServiceFlow\",\n\t\"referenceLink\":\"https://launch.boomerangplatform.net/apps/ci/teams/gbs-engineering/boomerang.service.flow\",\n\t\"labels\":{\n\t\t\"sonarqube-id\":\"5bc69daa1516b200011020ee\",\n\t\t\"sonarqube-version\":\"2.1.13-195\",\n\t\t\"artifact-path\":\"ise\",\n\t\t\"artifact-name\":\"boomerang.service.flow\",\n\t\t\"artifact-version\":\"2.1.13-195\"\n\t}\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/bosun/policies/validate",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"bosun",
"policies",
"validate"
]
}
},
"response": []
},
{
"name": "getPolicy",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"policyId\":\"\",\n\t\"referenceId\":\"\",\n\t\"labels\":null\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/bosun/policies/5db9a8c7b01c530001b838d1",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"bosun",
"policies",
"5db9a8c7b01c530001b838d1"
]
}
},
"response": []
},
{
"name": "getViolations",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"policyId\":\"\",\n\t\"referenceId\":\"\",\n\t\"labels\":null\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8080/bosun/policies/violations?teamId=5db85635110fc4000140a5ab",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"bosun",
"policies",
"violations"
],
"query": [
{
"key": "teamId",
"value": "5db85635110fc4000140a5ab"
}
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
}