Reload config (#315)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
cluster:
|
||||
upstreams:
|
||||
- id: local3
|
||||
chain: polygon
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
34
src/test/resources/configs/upstreams-changed.yaml
Normal file
34
src/test/resources/configs/upstreams-changed.yaml
Normal file
@@ -0,0 +1,34 @@
|
||||
cluster:
|
||||
upstreams:
|
||||
- id: local1
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
- id: local2
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
- id: local3
|
||||
chain: polygon
|
||||
labels:
|
||||
new: label
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
35
src/test/resources/configs/upstreams-initial.yaml
Normal file
35
src/test/resources/configs/upstreams-initial.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
cluster:
|
||||
upstreams:
|
||||
- id: local1
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
- id: local2
|
||||
chain: ethereum
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
- id: local3
|
||||
chain: polygon
|
||||
labels:
|
||||
provider: provider1
|
||||
connection:
|
||||
ethereum-pos:
|
||||
execution:
|
||||
rpc:
|
||||
url: "http://localhost"
|
||||
ws:
|
||||
url: "ws://localhost"
|
||||
Reference in New Issue
Block a user