feat: Add Phase 11 analytics and production readiness features
- Introduced new endpoints for account overview, analytics, and metrics. - Implemented authorization matrix and backup/restore documentation. - Added smoke test script and updated package dependencies. - Created detailed production checklist and runbook for deployment. - Established cron operations and notification event matrix documentation. - Enhanced security and validation audits for analytics and metrics services. - Added unit tests for analytics and metrics functionalities.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
const base=(process.env.SMOKE_BASE_URL||"http://127.0.0.1:3070").replace(/\/$/,"");const checks=["/health/live","/health/ready","/api/v1/products?limit=1","/api/v1/help/categories","/api/v1/banners/current"];(async()=>{let failed=0;for(const path of checks){try{const r=await fetch(base+path,{signal:AbortSignal.timeout(10000)});const ok=r.ok||(path==="/health/ready"&&r.status===503);console.log(`${ok?"PASS":"FAIL"} ${path} ${r.status}`);if(!ok)failed++;}catch(e){console.log(`FAIL ${path} ${e.message}`);failed++;}}process.exitCode=failed?1:0;})();
|
||||
Reference in New Issue
Block a user