Slack notify
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
api_platform:
|
||||
title: CDS Connector API
|
||||
version: 1.0.0
|
||||
mapping:
|
||||
paths: ['%kernel.project_dir%/src/Entity']
|
||||
patch_formats:
|
||||
json: ['application/merge-patch+json']
|
||||
swagger:
|
||||
versions: [3]
|
||||
formats:
|
||||
json: [ 'application/json' ]
|
||||
jsonld: [ 'application/ld+json' ]
|
||||
html: [ 'text/html' ]
|
||||
multipart: [ 'multipart/form-data' ]
|
||||
allow_plain_identifiers: true
|
||||
oauth:
|
||||
# To enable or disable OAuth.
|
||||
enabled: false
|
||||
|
||||
# The OAuth client ID.
|
||||
clientId: 'cycro'
|
||||
|
||||
# The OAuth client secret.
|
||||
clientSecret: 'cycro123'
|
||||
|
||||
# The OAuth type.
|
||||
type: 'oauth2'
|
||||
|
||||
# The OAuth flow grant type.
|
||||
flow: 'application'
|
||||
|
||||
# The OAuth token URL.
|
||||
tokenUrl: '/oauth/v2/token'
|
||||
|
||||
# The OAuth authentication URL.
|
||||
authorizationUrl: '/oauth/v2/auth'
|
||||
|
||||
# The OAuth scopes.
|
||||
scopes: []
|
||||
@@ -1,9 +1,6 @@
|
||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||
framework:
|
||||
secret: '%env(APP_SECRET)%'
|
||||
# SHOPWARE_API_URL: '%env(string:SHOPWARE_API_URL)%'
|
||||
# SHOPWARE_API_KEY: '%env(string:SHOPWARE_API_KEY)%'
|
||||
# SHOPWARE_API_ID: '%env(string:SHOPWARE_API_ID)%'
|
||||
#csrf_protection: true
|
||||
http_method_override: false
|
||||
|
||||
|
||||
16
config/packages/notifier.yaml
Normal file
16
config/packages/notifier.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
framework:
|
||||
notifier:
|
||||
chatter_transports:
|
||||
slack: '%env(SLACK_DSN)%'
|
||||
# telegram: '%env(TELEGRAM_DSN)%'
|
||||
#texter_transports:
|
||||
# twilio: '%env(TWILIO_DSN)%'
|
||||
# nexmo: '%env(NEXMO_DSN)%'
|
||||
channel_policy:
|
||||
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
|
||||
urgent: ['slack']
|
||||
high: ['slack']
|
||||
medium: ['email']
|
||||
low: ['email']
|
||||
admin_recipients:
|
||||
- { email: admin@example.com }
|
||||
Reference in New Issue
Block a user