Commit Graph

2 Commits

Author SHA1 Message Date
akastijn 48a01e0a98 Add UUID-based file download support to NotificationServer
- Introduce `/notify/{uuid}/{file}.json` endpoint in `NotificationServer`.
- Validate UUID format and handle bad requests with appropriate error responses.
- Extend `FileDownloadService` to support downloads using UUIDs.
- Refactor common file download logic for reuse across endpoints.
2025-06-29 02:53:52 +02:00
akastijn d4359bf480 Add notification server and file download service implementation
- Introduce `NotificationServer` for handling HTTP notifications.
- Register `ProxyShutdownEvent` to stop the notification server on shutdown.
- Add `FileDownloadService` for asynchronous file downloads using the configured endpoint.
- Update `Config` to include `download-endpoint`.
- Add Javalin and SLF4J dependencies for the HTTP server.
2025-06-23 23:06:47 +02:00