Skip to content

Commit

Permalink
FF-2526 added "allocation.name" to flag config
Browse files Browse the repository at this point in the history
  • Loading branch information
greghuels committed Jun 28, 2024
1 parent f2431ec commit be7a41e
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ufc/bandit-flags-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"allocations": [
{
"key": "control-allocation",
"name": "Allocation for control-allocation",
"splits": [
{
"variationKey": "control",
Expand All @@ -34,6 +35,7 @@
"allocations": [
{
"key": "control-allocation",
"name": "Allocation for control-allocation",
"splits": [
{
"variationKey": "control",
Expand All @@ -55,6 +57,7 @@
"allocations": [
{
"key": "analysis",
"name": "Allocation for analysis",
"splits": [
{
"variationKey": "control",
Expand Down Expand Up @@ -87,6 +90,7 @@
},
{
"key": "training",
"name": "Allocation for training",
"splits": [
{
"variationKey": "banner_bandit",
Expand Down Expand Up @@ -114,6 +118,7 @@
"allocations": [
{
"key": "training",
"name": "Allocation for training",
"rules": [
{
"conditions": [
Expand All @@ -137,6 +142,7 @@
},
{
"key": "default",
"name": "Allocation for default",
"rules": [],
"splits": [
{
Expand Down
34 changes: 34 additions & 0 deletions ufc/flags-v1-obfuscated.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"allocations": [
{
"key": "cm9sbG91dA==",
"name": "QWxsb2NhdGlvbiBmb3Igcm9sbG91dA==",
"doLog": true,
"splits": [
{
Expand Down Expand Up @@ -81,6 +82,7 @@
"allocations": [
{
"key": "dmFsaWQ=",
"name": "QWxsb2NhdGlvbiBmb3IgdmFsaWQ=",
"doLog": true,
"rules": [
{
Expand All @@ -104,6 +106,7 @@
},
{
"key": "aW52YWxpZA==",
"name": "QWxsb2NhdGlvbiBmb3IgaW52YWxpZA==",
"doLog": true,
"rules": [],
"splits": [
Expand Down Expand Up @@ -133,6 +136,7 @@
"allocations": [
{
"key": "cGFydGlhbC1leGFtcGxl",
"name": "QWxsb2NhdGlvbiBmb3IgcGFydGlhbC1leGFtcGxl",
"doLog": true,
"rules": [
{
Expand All @@ -154,6 +158,7 @@
},
{
"key": "dGVzdA==",
"name": "QWxsb2NhdGlvbiBmb3IgdGVzdA==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -197,6 +202,7 @@
"allocations": [
{
"key": "MS1mb3ItMQ==",
"name": "QWxsb2NhdGlvbiBmb3IgMS1mb3ItMQ==",
"doLog": true,
"rules": [
{
Expand All @@ -220,6 +226,7 @@
},
{
"key": "Mi1mb3ItMTIzNDU2Nzg5",
"name": "QWxsb2NhdGlvbiBmb3IgMi1mb3ItMTIzNDU2Nzg5",
"doLog": true,
"rules": [
{
Expand All @@ -243,6 +250,7 @@
},
{
"key": "My1mb3Itbm90LTI=",
"name": "QWxsb2NhdGlvbiBmb3IgMy1mb3Itbm90LTI=",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -296,6 +304,7 @@
"allocations": [
{
"key": "MS1mb3Itb25lLW9m",
"name": "QWxsb2NhdGlvbiBmb3IgMS1mb3Itb25lLW9m",
"doLog": true,
"rules": [
{
Expand All @@ -319,6 +328,7 @@
},
{
"key": "Mi1mb3ItbWF0Y2hlcw==",
"name": "QWxsb2NhdGlvbiBmb3IgMi1mb3ItbWF0Y2hlcw==",
"doLog": true,
"rules": [
{
Expand All @@ -340,6 +350,7 @@
},
{
"key": "My1mb3Itbm90LW9uZS1vZg==",
"name": "QWxsb2NhdGlvbiBmb3IgMy1mb3Itbm90LW9uZS1vZg==",
"doLog": true,
"rules": [
{
Expand All @@ -363,6 +374,7 @@
},
{
"key": "NC1mb3Itbm90LW1hdGNoZXM=",
"name": "QWxsb2NhdGlvbiBmb3IgNC1mb3Itbm90LW1hdGNoZXM=",
"doLog": true,
"rules": [
{
Expand All @@ -384,6 +396,7 @@
},
{
"key": "NS1mb3ItbWF0Y2hlcy1udWxs",
"name": "QWxsb2NhdGlvbiBmb3IgNS1mb3ItbWF0Y2hlcy1udWxs",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -425,6 +438,7 @@
"allocations": [
{
"key": "b24tZm9yLU5B",
"name": "QWxsb2NhdGlvbiBmb3Igb24tZm9yLU5B",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -460,6 +474,7 @@
},
{
"key": "b24tZm9yLWFnZS01MCs=",
"name": "QWxsb2NhdGlvbiBmb3Igb24tZm9yLWFnZS01MCs=",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -491,6 +506,7 @@
},
{
"key": "b2ZmLWZvci1hbGw=",
"name": "QWxsb2NhdGlvbiBmb3Igb2ZmLWZvci1hbGw=",
"doLog": true,
"rules": [],
"splits": [
Expand Down Expand Up @@ -524,6 +540,7 @@
"allocations": [
{
"key": "b2xkLXZlcnNpb25z",
"name": "QWxsb2NhdGlvbiBmb3Igb2xkLXZlcnNpb25z",
"doLog": true,
"rules": [
{
Expand All @@ -545,6 +562,7 @@
},
{
"key": "Y3VycmVudC12ZXJzaW9ucw==",
"name": "QWxsb2NhdGlvbiBmb3IgY3VycmVudC12ZXJzaW9ucw==",
"doLog": true,
"rules": [
{
Expand All @@ -571,6 +589,7 @@
},
{
"key": "bmV3LXZlcnNpb25z",
"name": "QWxsb2NhdGlvbiBmb3IgbmV3LXZlcnNpb25z",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -614,6 +633,7 @@
"allocations": [
{
"key": "c21hbGwtc2l6ZQ==",
"name": "QWxsb2NhdGlvbiBmb3Igc21hbGwtc2l6ZQ==",
"doLog": true,
"rules": [
{
Expand All @@ -635,6 +655,7 @@
},
{
"key": "bWVkdW0tc2l6ZQ==",
"name": "QWxsb2NhdGlvbiBmb3IgbWVkdW0tc2l6ZQ==",
"doLog": true,
"rules": [
{
Expand All @@ -661,6 +682,7 @@
},
{
"key": "bGFyZ2Utc2l6ZQ==",
"name": "QWxsb2NhdGlvbiBmb3IgbGFyZ2Utc2l6ZQ==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -704,6 +726,7 @@
"allocations": [
{
"key": "b2xkLXZlcnNpb25z",
"name": "QWxsb2NhdGlvbiBmb3Igb2xkLXZlcnNpb25z",
"doLog": true,
"endAt": "MjAwMi0xMC0zMVQwOTowMDowMC41OTRa",
"splits": [
Expand All @@ -715,6 +738,7 @@
},
{
"key": "ZnV0dXJlLXZlcnNpb25z",
"name": "QWxsb2NhdGlvbiBmb3IgZnV0dXJlLXZlcnNpb25z",
"doLog": true,
"startAt": "MjA1Mi0xMC0zMVQwOTowMDowMC41OTRa",
"splits": [
Expand All @@ -726,6 +750,7 @@
},
{
"key": "Y3VycmVudC12ZXJzaW9ucw==",
"name": "QWxsb2NhdGlvbiBmb3IgY3VycmVudC12ZXJzaW9ucw==",
"doLog": true,
"startAt": "MjAyMi0xMC0zMVQwOTowMDowMC41OTRa",
"endAt": "MjA1MC0xMC0zMVQwOTowMDowMC41OTRa",
Expand Down Expand Up @@ -756,6 +781,7 @@
"allocations": [
{
"key": "bnVsbC1vcGVyYXRvcg==",
"name": "QWxsb2NhdGlvbiBmb3IgbnVsbC1vcGVyYXRvcg==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -786,6 +812,7 @@
},
{
"key": "bm90LW51bGwtb3BlcmF0b3I=",
"name": "QWxsb2NhdGlvbiBmb3Igbm90LW51bGwtb3BlcmF0b3I=",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -841,6 +868,7 @@
"allocations": [
{
"key": "aWQgcnVsZQ==",
"name": "QWxsb2NhdGlvbiBmb3IgaWQgcnVsZQ==",
"doLog": false,
"rules": [
{
Expand All @@ -862,6 +890,7 @@
},
{
"key": "aW50ZXJuYWwgdXNlcnM=",
"name": "QWxsb2NhdGlvbiBmb3IgaW50ZXJuYWwgdXNlcnM=",
"doLog": false,
"rules": [
{
Expand All @@ -883,6 +912,7 @@
},
{
"key": "ZXhwZXJpbWVudA==",
"name": "QWxsb2NhdGlvbiBmb3IgZXhwZXJpbWVudA==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -973,6 +1003,7 @@
},
{
"key": "cm9sbG91dA==",
"name": "QWxsb2NhdGlvbiBmb3Igcm9sbG91dA==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -1034,6 +1065,7 @@
"allocations": [
{
"key": "dGFyZ2V0ZWQgYWxsb2NhdGlvbg==",
"name": "QWxsb2NhdGlvbiBmb3IgdGFyZ2V0ZWQgYWxsb2NhdGlvbg==",
"doLog": true,
"rules": [
{
Expand Down Expand Up @@ -1078,6 +1110,7 @@
},
{
"key": "NTAvNTAgc3BsaXQ=",
"name": "QWxsb2NhdGlvbiBmb3IgNTAvNTAgc3BsaXQ=",
"doLog": true,
"rules": [],
"splits": [
Expand Down Expand Up @@ -1131,6 +1164,7 @@
"allocations": [
{
"key": "NTAvNTAgc3BsaXQ=",
"name": "QWxsb2NhdGlvbiBmb3IgNTAvNTAgc3BsaXQ=",
"doLog": true,
"rules": [],
"splits": [
Expand Down
Loading

0 comments on commit be7a41e

Please sign in to comment.