|
4 | 4 |
|
5 | 5 | [Unreleased]: https://github.com/chaostoolkit/chaostoolkit-lib/compare/1.15.0...HEAD
|
6 | 6 |
|
| 7 | +### Added |
| 8 | + |
| 9 | +- New field `expect_one_of` in `jsonpath` tolerance. Sometimes the json payload |
| 10 | + values will be dynamic, e.g. field `status` in response payload may provide |
| 11 | + any values(either `ok` or `error` or `info`). Using `expect` field, we can |
| 12 | + mention only one value as expected value but sometimes steady state can be |
| 13 | + met with one or more values. e.g. you want to define two values either `ok` or |
| 14 | + `info` as expected value. In these cases, you can use both `expect` and |
| 15 | + `expect_one_of` to define both expected values.[#191][191] |
| 16 | + |
| 17 | +[191]: https://github.com/chaostoolkit/chaostoolkit-lib/pull/191 |
| 18 | + |
| 19 | + |
7 | 20 | ## [1.15.0][] - 2020-09-11
|
8 | 21 |
|
9 | 22 | [1.15.0]: https://github.com/chaostoolkit/chaostoolkit-lib/compare/1.14.1...1.15.0
|
|
136 | 149 | was interrupted from a control. With the strategies, you can now decide
|
137 | 150 | that they are always applied, never or only when the experiment deviated.
|
138 | 151 | This is a flag passed to the settings as follows:
|
139 |
| - |
| 152 | + |
140 | 153 | ```
|
141 | 154 | runtime:
|
142 | 155 | rollbacks:
|
|
215 | 228 | ### Added
|
216 | 229 |
|
217 | 230 | - Optional default value for environment variable in configuration
|
218 |
| -- Warn the user for an action process returning a non-zero exit code |
| 231 | +- Warn the user for an action process returning a non-zero exit code |
219 | 232 | - Support for process path relative to homedir ~
|
220 | 233 | - Indicate path in validation when path is not found nor executable [#159][159]
|
221 | 234 |
|
222 | 235 | ### Changed
|
223 | 236 |
|
224 |
| -- Changed the method's one-step minimum requirement. |
| 237 | +- Changed the method's one-step minimum requirement. |
225 | 238 | An experiment with an empty method (without any activities) is now valid.
|
226 | 239 |
|
227 | 240 | [159]: https://github.com/chaostoolkit/chaostoolkit-lib/issues/159
|
|
333 | 346 |
|
334 | 347 | ### Changed
|
335 | 348 |
|
336 |
| -- Fix to ensure a control's `configuration` parameter is populated when it the |
| 349 | +- Fix to ensure a control's `configuration` parameter is populated when it the |
337 | 350 | control is being `configured` [#114][114]
|
338 | 351 | - Load and apply global controls, those declared in the settings, from the
|
339 | 352 | `run_experiment` function rather than out of band [#116][116]
|
|
400 | 413 | #### Added
|
401 | 414 |
|
402 | 415 | - a new tolerance type called `range` to support scenarios such as:
|
403 |
| - |
| 416 | + |
404 | 417 | value type is:
|
405 | 418 | ```
|
406 | 419 | {
|
|
765 | 778 |
|
766 | 779 | ### Changed
|
767 | 780 |
|
768 |
| -- Log a message when loading the configuration |
| 781 | +- Log a message when loading the configuration |
769 | 782 | - Raise `InvalidExperiment` when a configuration or secret references a key
|
770 | 783 | in the environment and that key does not exist (it may not be set however)
|
771 | 784 | [#40][40]. This bails the experiment at validation time so before it runs.
|
|
0 commit comments