Zero-touch product provisioning: when a request arrives with an unknown productId and a valid JWT, auto-create a minimal ProductDoc instead of rejecting. Enables new products to use platform-service immediately. - auto-register.ts: auto-create ProductDoc with sensible defaults - Rate limited: max 10 auto-registrations per minute - Requires valid JWT (unauthenticated requests still rejected) - Audit logged as product.auto_registered - request-context.ts: exported extractProductIdAsync with auto-register - 8 tests: register, duplicate, format validation, rate limit |
||
|---|---|---|
| .. | ||
| lib | ||
| migrations | ||
| modules | ||
| nodemailer.d.ts | ||
| server.test.ts | ||
| server.ts | ||