|
1 | 1 | # GET url |
2 | 2 | {{ $GETendpoints := list |
3 | 3 | "/api/prism/v4.0.a1/config/tasks" |
| 4 | +"/api/prism/v4.0.b1/config/tasks" |
4 | 5 | "/api/storage/v4.0.a3/config/volume-groups/" |
| 6 | +"/api/volumes/v4.0.b1/config/volume-groups" |
5 | 7 | "/api/prism/v4.0.a1/config/categories" |
| 8 | +"/api/prism/v4.0.b1/config/categories" |
6 | 9 | "/api/dataprotection/v4.0.a3/config/recovery-points" |
7 | 10 | "/api/clustermgmt/v4.0.a2/config/clusters" |
| 11 | +"/api/clustermgmt/v4.0.b2/config/clusters" |
8 | 12 | "/api/networking/v4.0.a1/config/subnets" |
9 | 13 | "/api/vmm/v4.0.a1/images" |
10 | 14 | "/api/vmm/v4.0.a1/ahv/config/vms" |
| 15 | +"/api/vmm/v4.0.b1/ahv/config/vms" |
| 16 | +"/api/clustermgmt/v4.0.b2/config/storage-containers" |
11 | 17 | }} |
12 | 18 |
|
13 | 19 | # POST url |
14 | 20 | {{ $POSTendpoints := list |
15 | 21 | "/api/storage/v4.0.a3/config/volume-groups" |
| 22 | +"/api/volumes/v4.0.b1/config/volume-groups" |
16 | 23 | "/api/prism/v4.0.a1/config/categories" |
| 24 | +"/api/prism/v4.0.b1/config/categories" |
17 | 25 | "/api/dataprotection/v4.0.a3/config/recovery-points" |
18 | 26 | "/api/vmm/v4.0.a1/ahv/config/vms" |
19 | 27 | "/api/vmm/v4.0.a1/images" |
|
27 | 35 | # PATCH url |
28 | 36 | {{ $PATCHendpoints := list |
29 | 37 | "/api/storage/v4.0.a3/config/volume-groups" |
| 38 | +"/api/volumes/v4.0.b1/config/volume-groups" |
30 | 39 | }} |
31 | 40 |
|
32 | 41 | # DELETE url |
|
37 | 46 | }} |
38 | 47 |
|
39 | 48 | {{define "route"}} |
40 | | - {{ randAlphaNum 10 }}: |
| 49 | + {{ .Method | lower }}-{{ .Prefix | replace "/api/" "" | replace "/" "-" }}:: |
41 | 50 | entryPoints: |
42 | 51 | - "proxy" |
43 | 52 | rule: "Host(`{{ default "FQDN_not_configured" (env "FQDN") }}`) && PathPrefix(`{{.Prefix}}`) && Method(`{{.Method}}`)" |
|
0 commit comments