2017-02-11 11:17:11 +01:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
]
|
2017-02-11 11:17:11 +01:00
|
|
|
}
|
|
|
|
]
|