1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/test/examples/import.json
2020-02-20 08:34:22 +01:00

73 lines
1.4 KiB
JSON

{
"strategies": [
{
"name": "usersWithEmail",
"description": "Active for users defined in the comma-separated emails-parameter.",
"parameters": [
{
"name": "emails",
"type": "string"
}
]
},
{
"name": "country",
"description": "Active for country.",
"parameters": [
{
"name": "countries",
"type": "list"
}
]
}
],
"features": [
{
"name": "featureX",
"description": "the #1 feature",
"enabled": true,
"strategies": [
{
"name": "default",
"parameters": {}
}
]
},
{
"name": "featureA",
"description": "soon to be the #1 feature",
"enabled": false,
"strategies": [
{
"name": "baz",
"parameters": {
"foo": "bar"
}
}
]
},
{
"name": "featureArchivedX",
"description": "the #1 feature",
"enabled": true,
"strategies": [
{
"name": "default",
"parameters": {}
}
]
},
{
"name": "feature.with.variants",
"description": "A feature toggle with watiants",
"enabled": true,
"archived": false,
"strategies": [{ "name": "default" }],
"variants": [
{ "name": "control", "weight": 50 },
{ "name": "new", "weight": 50 }
]
}
]
}