-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapplication-execution-service.yaml
More file actions
47 lines (42 loc) · 1.4 KB
/
application-execution-service.yaml
File metadata and controls
47 lines (42 loc) · 1.4 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
spring:
application:
name: execution
datasource:
url: jdbc:postgresql://localhost:5432/${spring.application.name}db
cloud:
function:
definition: commandResponseChannel;executionServiceCommandChannel;executionEventSubscriber;
stream:
bindings:
execution-command-channel:
destination: ${spring.application.name}-command-channel
executionServiceCommandChannel-in-0:
destination: ${spring.application.name}-command-channel
group: ${spring.application.name}-service-group
commandResponseChannel-in-0:
destination: ${spring.application.name}-command-responses
group: ${spring.application.name}-response-group
executionEventSubscriber-in-0:
destination: event-channel
group: ${spring.application.name}-service-group
server:
port: 8083
grpc:
server:
port: 9093
routes:
- id: ${spring.application.name}-service-users
uri: lb://${spring.application.name}${gateway.service-suffix}
predicates:
- Path=/users/*/executions
order: 1
- id: ${spring.application.name}-service-create
uri: lb://${spring.application.name}${gateway.service-suffix}
predicates:
- Path=/executions/create
order: 8
- id: ${spring.application.name}-service
uri: lb://${spring.application.name}${gateway.service-suffix}
predicates:
- Path=/executions/**
order: 10