feat: add propose domain endpoint

This commit is contained in:
Maël Gangloff
2025-09-13 13:09:28 +02:00
parent 1b1b82189e
commit c93037663f
9 changed files with 163 additions and 36 deletions

View File

@@ -28,6 +28,7 @@ framework:
App\Message\UpdateDomainsFromWatchlist: async
App\Message\UpdateRdapServers: async
App\Message\ValidateConnectorCredentials: async
App\Message\ProposeDomainMessage: async
# Route your messages to the transports
# 'App\Message\YourMessage': async

View File

@@ -23,4 +23,9 @@ framework:
rdap_requests:
policy: sliding_window
limit: 10
interval: '1 hour'
interval: '1 hour'
propose_domain:
policy: sliding_window
limit: 10
interval: '1 hour'

View File

@@ -63,6 +63,7 @@ security:
- { path: "^/api/watchlists/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/calendar$", roles: PUBLIC_ACCESS }
- { path: "^/api/watchlists/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/rss", roles: PUBLIC_ACCESS }
- { path: "^/api/config$", roles: PUBLIC_ACCESS }
- { path: "^/api/propose-domain", roles: PUBLIC_ACCESS }
- { path: ^/api, roles: IS_AUTHENTICATED_FULLY }
when@test: