Skip to content

Commit

Permalink
Add paymentServiceFailure & paymentServiceUnreachable featureflags to…
Browse files Browse the repository at this point in the history
… demo docs
  • Loading branch information
EislM0203 committed Feb 15, 2024
1 parent 40745c9 commit 6496935
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions content/en/docs/demo/feature-flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ in specific services. By default the flags are disabled. Using the Feature Flags
UI <http://localhost:8080/feature> you will be able to control the status of
these feature flags.

| Feature Flag | Service(s) | Description |
| ----------------------- | --------------- | -------------------------------------------------------------------------------------------------------- |
| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time |
| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time |
| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` |
| `recommendationCache` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. |
| Feature Flag | Service(s) | Description |
| ----------------------------- | --------------- | -------------------------------------------------------------------------------------------------------- |
| `adServiceFailure` | Ad Service | Generate an error for `GetAds` 1/10th of the time |
| `cartServiceFailure` | Cart Service | Generate an error for `EmptyCart` 1/10th of the time |
| `productCatalogFailure` | Product Catalog | Generate an error for `GetProduct` requests with product id: `OLJCESPC7Z` |
| `recommendationCache` | Recommendation | Create a memory leak due to an exponentially growing cache. 1.4x growth, 50% of requests trigger growth. |
| `paymentServiceFailure` | Paymentservice | Generate an error when calling the charge method of the paymentservice. |
| `paymentServiceUnreachable` | Paymentservice | Generate an error when the paymentservice is called. |

0 comments on commit 6496935

Please sign in to comment.