From a9b224749c355979f7bd1091c9464114e9e34a73 Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Tue, 3 Mar 2026 11:44:33 -0800 Subject: [PATCH] feat(ab-testing): add experiment types and cosmos containers [1.1] --- services/platform-service/src/lib/cosmos-init.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/services/platform-service/src/lib/cosmos-init.ts b/services/platform-service/src/lib/cosmos-init.ts index 5024469f..39b5031f 100644 --- a/services/platform-service/src/lib/cosmos-init.ts +++ b/services/platform-service/src/lib/cosmos-init.ts @@ -67,6 +67,11 @@ const CONTAINER_DEFS: Record = { // P2 — Product Intelligence experiments: { partitionKeyPath: '/id' }, experiment_assignments: { partitionKeyPath: '/experimentId' }, + // A/B Testing — Extended containers for Intelligent A/B Testing + ab_testing_variants: { partitionKeyPath: '/experimentId' }, + ab_testing_events: { partitionKeyPath: '/experimentId', defaultTtl: 90 * 86400 }, + ab_testing_metrics: { partitionKeyPath: '/experimentId' }, + experiment_suggestions: { partitionKeyPath: '/productId', defaultTtl: 180 * 86400 }, analytics_rollups: { partitionKeyPath: '/productId' }, feedback: { partitionKeyPath: '/productId' }, impersonation_sessions: { partitionKeyPath: '/productId', defaultTtl: 90 * 86400 },