From 578264e05fcb2c21d729b44d8260e5c6b75136bc Mon Sep 17 00:00:00 2001 From: Elena Kolevska Date: Tue, 3 Dec 2024 16:45:27 +0000 Subject: [PATCH] fixes missing state store in test Signed-off-by: Elena Kolevska --- examples/error_handling/README.md | 2 +- .../error_handling/components/state_redis.yaml | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 examples/error_handling/components/state_redis.yaml diff --git a/examples/error_handling/README.md b/examples/error_handling/README.md index 1d24bc82..0ce190d3 100644 --- a/examples/error_handling/README.md +++ b/examples/error_handling/README.md @@ -38,7 +38,7 @@ timeout_seconds: 5 --> ```bash -dapr run -- python3 error_handling.py +dapr run --resources-path components -- python3 error_handling.py ``` diff --git a/examples/error_handling/components/state_redis.yaml b/examples/error_handling/components/state_redis.yaml new file mode 100644 index 00000000..7c45ff88 --- /dev/null +++ b/examples/error_handling/components/state_redis.yaml @@ -0,0 +1,15 @@ +apiVersion: dapr.io/v1alpha1 +kind: Component +metadata: + name: statestore +spec: + type: state.redis + version: v1 + initTimeout: 1m + metadata: + - name: redisHost + value: localhost:6379 + - name: redisPassword + value: "" + - name: actorStateStore + value: "true" \ No newline at end of file