feat: add stdout and filesystem notification channels (#2925)

* feat: add filesystem and stdout notification channels

* configure through env vars

* compile

* feat: add compact option for debug notification channels

* fix channel mock generation

* avoid sensitive information in error message

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* add review improvements

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Elio Bischof
2022-01-06 09:00:24 +01:00
committed by GitHub
parent 2bbbc3551a
commit aa2a1848da
37 changed files with 426 additions and 247 deletions

View File

@@ -83,9 +83,6 @@ SystemDefaults:
DomainClaimed: '$ZITADEL_ACCOUNTS/login'
PasswordlessRegistration: '$ZITADEL_ACCOUNTS/login/passwordless/init'
Providers:
Chat:
Url: $CHAT_URL
SplitCount: 4000
Email:
SMTP:
Host: $SMTP_HOST
@@ -98,6 +95,18 @@ SystemDefaults:
SID: $TWILIO_SERVICE_SID
Token: $TWILIO_TOKEN
From: $TWILIO_SENDER_NAME
FileSystem:
Enabled: $FS_NOTIFICATIONS_ENABLED
Path: $FS_NOTIFICATIONS_PATH
Compact: $FS_NOTIFICATIONS_COMPACT
Log:
Enabled: $LOG_NOTIFICATIONS_ENABLED
Compact: $LOG_NOTIFICATIONS_COMPACT
Chat:
Enabled: $CHAT_ENABLED
Url: $CHAT_URL
Compact: $CHAT_COMPACT
SplitCount: 4000
TemplateData:
InitCode:
Title: 'InitCode.Title'
@@ -146,4 +155,4 @@ SystemDefaults:
EncryptionConfig:
EncryptionKeyID: $ZITADEL_OIDC_KEYS_ID
SigningKeyRotationCheck: 10s
SigningKeyGracefulPeriod: 10m
SigningKeyGracefulPeriod: 10m