mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-22 22:18:05 +01:00
support local-filesystem-based dynamic config for tests
This commit is contained in:
committed by
GitHub
parent
a5f490cc53
commit
c7d1ad56ff
@@ -1 +1 @@
|
||||
org.whispersystems.textsecuregcm.configuration.StaticDynamicConfigurationManagerFactory
|
||||
org.whispersystems.textsecuregcm.configuration.LocalDynamicConfigurationManagerFactory
|
||||
|
||||
2
service/src/test/resources/config/test-dynamic.yml
Normal file
2
service/src/test/resources/config/test-dynamic.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
captcha:
|
||||
scoreFloor: 1.0
|
||||
@@ -311,13 +311,11 @@ backupsZkConfig:
|
||||
serverSecret: secret://backupsZkConfig.serverSecret
|
||||
|
||||
appConfig:
|
||||
type: static
|
||||
type: local
|
||||
application: test
|
||||
environment: test
|
||||
configuration: test
|
||||
staticConfig: |
|
||||
captcha:
|
||||
scoreFloor: 1.0
|
||||
configPath: test-dynamic.yml
|
||||
|
||||
remoteConfig:
|
||||
globalConfig: # keys and values that are given to clients on GET /v1/config
|
||||
|
||||
Reference in New Issue
Block a user