-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathhttp.yaml
More file actions
94 lines (93 loc) · 2.69 KB
/
http.yaml
File metadata and controls
94 lines (93 loc) · 2.69 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
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
type: google.api.Service
config_version: 3
http:
rules:
# Diff service:
- selector: chorus.Diff.Start
post: /diff/start
body: "*"
- selector: chorus.Diff.List
get: /diff/list
- selector: chorus.Diff.GetReport
get: /diff/report
- selector: chorus.Diff.GetReportEntries
get: /diff/report-entries
- selector: chorus.Diff.DeleteReport
put: /diff/delete
body: "*"
- selector: chorus.Diff.Fix
post: /diff/fix
body: "*"
- selector: chorus.Diff.Restart
put: /diff/restart
body: "*"
# Chorus service:
- selector: chorus.Chorus.GetAppVersion
get: /version
- selector: chorus.Chorus.GetStorages
get: /storage
- selector: chorus.Chorus.GetProxyCredentials
get: /proxy
- selector: chorus.Chorus.SetUserCredentials
body: "*"
post: /credentials
# Policy service - replication:
- selector: chorus.Policy.AvailableBuckets
post: /replication/list-buckets
body: "*"
- selector: chorus.Policy.AddReplication
post: /replication/add
body: "*"
- selector: chorus.Policy.GetReplication
post: /replication/get
body: "*"
- selector: chorus.Policy.ListReplications
post: /replication
body: "*"
- selector: chorus.Policy.PauseReplication
put: /replication/pause
body: "*"
- selector: chorus.Policy.ResumeReplication
put: /replication/resume
body: "*"
- selector: chorus.Policy.DeleteReplication
put: /replication/delete
body: "*"
- selector: chorus.Policy.SwitchWithZeroDowntime
post: /replication/switch/zero-downtime
body: "*"
- selector: chorus.Policy.SwitchWithDowntime
post: /replication/switch
body: "*"
- selector: chorus.Policy.DeleteSwitch
post: /replication/switch/delete
body: "*"
- selector: chorus.Policy.GetSwitchStatus
post: /replication/switch/get
body: "*"
# Policy service - routing:
- selector: chorus.Policy.ListRoutings
post: /routing
body: "*"
- selector: chorus.Policy.AddRouting
post: /routing/add
body: "*"
- selector: chorus.Policy.DeleteRouting
put: /routing/delete
body: "*"
- selector: chorus.Policy.BlockRouting
put: /routing/block
body: "*"
- selector: chorus.Policy.UnblockRouting
put: /routing/unblock
body: "*"
- selector: chorus.Policy.TestProxy
post: /test-proxy
body: "*"
# Webhook service:
- selector: chorus.Webhook.SwiftEvents
post: "/webhook/{storage}/swift"
body: "*"
- selector: chorus.Webhook.S3Notifications
post: "/webhook/{storage}/s3-notifications"
body: "*"