1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/migrations/default-strategies.json

92 lines
2.2 KiB
JSON
Raw Normal View History

[
{
"name": "default",
"description": "Default on/off strategy.",
"parameters": []
},
{
"name": "userWithId",
"description": "Active for users with a userId defined in the userIds-list",
2018-11-22 11:20:28 +01:00
"parameters": [
{
"name": "userIds",
"type": "list",
"description": "",
"required": false
}
]
},
{
"name": "applicationHostname",
"description": "Active for client instances with a hostName in the hostNames-list.",
2018-11-22 11:20:28 +01:00
"parameters": [
{
"name": "hostNames",
"type": "list",
"description": "List of hostnames to enable the feature toggle for.",
"required": false
}
]
},
{
"name": "gradualRolloutRandom",
"description": "Randomly activate the feature toggle. No stickiness.",
2018-11-22 11:20:28 +01:00
"parameters": [
{
"name": "percentage",
"type": "percentage",
"description": "",
"required": false
}
]
},
{
"name": "gradualRolloutSessionId",
"description": "Gradually activate feature toggle. Stickiness based on session id.",
2018-11-22 11:20:28 +01:00
"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
}
]
},
{
"name": "gradualRolloutUserId",
"description": "Gradually activate feature toggle for logged in users. Stickiness based on user id.",
2018-11-22 11:20:28 +01:00
"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
}
]
},
{
"name": "remoteAddress",
"description": "Active for remote addresses defined in the IPs list.",
2018-11-22 11:20:28 +01:00
"parameters": [
{
"name": "IPs",
"type": "list",
"description": "List of IPs to enable the feature toggle for.",
"required": true
}
]
}
]