mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-19 01:17:18 +02:00
docs(4.3): update the custom strategy documentation.
This commit is contained in:
parent
74aa185392
commit
d59d2f141e
@ -13,7 +13,7 @@ In this example we want to define an activation strategy offers a scheduled rele
|
|||||||
|
|
||||||
First we need to "define" our new strategy. To add a new "Strategy", open the Strategies tab from the sidebar.
|
First we need to "define" our new strategy. To add a new "Strategy", open the Strategies tab from the sidebar.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
We name our strategy `TimeStamp` and add one required parameter of type string, which we call `enableAfter`.
|
We name our strategy `TimeStamp` and add one required parameter of type string, which we call `enableAfter`.
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ We name our strategy `TimeStamp` and add one required parameter of type string,
|
|||||||
|
|
||||||
After we have created the strategy definition, we can now decide to use that activation strategy for our feature toggle.
|
After we have created the strategy definition, we can now decide to use that activation strategy for our feature toggle.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
In the example we want to use our custom strategy for the feature toggle named `demo.TimeStampRollout`.
|
In the example we want to use our custom strategy for the feature toggle named `demo.TimeStampRollout`.
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 562 KiB After Width: | Height: | Size: 155 KiB |
Loading…
Reference in New Issue
Block a user