feat: implement license platform business flows and delivery tooling
Some checks failed
Check / delivery-static (push) Has been cancelled
Check / api (push) Has been cancelled
Check / web (push) Has been cancelled

Add admin and customer interfaces, orders, signed activation and leases, protected package delivery, keyring verification, migrations, security controls, tests and deployment documentation.

Co-Authored-By: Craft Agent <agents-noreply@craft.do>
This commit is contained in:
2026-10-09 15:33:22 +08:00
parent 3ab651d3a8
commit 54c318c615
142 changed files with 11105 additions and 178 deletions

View File

@@ -4,6 +4,8 @@ First implementation slice: Gin API and Vue 3/Vite management shell. This is **n
Prerequisites: Go 1.23+, Node 20+. From `backend`, run `go run ./cmd/server`. From `frontend`, run `npm ci` and `npm run dev`. Visit http://127.0.0.1:5173/ (Vite proxies `/api` to the Go server at 127.0.0.1:18080). Set `HTTP_ADDR` to override the Go listen address; update the Vite proxy when changing API port.
Checks: `go test ./...` from `backend`, `npm run build` from `frontend`. `/api/v1/health/live` reports only process liveness and does not prove database readiness. No secret is committed; `.env.example` is documentation only.
Checks: `go test ./...` from `backend`, `npm run build` from `frontend`. `/api/v1/health/live` reports only process liveness and does not prove database readiness. No secret is committed; `.env.example` is documentation only and is not loaded automatically. Export the variables in your shell or deployment environment. HTTP timeout values must be positive Go durations no greater than 5m; invalid configuration fails startup. The server handles SIGTERM/interrupt with a bounded graceful shutdown and does not trust forwarded client IP headers by default.
Migration conventions: `backend/migrations/README.md`. SQL and migration runner validation are not implemented yet. Task status and verification records: `docs/task-execution.md` and the detailed task plan. T03 remains in progress; no task has been accepted as release-ready.
Before implementing binding and issuance: decide the licensed Web product, instance identity across container recreation/replicas and its integration owner. Confirm the remaining ADRs in `软件授权与统一管理平台-架构决策与MVP验收规格.md`.