Skip to content

Commit 5034cc5

Browse files
authored
Revert "add test case for json array variation values (FF-2903) (#50)" (#51)
This reverts commit 3ba01a4.
1 parent 3ba01a4 commit 5034cc5

File tree

3 files changed

+1
-290
lines changed

3 files changed

+1
-290
lines changed

ufc/flags-v1-obfuscated.json

Lines changed: 1 addition & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2+
"createdAt": "2024-04-17T19:40:53.716Z",
23
"environment": {
34
"name": "Test"
45
},
5-
"createdAt": "2024-04-17T19:40:53.716Z",
66
"flags": {
77
"73fcc84c69e49e31fe16a29b2b1f803b": {
88
"key": "73fcc84c69e49e31fe16a29b2b1f803b",
@@ -1185,77 +1185,6 @@
11851185
]
11861186
}
11871187
]
1188-
},
1189-
"858b28fb6c4573445fbcf1568527e345": {
1190-
"key": "858b28fb6c4573445fbcf1568527e345",
1191-
"enabled": true,
1192-
"variationType": "JSON",
1193-
"totalShards": 10000,
1194-
"variations": {
1195-
"b25l": {
1196-
"key": "b25l",
1197-
"value": "W3sgImludGVnZXIiOiAxLCAic3RyaW5nIjogIm9uZSIsICJmbG9hdCI6IDEuMCB9LCB7ICJpbnRlZ2VyIjogMiwgInN0cmluZyI6ICJ0d28iLCAiZmxvYXQiOiAyLjAgfV0="
1198-
},
1199-
"dHdv": {
1200-
"key": "dHdv",
1201-
"value": "W3sgImludGVnZXIiOiAzLCAic3RyaW5nIjogInRocmVlIiwgImZsb2F0IjogMy4wIH0sIHsgImludGVnZXIiOiA0LCAic3RyaW5nIjogImZvdXIiLCAiZmxvYXQiOiA0LjAgfV0="
1202-
}
1203-
},
1204-
"allocations": [
1205-
{
1206-
"key": "NTAvNTAgc3BsaXQ=",
1207-
"doLog": true,
1208-
"rules": [],
1209-
"splits": [
1210-
{
1211-
"variationKey": "b25l",
1212-
"shards": [
1213-
{
1214-
"ranges": [
1215-
{
1216-
"start": 0,
1217-
"end": 10000
1218-
}
1219-
],
1220-
"salt": "dHJhZmZpYy1qc29uLWZsYWc="
1221-
},
1222-
{
1223-
"ranges": [
1224-
{
1225-
"start": 0,
1226-
"end": 5000
1227-
}
1228-
],
1229-
"salt": "c3BsaXQtanNvbi1mbGFn"
1230-
}
1231-
]
1232-
},
1233-
{
1234-
"variationKey": "dHdv",
1235-
"shards": [
1236-
{
1237-
"ranges": [
1238-
{
1239-
"start": 0,
1240-
"end": 10000
1241-
}
1242-
],
1243-
"salt": "dHJhZmZpYy1qc29uLWZsYWc="
1244-
},
1245-
{
1246-
"ranges": [
1247-
{
1248-
"start": 5000,
1249-
"end": 10000
1250-
}
1251-
],
1252-
"salt": "c3BsaXQtanNvbi1mbGFn"
1253-
}
1254-
]
1255-
}
1256-
]
1257-
}
1258-
]
12591188
}
12601189
}
12611190
}

ufc/flags-v1.json

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,77 +1185,6 @@
11851185
}
11861186
],
11871187
"totalShards": 10000
1188-
},
1189-
"json-array-config-flag": {
1190-
"key": "json-array-config-flag",
1191-
"enabled": true,
1192-
"variationType": "JSON",
1193-
"variations": {
1194-
"one": {
1195-
"key": "one",
1196-
"value": "[{ \"integer\": 1, \"string\": \"one\", \"float\": 1.0 }, { \"integer\": 2, \"string\": \"two\", \"float\": 2.0 }]"
1197-
},
1198-
"two": {
1199-
"key": "two",
1200-
"value": "[{ \"integer\": 3, \"string\": \"three\", \"float\": 3.0 }, { \"integer\": 4, \"string\": \"four\", \"float\": 4.0 }]"
1201-
}
1202-
},
1203-
"allocations": [
1204-
{
1205-
"key": "50/50 split",
1206-
"rules": [],
1207-
"splits": [
1208-
{
1209-
"variationKey": "one",
1210-
"shards": [
1211-
{
1212-
"salt": "traffic-json-flag",
1213-
"ranges": [
1214-
{
1215-
"start": 0,
1216-
"end": 10000
1217-
}
1218-
]
1219-
},
1220-
{
1221-
"salt": "split-json-flag",
1222-
"ranges": [
1223-
{
1224-
"start": 0,
1225-
"end": 5000
1226-
}
1227-
]
1228-
}
1229-
]
1230-
},
1231-
{
1232-
"variationKey": "two",
1233-
"shards": [
1234-
{
1235-
"salt": "traffic-json-flag",
1236-
"ranges": [
1237-
{
1238-
"start": 0,
1239-
"end": 10000
1240-
}
1241-
]
1242-
},
1243-
{
1244-
"salt": "split-json-flag",
1245-
"ranges": [
1246-
{
1247-
"start": 5000,
1248-
"end": 10000
1249-
}
1250-
]
1251-
}
1252-
]
1253-
}
1254-
],
1255-
"doLog": true
1256-
}
1257-
],
1258-
"totalShards": 10000
12591188
}
12601189
}
12611190
}

ufc/tests/test-json-array-config-flag.json

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)