forked from membrane/api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapis.yaml
More file actions
47 lines (39 loc) · 628 Bytes
/
apis.yaml
File metadata and controls
47 lines (39 loc) · 628 Bytes
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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.1.2.json
api:
port: 8080
name: Balancer
flow:
- balancer: {}
---
# Mock nodes for testing. Remove them in production.
api:
port: 4000
name: Node 1
flow:
- counter: Node 1
---
api:
port: 4001
name: Node 2
flow:
- counter: Node 2
---
api:
port: 4002
name: Node 3
flow:
- counter: Node 3
---
# Admin console (Optional)
api:
port: 9000
name: Administration
flow:
- adminConsole: {}
---
# API to add and remove nodes (Optional)
api:
port: 9010
name: Balancer Management
flow:
- clusterNotification: {}