generated from cap-js-community/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtoggles.local.http
More file actions
54 lines (45 loc) · 1.11 KB
/
toggles.local.http
File metadata and controls
54 lines (45 loc) · 1.11 KB
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
@port=4004
@host=localhost:{{port}}
@username=zeus
@password=zeus
### Feature Toggles state
GET http://{{host}}/rest/feature/state
Authorization: Basic {{username}} {{password}}
### Event Queue active
POST http://{{host}}/rest/feature/redisUpdate
Authorization: Basic {{username}} {{password}}
Content-Type: application/json
{
"key": "eventQueue/active",
"value": false
}
### Event Queue instance load limit
POST http://{{host}}/rest/feature/redisUpdate
Authorization: Basic {{username}} {{password}}
Content-Type: application/json
{
"key": "eventQueue/instanceLoadLimit",
"value": 11
}
### Remove: Event Queue active
POST http://{{host}}/rest/feature/redisUpdate
Authorization: Basic {{username}} {{password}}
Content-Type: application/json
{
"key": "eventQueue/active",
"value": null,
"options": {
"clearSubScopes": true
}
}
### Remove: Event Queue instance load limit
POST http://{{host}}/rest/feature/redisUpdate
Authorization: Basic {{username}} {{password}}
Content-Type: application/json
{
"key": "eventQueue/instanceLoadLimit",
"value": null,
"options": {
"clearSubScopes": true
}
}