ЛР5: брокер Redis Streams, worker, outbox, retry/DLQ/replay, варианты

This commit is contained in:
LOSYASH
2026-11-12 15:14:48 +01:00
parent 276dbdad8a
commit b4804ac5c1
98 changed files with 9131 additions and 38 deletions
+17
View File
@@ -0,0 +1,17 @@
# s3-private
# date: 2026-11-12T00:01:16 commit: 276dbda
$ docker compose --env-file .env exec -T api python -m app.tools private-check
ok API credentials: GET own object -> 200
ok anonymous GET object -> 403
ok anonymous LIST bucket -> 403
ok anonymous PUT object -> 403
ok API credentials: ListBuckets (no foreign buckets) -> only messenger-attachments
ok API credentials: CreateBucket -> AccessDenied
ok API credentials: PutBucketPolicy (make public) -> AccessDenied
ok API credentials: DeleteBucket -> AccessDenied
8 passed, 0 failed
[exit 0]
127.0.0.1:9000 closed (TimeoutError) ok
127.0.0.1:9001 closed (TimeoutError) ok