Comments (7)
How should a strategy be defined?
Suggestion:
{
"name": "activeForUser",
"configurationTemplate": {
"userNames": "string"
}
}
from unleash.
{
"strategy": "activeForUser",
"enabled": false,
"parameters": {
"userNames": "string"
}
}
Agree.
Enabled is default to false.
Parameters could be shortened to params.
from unleash.
I think parameters
(or params
) is inaccurate, and configurationTemplate
is a lot more descriptive.
from unleash.
I think the template key here should match what we use in the feature, so either:
- use
parametersTemplate
in the strategy object, or - rename
parameters
toconfiguration
in the feature object
from unleash.
Thanks. I will keep it as parametersTemplate
for simplicity.
from unleash.
We should do 2. as well =)
from unleash.
No. We must be concise.
- The strategies define which parameters they require via the
parametersTemplate
- The feature toggles make use of a strategy and must fill the required
parametes
for that strategy.
from unleash.
Related Issues (20)
- black-duck binary analysis found security vulnerabilities HOT 3
- 🟢 Search API + filter
- 🟢 Scheduled configuration changes HOT 1
- 🔥 feat: Signals & Actions
- 🔥 poc: Yggdrasil engine in SDKs
- Get Features API does not return description HOT 5
- black-duck binary analysis found security vulnerabilities found on 5.7.2 image
- Why is this happening HOT 2
- Endpoint /api/frontend throws UnknownError when configured with AuthType.None HOT 4
- When AuthType is `none`, `api/client/features` ignores tokens
- Listing Archived feature returning 500 error HOT 2
- Increase size of the imageUrl for user profile picture HOT 3
- Enable archived feature toggle through the REST API HOT 2
- Can not to create default strategy HOT 6
- 🔥 feat: Improve strategy configuration HOT 1
- 🟢 feat: license keys for unleash-enterprise self-hosted HOT 1
- 🔥 feat: System for Cross-domain Identity Management (SCIM)
- 🟢 feat: Usage metrics up to 90 days HOT 2
- 🟢 feat: Improve conflict handling in Change Request HOT 2
- Create more complex rules for variant overrides HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unleash.