Commit Graph
13 Commits
Author SHA1 Message Date
“Naeel” 70c276b4e7 feat(shared-sqs): remove auth from UI, add public /ui/api/ routes (v0.1.5)
- Public routes /ui/api/* without bearer token for demo
- UI loads dashboard immediately, no login required
- Admin API /admin/* still requires bearer token
- For demo purposes only — auth will be restored later
2026-04-09 18:23:17 +03:00
“Naeel” 12b3bb9bf3 feat(shared-sqs): add SQS Console UI (v0.1.4)
- Embedded SPA with Nubes branding (go:embed)
- Admin dashboard: health stats, tenant CRUD, queue listing
- New API: GET /admin/tenants/{id}/queues — tenant queue list with counts
- Route /ui/ serves built-in console
- Auto-refresh every 10s, responsive design
2026-04-09 18:01:12 +03:00
Naeel 2c1b7d042e test: fix output handling + patterns → 83/86 PASS
- head -3 → head -10 in check() to show full error messages
- Group 16: 100KB instead of 250KB to avoid argv overflow
- Batch 11+, dupID: add pattern "Maximum" and "Two.or.more"
- QueueNotFound: add pattern "specified"
- ChangeVisibility: fix pattern for "in flight" vs "not.in"
- 3 FAILs remain: AWS client-side validation (VT<0), WaitTime>20, no server-side validation
2026-04-09 17:34:26 +03:00
Naeel 7d7bc7e063 test: add 9 edge-case groups (86 tests total, 76/86 PASS)
- Group 15: boundary cases (long names, empty bodies)
- Group 16: large messages (250KB)
- Group 17: invalid params (negative timeout, waitTime>20)
- Group 18: batch boundary cases (1/10/11+ messages, duplicate IDs)
- Group 19: MaxMessages parameter
- Group 20: double delete, fake ReceiptHandle
- Group 21: duplicate queue names
- Group 22: operations on non-existent queues
- Group 23: special characters and encodings

Note: 10 FAILs are test/CLI issues (error in stderr, bash Argument list too long), not server bugs.
2026-04-09 17:23:47 +03:00
Naeel 5ecf2782fa fix: JSON protocol for Batch ops + CMV test (61/61 PASS)
- SendMessageBatch/DeleteMessageBatch: JSON tags Successful/Failed for AWS CLI v2
- Fix CMV test: capture receipt handle from same receive that checks visibility
2026-04-09 17:12:26 +03:00
Naeel 6c1aadd886 fix: InvalidClientTokenId panic + VT defaults + Dockerfile config + hardcore tests (58/61)
- Add InvalidClientTokenId, ValidationError to SqsErrors (was causing panic: WriteHeader code 0)
- Extract applyEnvironmentDefaults() with defer in LoadYamlConfig (VT=30 even without config file)
- Dockerfile: copy goaws.yaml to /conf/, pass --config flag
- Fix SendMessageBatch form parsing for AWS Query Protocol
- Add hardcore_test.sh (61 tests, 14 groups)
- Remove temp debug logs from delete_message.go
2026-04-09 16:11:32 +03:00
Naeel e5b1845acf shared-sqs: registry Docker Hub (naeel/shared-sqs), не pearlharbor 2026-04-09 14:09:58 +03:00
Naeel c4879d53de shared-sqs: деплой в K8s — qu.kube5s.ru, ingress, TLS 2026-04-09 13:58:41 +03:00
Naeel 33a075ab5c shared-sqs: Этап 9 — интеграционные тесты 28/28 PASS 2026-04-09 13:35:26 +03:00
Naeel 2c9a2b2ebf shared-sqs: Этапы 7+8 — Dockerfile, K8s manifests, Makefile 2026-04-09 13:16:58 +03:00
Naeel 073683250c shared-sqs: Этапы 5+6 — Admin API, auth middleware, graceful shutdown 2026-04-09 12:59:53 +03:00
Naeel 08053ca8e5 shared-sqs: Этап 4 — изоляция очередей по тенанту 2026-04-09 12:53:10 +03:00
Naeel f4352a17b1 shared-sqs: Этап 1 — клон GoAWS, удаление SNS, go build OK 2026-04-09 12:25:02 +03:00