2021-09-24 13:55:00 +02:00
|
|
|
{
|
|
|
|
"version": 1,
|
|
|
|
"features": [
|
|
|
|
{
|
|
|
|
"name": "another-toggle",
|
|
|
|
"description": "",
|
|
|
|
"type": "release",
|
|
|
|
"project": "someother",
|
|
|
|
"enabled": true,
|
|
|
|
"stale": false,
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "userWithId",
|
|
|
|
"parameters": {
|
|
|
|
"userIds": "12541,123"
|
|
|
|
},
|
|
|
|
"constraints": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variants": [],
|
|
|
|
"createdAt": "2021-09-17T07:22:16.404Z",
|
|
|
|
"lastSeenAt": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "in-another-project",
|
|
|
|
"description": "",
|
|
|
|
"type": "release",
|
|
|
|
"project": "someother",
|
|
|
|
"enabled": true,
|
|
|
|
"stale": false,
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "gradualRolloutRandom",
|
|
|
|
"parameters": {
|
|
|
|
"percentage": "29"
|
|
|
|
},
|
|
|
|
"constraints": [
|
|
|
|
{
|
|
|
|
"contextName": "environment",
|
|
|
|
"operator": "IN",
|
|
|
|
"values": [
|
|
|
|
"dev"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"contextName": "environment",
|
|
|
|
"operator": "IN",
|
|
|
|
"values": [
|
|
|
|
"prod"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variants": [],
|
|
|
|
"createdAt": "2021-09-17T07:14:03.718Z",
|
|
|
|
"lastSeenAt": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "this-is-fun",
|
|
|
|
"description": "",
|
|
|
|
"type": "release",
|
|
|
|
"project": "default",
|
|
|
|
"enabled": true,
|
|
|
|
"stale": false,
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "gradualRolloutRandom",
|
|
|
|
"parameters": {
|
|
|
|
"percentage": "100"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variants": [],
|
|
|
|
"createdAt": "2021-09-17T07:06:40.925Z",
|
|
|
|
"lastSeenAt": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "version.three.seventeen",
|
|
|
|
"description": "",
|
|
|
|
"type": "operational",
|
|
|
|
"project": "default",
|
|
|
|
"enabled": true,
|
|
|
|
"stale": false,
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"parameters": {}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variants": [],
|
|
|
|
"createdAt": "2021-09-17T07:06:56.421Z",
|
|
|
|
"lastSeenAt": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "with-constraints",
|
|
|
|
"description": "",
|
|
|
|
"type": "release",
|
|
|
|
"project": "default",
|
|
|
|
"enabled": true,
|
|
|
|
"stale": false,
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "default",
|
|
|
|
"parameters": {},
|
|
|
|
"constraints": [
|
|
|
|
{
|
|
|
|
"contextName": "userId",
|
|
|
|
"operator": "IN",
|
|
|
|
"values": [
|
|
|
|
"123456"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"variants": [],
|
|
|
|
"createdAt": "2021-09-17T07:14:39.509Z",
|
|
|
|
"lastSeenAt": null
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"strategies": [
|
|
|
|
{
|
|
|
|
"name": "gradualRolloutRandom",
|
|
|
|
"description": "Randomly activate the feature toggle. No stickiness.",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "percentage",
|
|
|
|
"type": "percentage",
|
|
|
|
"description": "",
|
|
|
|
"required": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"deprecated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gradualRolloutSessionId",
|
|
|
|
"description": "Gradually activate feature toggle. Stickiness based on session id.",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "percentage",
|
|
|
|
"type": "percentage",
|
|
|
|
"description": "",
|
|
|
|
"required": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "groupId",
|
|
|
|
"type": "string",
|
|
|
|
"description": "Used to define a activation groups, which allows you to correlate across feature toggles.",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"deprecated": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "gradualRolloutUserId",
|
|
|
|
"description": "Gradually activate feature toggle for logged in users. Stickiness based on user id.",
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"name": "percentage",
|
|
|
|
"type": "percentage",
|
|
|
|
"description": "",
|
|
|
|
"required": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "groupId",
|
|
|
|
"type": "string",
|
|
|
|
"description": "Used to define a activation groups, which allows you to correlate across feature toggles.",
|
|
|
|
"required": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"deprecated": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"projects": [
|
|
|
|
{
|
|
|
|
"id": "default",
|
|
|
|
"name": "Default",
|
|
|
|
"description": "Default project",
|
|
|
|
"createdAt": "2021-09-17T05:06:16.299Z"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "someother",
|
|
|
|
"name": "Some other project",
|
|
|
|
"description": "",
|
|
|
|
"createdAt": "2021-09-17T05:13:45.011Z"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tagTypes": [
|
|
|
|
{
|
|
|
|
"name": "simple",
|
|
|
|
"description": "Used to simplify filtering of features",
|
|
|
|
"icon": "#"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"tags": [],
|
|
|
|
"featureTags": []
|
|
|
|
}
|