Merge branch 'develop' into feat/openprovider-provider

This commit is contained in:
Maël Gangloff
2025-11-17 11:01:50 +01:00
121 changed files with 10460 additions and 1014 deletions

View File

@@ -42,6 +42,7 @@ api_platform:
App\Exception\TldNotSupportedException: 400
App\Exception\UnknownRdapServerException: 400
App\Exception\UnsupportedDsnScheme: 400
App\Exception\RdapServerException: 400
# Provider exception
App\Exception\Provider\UserNoExplicitConsentException: 451

View File

@@ -24,6 +24,9 @@ doctrine:
alias: App
controller_resolver:
auto_mapping: false
dql:
string_functions:
JSONB_CONTAINS: Scienta\DoctrineJsonFunctions\Query\AST\Functions\Postgresql\JsonbContains
when@test:
doctrine:

View File

@@ -5,10 +5,28 @@ framework:
transports:
# https://symfony.com/doc/current/messenger.html#transport-configuration
async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
dsn: '%env(MESSENGER_ASYNC_TRANSPORT_DSN)%'
retry_strategy:
max_retries: 3
multiplier: 2
rdap_high:
dsn: '%env(MESSENGER_RDAP_HIGH_TRANSPORT_DSN)%'
options:
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
retry_strategy:
delay: 1000
multiplier: 2
max_delay: 86400000
rdap_low:
dsn: '%env(MESSENGER_RDAP_LOW_TRANSPORT_DSN)%'
options:
consumer: '%env(MESSENGER_CONSUMER_NAME)%'
retry_strategy:
delay: 2000
multiplier: 2
max_delay: 86400000
failed: 'doctrine://default?queue_name=failed'
# sync: 'sync://'
@@ -23,11 +41,9 @@ framework:
Symfony\Component\Notifier\Message\SmsMessage: async
App\Message\OrderDomain: async
App\Message\ProcessWatchlistTrigger: async
App\Message\SendDomainEventNotif: async
App\Message\UpdateDomainsFromWatchlist: async
App\Message\DetectDomainChange: async
App\Message\ProcessAllWatchlist: async
App\Message\ProcessWatchlist: async
App\Message\UpdateRdapServers: async
App\Message\ValidateConnectorCredentials: async
# Route your messages to the transports
# 'App\Message\YourMessage': async
App\Message\UpdateDomain: rdap_high

View File

@@ -20,7 +20,7 @@ framework:
limit: 5
rate: { interval: '5 minutes' }
rdap_requests:
user_rdap_requests:
policy: sliding_window
limit: 10
interval: '1 hour'
interval: '1 hour'