forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
/
development_oauth.yaml
56 lines (52 loc) · 1.35 KB
/
development_oauth.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
persistence:
advancedVisibilityStore: es-visibility
datastores:
es-visibility:
elasticsearch:
version: "v7"
url:
scheme: "http"
host: "127.0.0.1:9200"
indices:
visibility: cadence-visibility-dev
kafka:
tls:
enabled: false
clusters:
test:
brokers:
- 127.0.0.1:9092
topics:
cadence-visibility-dev:
cluster: test
cadence-visibility-dev-dlq:
cluster: test
applications:
visibility:
topic: cadence-visibility-dev
dlq-topic: cadence-visibility-dev-dlq
dynamicconfig:
client: filebased
filebased:
filepath: "config/dynamicconfig/development_es.yaml"
authorization:
oauthAuthorizer:
enable: true
maxJwtTTL: 600000000
jwtCredentials:
algorithm: "RS256"
publicKey: "config/credentials/keytest.pub"
clusterGroupMetadata:
enableGlobalDomain: true
failoverVersionIncrement: 10
masterClusterName: "cluster0"
currentClusterName: "cluster0"
clusterGroup:
cluster0:
enabled: true
initialFailoverVersion: 0
rpcAddress: "localhost:7933" # this is to let worker service and XDC replicator connected to the frontend service. In cluster setup, localhost will not work
authorizationProvider:
enable: true
type: "OAuthAuthorization"
privateKey: "config/credentials/keytest"