diff --git a/ufc/bandit-flags-v1.json b/ufc/bandit-flags-v1.json index 1b69dd01..955b1e04 100644 --- a/ufc/bandit-flags-v1.json +++ b/ufc/bandit-flags-v1.json @@ -1,8 +1,5 @@ { "createdAt": "2024-04-17T19:40:53.716Z", - "environment": { - "name": "Test" - }, "flags": { "non_bandit_flag": { "key": "non_bandit_flag", @@ -15,7 +12,6 @@ "allocations": [ { "key": "control-allocation", - "name": "Allocation for control-allocation", "splits": [ { "variationKey": "control", @@ -37,7 +33,6 @@ "allocations": [ { "key": "control-allocation", - "name": "Allocation for control-allocation", "splits": [ { "variationKey": "control", @@ -59,7 +54,6 @@ "allocations": [ { "key": "analysis", - "name": "Allocation for analysis", "splits": [ { "variationKey": "control", @@ -92,7 +86,6 @@ }, { "key": "training", - "name": "Allocation for training", "splits": [ { "variationKey": "banner_bandit", @@ -120,7 +113,6 @@ "allocations": [ { "key": "training", - "name": "Allocation for training", "rules": [ { "conditions": [ @@ -144,7 +136,6 @@ }, { "key": "default", - "name": "Allocation for default", "rules": [], "splits": [ { diff --git a/ufc/bandit-models-v1.json b/ufc/bandit-models-v1.json index 7d4c68f8..2fc51e93 100644 --- a/ufc/bandit-models-v1.json +++ b/ufc/bandit-models-v1.json @@ -1,8 +1,5 @@ { "updatedAt": "2023-09-13T04:52:06.462Z", - "environment": { - "name": "Test" - }, "bandits": { "banner_bandit": { "banditKey": "banner_bandit", diff --git a/ufc/flags-v1-obfuscated.json b/ufc/flags-v1-obfuscated.json index c47902e9..3a24aaa4 100644 --- a/ufc/flags-v1-obfuscated.json +++ b/ufc/flags-v1-obfuscated.json @@ -1,8 +1,5 @@ { "createdAt": "2024-04-17T19:40:53.716Z", - "environment": { - "name": "Test" - }, "flags": { "73fcc84c69e49e31fe16a29b2b1f803b": { "key": "73fcc84c69e49e31fe16a29b2b1f803b", @@ -55,7 +52,6 @@ "allocations": [ { "key": "cm9sbG91dA==", - "name": "QWxsb2NhdGlvbiBmb3Igcm9sbG91dA==", "doLog": true, "splits": [ { @@ -84,7 +80,6 @@ "allocations": [ { "key": "dmFsaWQ=", - "name": "QWxsb2NhdGlvbiBmb3IgdmFsaWQ=", "doLog": true, "rules": [ { @@ -108,7 +103,6 @@ }, { "key": "aW52YWxpZA==", - "name": "QWxsb2NhdGlvbiBmb3IgaW52YWxpZA==", "doLog": true, "rules": [], "splits": [ @@ -138,7 +132,6 @@ "allocations": [ { "key": "cGFydGlhbC1leGFtcGxl", - "name": "QWxsb2NhdGlvbiBmb3IgcGFydGlhbC1leGFtcGxl", "doLog": true, "rules": [ { @@ -160,7 +153,6 @@ }, { "key": "dGVzdA==", - "name": "QWxsb2NhdGlvbiBmb3IgdGVzdA==", "doLog": true, "rules": [ { @@ -204,7 +196,6 @@ "allocations": [ { "key": "MS1mb3ItMQ==", - "name": "QWxsb2NhdGlvbiBmb3IgMS1mb3ItMQ==", "doLog": true, "rules": [ { @@ -228,7 +219,6 @@ }, { "key": "Mi1mb3ItMTIzNDU2Nzg5", - "name": "QWxsb2NhdGlvbiBmb3IgMi1mb3ItMTIzNDU2Nzg5", "doLog": true, "rules": [ { @@ -252,7 +242,6 @@ }, { "key": "My1mb3Itbm90LTI=", - "name": "QWxsb2NhdGlvbiBmb3IgMy1mb3Itbm90LTI=", "doLog": true, "rules": [ { @@ -306,7 +295,6 @@ "allocations": [ { "key": "MS1mb3Itb25lLW9m", - "name": "QWxsb2NhdGlvbiBmb3IgMS1mb3Itb25lLW9m", "doLog": true, "rules": [ { @@ -330,7 +318,6 @@ }, { "key": "Mi1mb3ItbWF0Y2hlcw==", - "name": "QWxsb2NhdGlvbiBmb3IgMi1mb3ItbWF0Y2hlcw==", "doLog": true, "rules": [ { @@ -352,7 +339,6 @@ }, { "key": "My1mb3Itbm90LW9uZS1vZg==", - "name": "QWxsb2NhdGlvbiBmb3IgMy1mb3Itbm90LW9uZS1vZg==", "doLog": true, "rules": [ { @@ -376,7 +362,6 @@ }, { "key": "NC1mb3Itbm90LW1hdGNoZXM=", - "name": "QWxsb2NhdGlvbiBmb3IgNC1mb3Itbm90LW1hdGNoZXM=", "doLog": true, "rules": [ { @@ -398,7 +383,6 @@ }, { "key": "NS1mb3ItbWF0Y2hlcy1udWxs", - "name": "QWxsb2NhdGlvbiBmb3IgNS1mb3ItbWF0Y2hlcy1udWxs", "doLog": true, "rules": [ { @@ -440,7 +424,6 @@ "allocations": [ { "key": "b24tZm9yLU5B", - "name": "QWxsb2NhdGlvbiBmb3Igb24tZm9yLU5B", "doLog": true, "rules": [ { @@ -476,7 +459,6 @@ }, { "key": "b24tZm9yLWFnZS01MCs=", - "name": "QWxsb2NhdGlvbiBmb3Igb24tZm9yLWFnZS01MCs=", "doLog": true, "rules": [ { @@ -508,7 +490,6 @@ }, { "key": "b2ZmLWZvci1hbGw=", - "name": "QWxsb2NhdGlvbiBmb3Igb2ZmLWZvci1hbGw=", "doLog": true, "rules": [], "splits": [ @@ -542,7 +523,6 @@ "allocations": [ { "key": "b2xkLXZlcnNpb25z", - "name": "QWxsb2NhdGlvbiBmb3Igb2xkLXZlcnNpb25z", "doLog": true, "rules": [ { @@ -564,7 +544,6 @@ }, { "key": "Y3VycmVudC12ZXJzaW9ucw==", - "name": "QWxsb2NhdGlvbiBmb3IgY3VycmVudC12ZXJzaW9ucw==", "doLog": true, "rules": [ { @@ -591,7 +570,6 @@ }, { "key": "bmV3LXZlcnNpb25z", - "name": "QWxsb2NhdGlvbiBmb3IgbmV3LXZlcnNpb25z", "doLog": true, "rules": [ { @@ -635,7 +613,6 @@ "allocations": [ { "key": "c21hbGwtc2l6ZQ==", - "name": "QWxsb2NhdGlvbiBmb3Igc21hbGwtc2l6ZQ==", "doLog": true, "rules": [ { @@ -657,7 +634,6 @@ }, { "key": "bWVkdW0tc2l6ZQ==", - "name": "QWxsb2NhdGlvbiBmb3IgbWVkdW0tc2l6ZQ==", "doLog": true, "rules": [ { @@ -684,7 +660,6 @@ }, { "key": "bGFyZ2Utc2l6ZQ==", - "name": "QWxsb2NhdGlvbiBmb3IgbGFyZ2Utc2l6ZQ==", "doLog": true, "rules": [ { @@ -728,7 +703,6 @@ "allocations": [ { "key": "b2xkLXZlcnNpb25z", - "name": "QWxsb2NhdGlvbiBmb3Igb2xkLXZlcnNpb25z", "doLog": true, "endAt": "MjAwMi0xMC0zMVQwOTowMDowMC41OTRa", "splits": [ @@ -740,7 +714,6 @@ }, { "key": "ZnV0dXJlLXZlcnNpb25z", - "name": "QWxsb2NhdGlvbiBmb3IgZnV0dXJlLXZlcnNpb25z", "doLog": true, "startAt": "MjA1Mi0xMC0zMVQwOTowMDowMC41OTRa", "splits": [ @@ -752,7 +725,6 @@ }, { "key": "Y3VycmVudC12ZXJzaW9ucw==", - "name": "QWxsb2NhdGlvbiBmb3IgY3VycmVudC12ZXJzaW9ucw==", "doLog": true, "startAt": "MjAyMi0xMC0zMVQwOTowMDowMC41OTRa", "endAt": "MjA1MC0xMC0zMVQwOTowMDowMC41OTRa", @@ -783,7 +755,6 @@ "allocations": [ { "key": "bnVsbC1vcGVyYXRvcg==", - "name": "QWxsb2NhdGlvbiBmb3IgbnVsbC1vcGVyYXRvcg==", "doLog": true, "rules": [ { @@ -814,7 +785,6 @@ }, { "key": "bm90LW51bGwtb3BlcmF0b3I=", - "name": "QWxsb2NhdGlvbiBmb3Igbm90LW51bGwtb3BlcmF0b3I=", "doLog": true, "rules": [ { @@ -870,7 +840,6 @@ "allocations": [ { "key": "aWQgcnVsZQ==", - "name": "QWxsb2NhdGlvbiBmb3IgaWQgcnVsZQ==", "doLog": false, "rules": [ { @@ -892,7 +861,6 @@ }, { "key": "aW50ZXJuYWwgdXNlcnM=", - "name": "QWxsb2NhdGlvbiBmb3IgaW50ZXJuYWwgdXNlcnM=", "doLog": false, "rules": [ { @@ -914,7 +882,6 @@ }, { "key": "ZXhwZXJpbWVudA==", - "name": "QWxsb2NhdGlvbiBmb3IgZXhwZXJpbWVudA==", "doLog": true, "rules": [ { @@ -1005,7 +972,6 @@ }, { "key": "cm9sbG91dA==", - "name": "QWxsb2NhdGlvbiBmb3Igcm9sbG91dA==", "doLog": true, "rules": [ { @@ -1067,7 +1033,6 @@ "allocations": [ { "key": "dGFyZ2V0ZWQgYWxsb2NhdGlvbg==", - "name": "QWxsb2NhdGlvbiBmb3IgdGFyZ2V0ZWQgYWxsb2NhdGlvbg==", "doLog": true, "rules": [ { @@ -1112,7 +1077,6 @@ }, { "key": "NTAvNTAgc3BsaXQ=", - "name": "QWxsb2NhdGlvbiBmb3IgNTAvNTAgc3BsaXQ=", "doLog": true, "rules": [], "splits": [ @@ -1166,7 +1130,6 @@ "allocations": [ { "key": "NTAvNTAgc3BsaXQ=", - "name": "QWxsb2NhdGlvbiBmb3IgNTAvNTAgc3BsaXQ=", "doLog": true, "rules": [], "splits": [ diff --git a/ufc/flags-v1.json b/ufc/flags-v1.json index 1366cd95..88958e71 100644 --- a/ufc/flags-v1.json +++ b/ufc/flags-v1.json @@ -1,8 +1,5 @@ { "createdAt": "2024-04-17T19:40:53.716Z", - "environment": { - "name": "Test" - }, "flags": { "empty_flag": { "key": "empty_flag", @@ -54,7 +51,6 @@ "allocations": [ { "key": "rollout", - "name": "Allocation for rollout", "splits": [ { "variationKey": "pi", @@ -83,7 +79,6 @@ "allocations": [ { "key": "valid", - "name": "Allocation for valid", "rules": [ { "conditions": [ @@ -107,7 +102,6 @@ }, { "key": "invalid", - "name": "Allocation for invalid", "rules": [], "splits": [ { @@ -137,7 +131,6 @@ "allocations": [ { "key": "partial-example", - "name": "Allocation for partial-example", "rules": [ { "conditions": [ @@ -159,7 +152,6 @@ }, { "key": "test", - "name": "Allocation for test", "rules": [ { "conditions": [ @@ -203,7 +195,6 @@ "allocations": [ { "key": "1-for-1", - "name": "Allocation for 1-for-1", "rules": [ { "conditions": [ @@ -227,7 +218,6 @@ }, { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "rules": [ { "conditions": [ @@ -251,7 +241,6 @@ }, { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "rules": [ { "conditions": [ @@ -305,7 +294,6 @@ "allocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "rules": [ { "conditions": [ @@ -329,7 +317,6 @@ }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "rules": [ { "conditions": [ @@ -351,7 +338,6 @@ }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "rules": [ { "conditions": [ @@ -375,7 +361,6 @@ }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "rules": [ { "conditions": [ @@ -397,7 +382,6 @@ }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "rules": [ { "conditions": [ @@ -439,7 +423,6 @@ "allocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "rules": [ { "conditions": [ @@ -475,7 +458,6 @@ }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "rules": [ { "conditions": [ @@ -507,7 +489,6 @@ }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "rules": [], "splits": [ { @@ -541,7 +522,6 @@ "allocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "rules": [ { "conditions": [ @@ -563,7 +543,6 @@ }, { "key": "current-versions", - "name": "Allocation for current-versions", "rules": [ { "conditions": [ @@ -590,7 +569,6 @@ }, { "key": "new-versions", - "name": "Allocation for new-versions", "rules": [ { "conditions": [ @@ -634,7 +612,6 @@ "allocations": [ { "key": "small-size", - "name": "Allocation for small-size", "rules": [ { "conditions": [ @@ -656,7 +633,6 @@ }, { "key": "medum-size", - "name": "Allocation for medum-size", "rules": [ { "conditions": [ @@ -683,7 +659,6 @@ }, { "key": "large-size", - "name": "Allocation for large-size", "rules": [ { "conditions": [ @@ -727,7 +702,6 @@ "allocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "splits": [ { "variationKey": "old", @@ -739,7 +713,6 @@ }, { "key": "future-versions", - "name": "Allocation for future-versions", "splits": [ { "variationKey": "future", @@ -751,7 +724,6 @@ }, { "key": "current-versions", - "name": "Allocation for current-versions", "splits": [ { "variationKey": "current", @@ -782,7 +754,6 @@ "allocations": [ { "key": "null-operator", - "name": "Allocation for null-operator", "rules": [ { "conditions": [ @@ -813,7 +784,6 @@ }, { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "rules": [ { "conditions": [ @@ -869,7 +839,6 @@ "allocations": [ { "key": "id rule", - "name": "Allocation for id rule", "rules": [ { "conditions": [ @@ -891,7 +860,6 @@ }, { "key": "internal users", - "name": "Allocation for internal users", "rules": [ { "conditions": [ @@ -913,7 +881,6 @@ }, { "key": "experiment", - "name": "Allocation for experiment", "rules": [ { "conditions": [ @@ -1004,7 +971,6 @@ }, { "key": "rollout", - "name": "Allocation for rollout", "rules": [ { "conditions": [ @@ -1066,7 +1032,6 @@ "allocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "rules": [ { "conditions": [ @@ -1111,7 +1076,6 @@ }, { "key": "50/50 split", - "name": "Allocation for 50/50 split", "rules": [], "splits": [ { @@ -1165,7 +1129,6 @@ "allocations": [ { "key": "50/50 split", - "name": "Allocation for 50/50 split", "rules": [], "splits": [ { diff --git a/ufc/tests/test-case-boolean-one-of-matches.json b/ufc/tests/test-case-boolean-one-of-matches.json index bc653f70..b1676756 100644 --- a/ufc/tests/test-case-boolean-one-of-matches.json +++ b/ufc/tests/test-case-boolean-one-of-matches.json @@ -11,7 +11,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"1-for-one-of\".", "variationKey": "1", @@ -29,7 +28,6 @@ }, "matchedAllocation": { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -37,25 +35,21 @@ "unevaluatedAllocations": [ { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -70,7 +64,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -80,31 +73,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -120,7 +108,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -130,31 +117,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -170,7 +152,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"2-for-matches\".", "variationKey": "2", @@ -186,14 +167,12 @@ }, "matchedAllocation": { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -201,19 +180,16 @@ "unevaluatedAllocations": [ { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -228,7 +204,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -238,31 +213,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -278,7 +248,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -288,31 +257,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -328,7 +292,6 @@ "assignment": 4, "assignmentDetails": { "value": 4, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"4-for-not-matches\".", "variationKey": "4", @@ -344,26 +307,22 @@ }, "matchedAllocation": { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -371,7 +330,6 @@ "unevaluatedAllocations": [ { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -386,7 +344,6 @@ "assignment": 4, "assignmentDetails": { "value": 4, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"4-for-not-matches\".", "variationKey": "4", @@ -402,26 +359,22 @@ }, "matchedAllocation": { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -429,7 +382,6 @@ "unevaluatedAllocations": [ { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -444,7 +396,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"3-for-not-one-of\".", "variationKey": "3", @@ -462,20 +413,17 @@ }, "matchedAllocation": { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -483,13 +431,11 @@ "unevaluatedAllocations": [ { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -504,7 +450,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -514,31 +459,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -554,7 +494,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"3-for-not-one-of\".", "variationKey": "3", @@ -572,20 +511,17 @@ }, "matchedAllocation": { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -593,13 +529,11 @@ "unevaluatedAllocations": [ { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -614,7 +548,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"3-for-not-one-of\".", "variationKey": "3", @@ -632,20 +565,17 @@ }, "matchedAllocation": { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -653,13 +583,11 @@ "unevaluatedAllocations": [ { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 5 } @@ -674,7 +602,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -684,31 +611,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -724,7 +646,6 @@ "assignment": 5, "assignmentDetails": { "value": 5, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"5-for-matches-null\".", "variationKey": "5", @@ -742,32 +663,27 @@ }, "matchedAllocation": { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "MATCH", "orderPosition": 5 }, "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -783,7 +699,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -793,31 +708,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } @@ -831,7 +741,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -841,31 +750,26 @@ "unmatchedAllocations": [ { "key": "1-for-one-of", - "name": "Allocation for 1-for-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-matches", - "name": "Allocation for 2-for-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-one-of", - "name": "Allocation for 3-for-not-one-of", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "4-for-not-matches", - "name": "Allocation for 4-for-not-matches", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 }, { "key": "5-for-matches-null", - "name": "Allocation for 5-for-matches-null", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 5 } diff --git a/ufc/tests/test-case-comparator-operator-flag.json b/ufc/tests/test-case-comparator-operator-flag.json index c1832d84..37908bea 100644 --- a/ufc/tests/test-case-comparator-operator-flag.json +++ b/ufc/tests/test-case-comparator-operator-flag.json @@ -12,7 +12,6 @@ "assignment": "small", "assignmentDetails": { "value": "small", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"small-size\".", "variationKey": "small", @@ -28,7 +27,6 @@ }, "matchedAllocation": { "key": "small-size", - "name": "Allocation for small-size", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -36,13 +34,11 @@ "unevaluatedAllocations": [ { "key": "medum-size", - "name": "Allocation for medum-size", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "large-size", - "name": "Allocation for large-size", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -58,7 +54,6 @@ "assignment": "medium", "assignmentDetails": { "value": "medium", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"medum-size\".", "variationKey": "medium", @@ -79,14 +74,12 @@ }, "matchedAllocation": { "key": "medum-size", - "name": "Allocation for medum-size", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "small-size", - "name": "Allocation for small-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -94,7 +87,6 @@ "unevaluatedAllocations": [ { "key": "large-size", - "name": "Allocation for large-size", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -109,7 +101,6 @@ "assignment": "unknown", "assignmentDetails": { "value": "unknown", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -119,19 +110,16 @@ "unmatchedAllocations": [ { "key": "small-size", - "name": "Allocation for small-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "medum-size", - "name": "Allocation for medum-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "large-size", - "name": "Allocation for large-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -147,7 +135,6 @@ "assignment": "large", "assignmentDetails": { "value": "large", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"large-size\".", "variationKey": "large", @@ -163,20 +150,17 @@ }, "matchedAllocation": { "key": "large-size", - "name": "Allocation for large-size", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "small-size", - "name": "Allocation for small-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "medum-size", - "name": "Allocation for medum-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -192,7 +176,6 @@ "assignment": "unknown", "assignmentDetails": { "value": "unknown", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -202,19 +185,16 @@ "unmatchedAllocations": [ { "key": "small-size", - "name": "Allocation for small-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "medum-size", - "name": "Allocation for medum-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "large-size", - "name": "Allocation for large-size", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } diff --git a/ufc/tests/test-case-disabled-flag.json b/ufc/tests/test-case-disabled-flag.json index 4bb60db2..a52eb5c9 100644 --- a/ufc/tests/test-case-disabled-flag.json +++ b/ufc/tests/test-case-disabled-flag.json @@ -12,7 +12,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: disabled_flag", "variationKey": null, @@ -32,7 +31,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: disabled_flag", "variationKey": null, @@ -51,7 +49,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: disabled_flag", "variationKey": null, diff --git a/ufc/tests/test-case-empty-flag.json b/ufc/tests/test-case-empty-flag.json index 8ebfe35c..5f06bc9f 100644 --- a/ufc/tests/test-case-empty-flag.json +++ b/ufc/tests/test-case-empty-flag.json @@ -12,7 +12,6 @@ "assignment": "default_value", "assignmentDetails": { "value": "default_value", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -32,7 +31,6 @@ "assignment": "default_value", "assignmentDetails": { "value": "default_value", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -51,7 +49,6 @@ "assignment": "default_value", "assignmentDetails": { "value": "default_value", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, diff --git a/ufc/tests/test-case-integer-flag.json b/ufc/tests/test-case-integer-flag.json index 24504420..32e48dc9 100644 --- a/ufc/tests/test-case-integer-flag.json +++ b/ufc/tests/test-case-integer-flag.json @@ -12,7 +12,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"targeted allocation\".", "variationKey": "three", @@ -32,7 +31,6 @@ }, "matchedAllocation": { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -40,7 +38,6 @@ "unevaluatedAllocations": [ { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -56,7 +53,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"targeted allocation\".", "variationKey": "three", @@ -76,7 +72,6 @@ }, "matchedAllocation": { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -84,7 +79,6 @@ "unevaluatedAllocations": [ { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -99,7 +93,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "charlie belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -107,14 +100,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -132,7 +123,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"targeted allocation\".", "variationKey": "three", @@ -152,7 +142,6 @@ }, "matchedAllocation": { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -160,7 +149,6 @@ "unevaluatedAllocations": [ { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -173,7 +161,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "1 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -181,14 +168,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -202,7 +187,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "2 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -210,14 +194,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -231,7 +213,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "3 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -239,14 +220,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -260,7 +239,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "4 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -268,14 +246,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -289,7 +265,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "5 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -297,14 +272,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -318,7 +291,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "6 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -326,14 +298,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -347,7 +317,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "7 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -355,14 +324,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -376,7 +343,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "8 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -384,14 +350,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -405,7 +369,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "9 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -413,14 +376,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -434,7 +395,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "10 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -442,14 +402,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -463,7 +421,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "11 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -471,14 +428,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -492,7 +447,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "12 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -500,14 +454,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -521,7 +473,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "13 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -529,14 +480,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -550,7 +499,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "14 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -558,14 +506,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -579,7 +525,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "15 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -587,14 +532,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -608,7 +551,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "16 belongs to the range of traffic assigned to \"two\" defined in allocation \"50/50 split\".", "variationKey": "two", @@ -616,14 +558,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -637,7 +577,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "17 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -645,14 +584,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -666,7 +603,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "18 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -674,14 +610,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -695,7 +629,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "19 belongs to the range of traffic assigned to \"one\" defined in allocation \"50/50 split\".", "variationKey": "one", @@ -703,14 +636,12 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "targeted allocation", - "name": "Allocation for targeted allocation", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } diff --git a/ufc/tests/test-case-invalid-value-flag.json b/ufc/tests/test-case-invalid-value-flag.json index f6e82272..1fbd546d 100644 --- a/ufc/tests/test-case-invalid-value-flag.json +++ b/ufc/tests/test-case-invalid-value-flag.json @@ -12,7 +12,6 @@ "assignment": 42, "assignmentDetails": { "value": 42, - "environmentName": "Test", "flagEvaluationCode": "TYPE_MISMATCH", "flagEvaluationDescription": "Expected variation type INTEGER does not match for variation 'pi' with value 3.1415926", "variationKey": null, @@ -23,13 +22,11 @@ "unevaluatedAllocations": [ { "key": "valid", - "name": "Allocation for valid", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 1 }, { "key": "invalid", - "name": "Allocation for invalid", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -45,7 +42,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"valid\".", "variationKey": "one", @@ -63,7 +59,6 @@ }, "matchedAllocation": { "key": "valid", - "name": "Allocation for valid", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -71,7 +66,6 @@ "unevaluatedAllocations": [ { "key": "invalid", - "name": "Allocation for invalid", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -86,7 +80,6 @@ "assignment": 42, "assignmentDetails": { "value": 42, - "environmentName": "Test", "flagEvaluationCode": "TYPE_MISMATCH", "flagEvaluationDescription": "Expected variation type INTEGER does not match for variation 'pi' with value 3.1415926", "variationKey": null, @@ -97,13 +90,11 @@ "unevaluatedAllocations": [ { "key": "valid", - "name": "Allocation for valid", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 1 }, { "key": "invalid", - "name": "Allocation for invalid", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } diff --git a/ufc/tests/test-case-kill-switch-flag.json b/ufc/tests/test-case-kill-switch-flag.json index 4475a76f..395a7732 100644 --- a/ufc/tests/test-case-kill-switch-flag.json +++ b/ufc/tests/test-case-kill-switch-flag.json @@ -12,7 +12,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -32,7 +31,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -40,13 +38,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -62,7 +58,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -82,7 +77,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -90,13 +84,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -112,7 +104,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "barbara belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -120,20 +111,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -149,7 +137,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "charlie belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -157,20 +144,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -188,7 +172,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -208,7 +191,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -216,13 +198,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -235,7 +215,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "1 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -243,20 +222,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -272,7 +248,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -292,7 +267,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -300,13 +274,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -322,7 +294,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-age-50+\".", "variationKey": "on", @@ -338,14 +309,12 @@ }, "matchedAllocation": { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -353,7 +322,6 @@ "unevaluatedAllocations": [ { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -368,7 +336,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "4 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -376,20 +343,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -405,7 +369,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "5 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -413,20 +376,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -442,7 +402,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "6 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -450,20 +409,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -480,7 +436,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -500,7 +455,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -508,13 +462,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -530,7 +482,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-age-50+\".", "variationKey": "on", @@ -546,14 +497,12 @@ }, "matchedAllocation": { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -561,7 +510,6 @@ "unevaluatedAllocations": [ { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -576,7 +524,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "9 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -584,20 +531,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -611,7 +555,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "10 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -619,20 +562,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -646,7 +586,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "11 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -654,20 +593,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -683,7 +619,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -703,7 +638,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -711,13 +645,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -732,7 +664,6 @@ "assignment": true, "assignmentDetails": { "value": true, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"on-for-NA\".", "variationKey": "on", @@ -752,7 +683,6 @@ }, "matchedAllocation": { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -760,13 +690,11 @@ "unevaluatedAllocations": [ { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -779,7 +707,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "14 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -787,20 +714,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -816,7 +740,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "15 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -824,20 +747,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -853,7 +773,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "16 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -861,20 +780,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -890,7 +806,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "17 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -898,20 +813,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -927,7 +839,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "18 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -935,20 +846,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -964,7 +872,6 @@ "assignment": false, "assignmentDetails": { "value": false, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "19 belongs to the range of traffic assigned to \"off\" defined in allocation \"off-for-all\".", "variationKey": "off", @@ -972,20 +879,17 @@ "matchedRule": null, "matchedAllocation": { "key": "off-for-all", - "name": "Allocation for off-for-all", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "on-for-NA", - "name": "Allocation for on-for-NA", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "on-for-age-50+", - "name": "Allocation for on-for-age-50+", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } diff --git a/ufc/tests/test-case-new-user-onboarding-flag.json b/ufc/tests/test-case-new-user-onboarding-flag.json index ddf4f964..177de05c 100644 --- a/ufc/tests/test-case-new-user-onboarding-flag.json +++ b/ufc/tests/test-case-new-user-onboarding-flag.json @@ -12,7 +12,6 @@ "assignment": "green", "assignmentDetails": { "value": "green", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"internal users\".", "variationKey": "green", @@ -28,14 +27,12 @@ }, "matchedAllocation": { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -43,13 +40,11 @@ "unevaluatedAllocations": [ { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -65,7 +60,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -75,25 +69,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "TRAFFIC_EXPOSURE_MISS", "orderPosition": 4 } @@ -109,7 +99,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -119,25 +108,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -155,7 +140,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -175,26 +159,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -212,7 +192,6 @@ "assignment": "purple", "assignmentDetails": { "value": "purple", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"id rule\".", "variationKey": "purple", @@ -228,7 +207,6 @@ }, "matchedAllocation": { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -236,19 +214,16 @@ "unevaluatedAllocations": [ { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -266,7 +241,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -286,26 +260,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -323,7 +293,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -333,25 +302,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "TRAFFIC_EXPOSURE_MISS", "orderPosition": 4 } @@ -365,7 +330,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -375,25 +339,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -409,7 +369,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -429,26 +388,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -465,7 +420,6 @@ "assignment": "control", "assignmentDetails": { "value": "control", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 3 belongs to the range of traffic assigned to \"control\".", "variationKey": "control", @@ -485,20 +439,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -506,7 +457,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -521,7 +471,6 @@ "assignment": "red", "assignmentDetails": { "value": "red", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 4 belongs to the range of traffic assigned to \"red\".", "variationKey": "red", @@ -541,20 +490,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -562,7 +508,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -577,7 +522,6 @@ "assignment": "yellow", "assignmentDetails": { "value": "yellow", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 5 belongs to the range of traffic assigned to \"yellow\".", "variationKey": "yellow", @@ -597,20 +541,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -618,7 +559,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -633,7 +573,6 @@ "assignment": "yellow", "assignmentDetails": { "value": "yellow", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 6 belongs to the range of traffic assigned to \"yellow\".", "variationKey": "yellow", @@ -653,20 +592,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -674,7 +610,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -689,7 +624,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -709,26 +643,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -744,7 +674,6 @@ "assignment": "red", "assignmentDetails": { "value": "red", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 8 belongs to the range of traffic assigned to \"red\".", "variationKey": "red", @@ -764,20 +693,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -785,7 +711,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -800,7 +725,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -810,25 +734,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -842,7 +762,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -852,25 +771,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -884,7 +799,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -894,25 +808,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -928,7 +838,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -948,26 +857,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -983,7 +888,6 @@ "assignment": "blue", "assignmentDetails": { "value": "blue", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"rollout\".", "variationKey": "blue", @@ -1003,26 +907,22 @@ }, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 4 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -1036,7 +936,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -1046,25 +945,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -1080,7 +975,6 @@ "assignment": "yellow", "assignmentDetails": { "value": "yellow", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 15 belongs to the range of traffic assigned to \"yellow\".", "variationKey": "yellow", @@ -1100,20 +994,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -1121,7 +1012,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -1136,7 +1026,6 @@ "assignment": "control", "assignmentDetails": { "value": "control", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 16 belongs to the range of traffic assigned to \"control\".", "variationKey": "control", @@ -1156,20 +1045,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -1177,7 +1063,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -1192,7 +1077,6 @@ "assignment": "control", "assignmentDetails": { "value": "control", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 17 belongs to the range of traffic assigned to \"control\".", "variationKey": "control", @@ -1212,20 +1096,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -1233,7 +1114,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } @@ -1248,7 +1128,6 @@ "assignment": "default", "assignmentDetails": { "value": "default", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -1258,25 +1137,21 @@ "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "TRAFFIC_EXPOSURE_MISS", "orderPosition": 3 }, { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 4 } @@ -1292,7 +1167,6 @@ "assignment": "red", "assignmentDetails": { "value": "red", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"experiment\" and 19 belongs to the range of traffic assigned to \"red\".", "variationKey": "red", @@ -1312,20 +1186,17 @@ }, "matchedAllocation": { "key": "experiment", - "name": "Allocation for experiment", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "id rule", - "name": "Allocation for id rule", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "internal users", - "name": "Allocation for internal users", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -1333,7 +1204,6 @@ "unevaluatedAllocations": [ { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 4 } diff --git a/ufc/tests/test-case-null-operator-flag.json b/ufc/tests/test-case-null-operator-flag.json index 63343552..35fc5d93 100644 --- a/ufc/tests/test-case-null-operator-flag.json +++ b/ufc/tests/test-case-null-operator-flag.json @@ -12,7 +12,6 @@ "assignment": "old", "assignmentDetails": { "value": "old", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"null-operator\".", "variationKey": "old", @@ -28,7 +27,6 @@ }, "matchedAllocation": { "key": "null-operator", - "name": "Allocation for null-operator", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -36,7 +34,6 @@ "unevaluatedAllocations": [ { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -52,7 +49,6 @@ "assignment": "new", "assignmentDetails": { "value": "new", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"not-null-operator\".", "variationKey": "new", @@ -68,14 +64,12 @@ }, "matchedAllocation": { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "null-operator", - "name": "Allocation for null-operator", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -91,7 +85,6 @@ "assignment": "old", "assignmentDetails": { "value": "old", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"null-operator\".", "variationKey": "old", @@ -107,7 +100,6 @@ }, "matchedAllocation": { "key": "null-operator", - "name": "Allocation for null-operator", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -115,7 +107,6 @@ "unevaluatedAllocations": [ { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -130,7 +121,6 @@ "assignment": "new", "assignmentDetails": { "value": "new", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"not-null-operator\".", "variationKey": "new", @@ -146,14 +136,12 @@ }, "matchedAllocation": { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "null-operator", - "name": "Allocation for null-operator", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -169,7 +157,6 @@ "assignment": "old", "assignmentDetails": { "value": "old", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"null-operator\".", "variationKey": "old", @@ -185,7 +172,6 @@ }, "matchedAllocation": { "key": "null-operator", - "name": "Allocation for null-operator", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -193,7 +179,6 @@ "unevaluatedAllocations": [ { "key": "not-null-operator", - "name": "Allocation for not-null-operator", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } diff --git a/ufc/tests/test-case-numeric-flag.json b/ufc/tests/test-case-numeric-flag.json index 8129441c..60305bed 100644 --- a/ufc/tests/test-case-numeric-flag.json +++ b/ufc/tests/test-case-numeric-flag.json @@ -12,7 +12,6 @@ "assignment": 3.1415926, "assignmentDetails": { "value": 3.1415926, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "alice belongs to the range of traffic assigned to \"pi\" defined in allocation \"rollout\".", "variationKey": "pi", @@ -20,7 +19,6 @@ "matchedRule": null, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -37,7 +35,6 @@ "assignment": 3.1415926, "assignmentDetails": { "value": 3.1415926, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "bob belongs to the range of traffic assigned to \"pi\" defined in allocation \"rollout\".", "variationKey": "pi", @@ -45,7 +42,6 @@ "matchedRule": null, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -61,7 +57,6 @@ "assignment": 3.1415926, "assignmentDetails": { "value": 3.1415926, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "charlie belongs to the range of traffic assigned to \"pi\" defined in allocation \"rollout\".", "variationKey": "pi", @@ -69,7 +64,6 @@ "matchedRule": null, "matchedAllocation": { "key": "rollout", - "name": "Allocation for rollout", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, diff --git a/ufc/tests/test-case-numeric-one-of.json b/ufc/tests/test-case-numeric-one-of.json index 848f2cef..f4d09567 100644 --- a/ufc/tests/test-case-numeric-one-of.json +++ b/ufc/tests/test-case-numeric-one-of.json @@ -11,7 +11,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"1-for-1\".", "variationKey": "1", @@ -29,7 +28,6 @@ }, "matchedAllocation": { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -37,13 +35,11 @@ "unevaluatedAllocations": [ { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -58,7 +54,6 @@ "assignment": 0, "assignmentDetails": { "value": 0, - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -68,19 +63,16 @@ "unmatchedAllocations": [ { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -96,7 +88,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"3-for-not-2\".", "variationKey": "3", @@ -114,20 +105,17 @@ }, "matchedAllocation": { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -143,7 +131,6 @@ "assignment": 3, "assignmentDetails": { "value": 3, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"3-for-not-2\".", "variationKey": "3", @@ -161,20 +148,17 @@ }, "matchedAllocation": { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -190,7 +174,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"1-for-1\".", "variationKey": "1", @@ -208,7 +191,6 @@ }, "matchedAllocation": { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -216,13 +198,11 @@ "unevaluatedAllocations": [ { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -237,7 +217,6 @@ "assignment": 1, "assignmentDetails": { "value": 1, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"1-for-1\".", "variationKey": "1", @@ -255,7 +234,6 @@ }, "matchedAllocation": { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -263,13 +241,11 @@ "unevaluatedAllocations": [ { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -284,7 +260,6 @@ "assignment": 2, "assignmentDetails": { "value": 2, - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"2-for-123456789\".", "variationKey": "2", @@ -302,14 +277,12 @@ }, "matchedAllocation": { "key": "2-for-123456789", - "name": "Allocation for 2-for-123456789", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "1-for-1", - "name": "Allocation for 1-for-1", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -317,7 +290,6 @@ "unevaluatedAllocations": [ { "key": "3-for-not-2", - "name": "Allocation for 3-for-not-2", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } diff --git a/ufc/tests/test-case-regex-flag.json b/ufc/tests/test-case-regex-flag.json index 11a1c878..78fee34d 100644 --- a/ufc/tests/test-case-regex-flag.json +++ b/ufc/tests/test-case-regex-flag.json @@ -12,7 +12,6 @@ "assignment": "partial-example", "assignmentDetails": { "value": "partial-example", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"partial-example\".", "variationKey": "partial-example", @@ -28,7 +27,6 @@ }, "matchedAllocation": { "key": "partial-example", - "name": "Allocation for partial-example", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -36,7 +34,6 @@ "unevaluatedAllocations": [ { "key": "test", - "name": "Allocation for test", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 } @@ -52,7 +49,6 @@ "assignment": "test", "assignmentDetails": { "value": "test", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"test\".", "variationKey": "test", @@ -68,14 +64,12 @@ }, "matchedAllocation": { "key": "test", - "name": "Allocation for test", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "partial-example", - "name": "Allocation for partial-example", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -91,7 +85,6 @@ "assignment": "none", "assignmentDetails": { "value": "none", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -101,13 +94,11 @@ "unmatchedAllocations": [ { "key": "partial-example", - "name": "Allocation for partial-example", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "test", - "name": "Allocation for test", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -124,7 +115,6 @@ "assignment": "none", "assignmentDetails": { "value": "none", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -134,13 +124,11 @@ "unmatchedAllocations": [ { "key": "partial-example", - "name": "Allocation for partial-example", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "test", - "name": "Allocation for test", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } diff --git a/ufc/tests/test-case-semver-flag.json b/ufc/tests/test-case-semver-flag.json index 10940dec..4cd07a62 100644 --- a/ufc/tests/test-case-semver-flag.json +++ b/ufc/tests/test-case-semver-flag.json @@ -12,7 +12,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"current-versions\".", "variationKey": "current", @@ -33,14 +32,12 @@ }, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -48,7 +45,6 @@ "unevaluatedAllocations": [ { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -64,7 +60,6 @@ "assignment": "old", "assignmentDetails": { "value": "old", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"old-versions\".", "variationKey": "old", @@ -80,7 +75,6 @@ }, "matchedAllocation": { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -88,13 +82,11 @@ "unevaluatedAllocations": [ { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 2 }, { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -109,7 +101,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"current-versions\".", "variationKey": "current", @@ -130,14 +121,12 @@ }, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -145,7 +134,6 @@ "unevaluatedAllocations": [ { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } @@ -160,7 +148,6 @@ "assignment": "unknown", "assignmentDetails": { "value": "unknown", - "environmentName": "Test", "flagEvaluationCode": "DEFAULT_ALLOCATION_NULL", "flagEvaluationDescription": "No allocations matched. Falling back to \"Default Allocation\", serving NULL", "variationKey": null, @@ -170,19 +157,16 @@ "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 }, { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 3 } @@ -198,7 +182,6 @@ "assignment": "new", "assignmentDetails": { "value": "new", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"new-versions\".", "variationKey": "new", @@ -214,20 +197,17 @@ }, "matchedAllocation": { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 }, { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 2 } @@ -243,7 +223,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "Supplied attributes match rules defined in allocation \"current-versions\".", "variationKey": "current", @@ -264,14 +243,12 @@ }, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 2 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "FAILING_RULE", "orderPosition": 1 } @@ -279,7 +256,6 @@ "unevaluatedAllocations": [ { "key": "new-versions", - "name": "Allocation for new-versions", "allocationEvaluationCode": "UNEVALUATED", "orderPosition": 3 } diff --git a/ufc/tests/test-case-start-and-end-date-flag.json b/ufc/tests/test-case-start-and-end-date-flag.json index dfa45e46..b927178d 100644 --- a/ufc/tests/test-case-start-and-end-date-flag.json +++ b/ufc/tests/test-case-start-and-end-date-flag.json @@ -12,7 +12,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "alice belongs to the range of traffic assigned to \"current\" defined in allocation \"current-versions\".", "variationKey": "current", @@ -20,20 +19,17 @@ "matchedRule": null, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "AFTER_END_TIME", "orderPosition": 1 }, { "key": "future-versions", - "name": "Allocation for future-versions", "allocationEvaluationCode": "BEFORE_START_TIME", "orderPosition": 2 } @@ -50,7 +46,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "bob belongs to the range of traffic assigned to \"current\" defined in allocation \"current-versions\".", "variationKey": "current", @@ -58,20 +53,17 @@ "matchedRule": null, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "AFTER_END_TIME", "orderPosition": 1 }, { "key": "future-versions", - "name": "Allocation for future-versions", "allocationEvaluationCode": "BEFORE_START_TIME", "orderPosition": 2 } @@ -87,7 +79,6 @@ "assignment": "current", "assignmentDetails": { "value": "current", - "environmentName": "Test", "flagEvaluationCode": "MATCH", "flagEvaluationDescription": "charlie belongs to the range of traffic assigned to \"current\" defined in allocation \"current-versions\".", "variationKey": "current", @@ -95,20 +86,17 @@ "matchedRule": null, "matchedAllocation": { "key": "current-versions", - "name": "Allocation for current-versions", "allocationEvaluationCode": "MATCH", "orderPosition": 3 }, "unmatchedAllocations": [ { "key": "old-versions", - "name": "Allocation for old-versions", "allocationEvaluationCode": "AFTER_END_TIME", "orderPosition": 1 }, { "key": "future-versions", - "name": "Allocation for future-versions", "allocationEvaluationCode": "BEFORE_START_TIME", "orderPosition": 2 } diff --git a/ufc/tests/test-flag-that-does-not-exist.json b/ufc/tests/test-flag-that-does-not-exist.json index 60b5ed1a..0a748dfb 100644 --- a/ufc/tests/test-flag-that-does-not-exist.json +++ b/ufc/tests/test-flag-that-does-not-exist.json @@ -12,7 +12,6 @@ "assignment": 0.0, "assignmentDetails": { "value": 0.0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: flag-that-does-not-exist", "variationKey": null, @@ -32,7 +31,6 @@ "assignment": 0.0, "assignmentDetails": { "value": 0.0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: flag-that-does-not-exist", "variationKey": null, @@ -51,7 +49,6 @@ "assignment": 0.0, "assignmentDetails": { "value": 0.0, - "environmentName": "Test", "flagEvaluationCode": "FLAG_UNRECOGNIZED_OR_DISABLED", "flagEvaluationDescription": "Unrecognized or disabled flag: flag-that-does-not-exist", "variationKey": null, diff --git a/ufc/tests/test-json-config-flag.json b/ufc/tests/test-json-config-flag.json index 8c4132a0..bf6cc5f5 100644 --- a/ufc/tests/test-json-config-flag.json +++ b/ufc/tests/test-json-config-flag.json @@ -31,7 +31,6 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -67,7 +66,6 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 1 }, @@ -102,7 +100,6 @@ "matchedRule": null, "matchedAllocation": { "key": "50/50 split", - "name": "Allocation for 50/50 split", "allocationEvaluationCode": "MATCH", "orderPosition": 1 },