diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-07-19 15:09:27 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-07-29 12:18:46 +0200 |
commit | 5566b11d10e057c90e33870db395b583b2709364 (patch) | |
tree | 328301b3185dd942f6312174b7fd6b34b0e109b4 /src/testing | |
parent | 191f5e9a543ba581e129783313a4a6e8ed598a07 (diff) | |
download | exchange-5566b11d10e057c90e33870db395b583b2709364.tar.xz |
introduce default check
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_exchange_api.conf | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/src/testing/test_exchange_api.conf b/src/testing/test_exchange_api.conf index d41a70b1b..00c1207ff 100644 --- a/src/testing/test_exchange_api.conf +++ b/src/testing/test_exchange_api.conf @@ -99,7 +99,6 @@ WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/" [kyc-provider-test-oauth2] LOGIC = oauth2 CONVERTER = taler-exchange-helper-converter-oauth2-address -# PROVIDED_CHECKS = DUMMY KYC_OAUTH2_VALIDITY = forever KYC_OAUTH2_TOKEN_URL = http://localhost:6666/oauth/v2/token KYC_OAUTH2_AUTHORIZE_URL = http://localhost:6666/oauth/v2/login @@ -122,6 +121,20 @@ FALLBACK = manual-freeze # This check runs on oauth2 PROVIDER_ID = test-oauth2 +# This is the "default" setting for an account if +# it has not yet triggered anything. +[kyc-check-default] +VOLUNTARY = NO +TYPE = INFO +DESCRIPTION = "Your account is operating normally" +DESCRIPTION_I18N = {} +# No context requirements +REQUIRES = +# Measure to execute if check failed. Well, +# this check cannot really fail, but the +# conservative answer is to freeze. +FALLBACK = manual-freeze + # If this "check" is triggered, we merely inform # the user that their account has been frozen. The # user cannot proceed manually. @@ -137,6 +150,20 @@ REQUIRES = # where we are: frozen. FALLBACK = manual-freeze +# If this "check" is triggered, we merely inform +# the user that we got their oauth-test data on file. +[kyc-check-info-oauth-test-passed] +VOLUNTARY = NO +TYPE = INFO +DESCRIPTION = "You passed the OAuth2 check. Thank you." +DESCRIPTION_I18N = {} +# No context requirements +REQUIRES = +# Measure to execute if check failed. Well, +# this check cannot really fail, but we stay +# where we are: frozen. +FALLBACK = manual-freeze + [aml-program-oauth-output-check] DESCRIPTION = "Validates the output from OAauth2 and then permits the reserve closing to proceed" # Command that runs on the output of the OAuth provider @@ -158,7 +185,7 @@ CONTEXT = {} # whenever something goes wrong. We freeze the # account and ask AML staff to investigate. [kyc-measure-manual-freeze] -CHECK_NAME = info-frozen +CHECK_NAME = skip # AML program that freezes the account and flags # it for investigation. PROGRAM = taler-exchange-helper-measure-freeze |