-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment-spec.yaml
73 lines (61 loc) · 1.37 KB
/
deployment-spec.yaml
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
application: my-application
defaults: import './default-configs.yaml'
services:
- name: ServiceA
type: api
configuration:
host: 127.0.0.1
port: 8081
threads: 20
- name: ServiceB
type: api
configuration:
host: 127.0.0.1
port: 8080
threads: 20
- name: ServiceComm
type: api
configuration:
host: 127.0.0.1
port: 8082
- name: OrderService
type: module
authentication:
provider:
- name: AuthProviderModule
function-call-lb:
- 'getOrderDetails':
key:
index-of-argument: 1
argument-name: merchant_id
rpc:
- 'getOrderDetails':
endpoint: http://test.org
caching:
- 'getOrderDetails':
generate-key-using:
- position: 1pp
name: merchant_id
- position: 2
name: order_id
time: 120.00
- 'getTransactionsForOrder':
time: 120.00
logging:
- 'getOrderDetails':
arguments:
- papertrail
- file
return:
- papertrail
- file
metrics:
- 'getOrderDetails':
- counter
- latency
hystrix:
- 'getOrderDetails':
latency:
exceeds: 25s
call-count:
exceeds: '~1000'