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
41 lines (36 loc) · 621 Bytes
/
Copy pathapis.yaml
File metadata and controls
41 lines (36 loc) · 621 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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.1.2.json
global:
- openTelemetry:
sampleRate: 1.0
otlpExporter:
host: localhost
---
api:
name: Entry
port: 2000
target:
url: http://localhost:2001
---
api:
name: Access Control
port: 2001
target:
url: http://localhost:2002
---
api:
name: Validation
port: 2002
target:
url: http://localhost:3000
---
api:
name: Backend
port: 3000
flow:
- request:
- log:
message: "Header: ${header}"
- static:
src: Greetings from the backend!
- return:
status: 200