From 4f0ee8ecb2aeb43c711a2e191ed5b8df71f5316f Mon Sep 17 00:00:00 2001 From: Lorenzo Montanari Date: Sat, 13 Nov 2021 10:57:49 +0100 Subject: [PATCH 1/7] Fixed some formatting issues --- .../configuration/app-configuration-overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/configuration/app-configuration-overview.md b/daprdocs/content/en/developing-applications/building-blocks/configuration/app-configuration-overview.md index a368c615b..5fd34c9bb 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/configuration/app-configuration-overview.md +++ b/daprdocs/content/en/developing-applications/building-blocks/configuration/app-configuration-overview.md @@ -8,9 +8,9 @@ description: "Use Dapr to get and watch application configuration" Consuming application configuration is a common task when writing applications and frequently configuration stores are used to manage this configuration data. A configuration item is often dynamic in nature and is tightly coupled to the needs of the application that consumes it. For example, common uses for application configuration include names of secrets that need to be retrieved, different identifiers, partition or consumer IDs, names of databased to connect to etc. These configuration items are typically stored as key-value items in a database. -Dapr provides a [State Management API]({{}})) that is based on key-value stores. However, application configuration can be changed by either developers or operators at runtime and the developer needs to be notified of these changes in order to take the required action and load the new configuration. Also the configuration data may want to be read only. Dapr's Configuration API allows developers to consume configuration items that are returned as key/value pair and subscribe to changes whenever a configuration item changes. +Dapr provides a [State Management API]({{}}) that is based on key-value stores. However, application configuration can be changed by either developers or operators at runtime and the developer needs to be notified of these changes in order to take the required action and load the new configuration. Also the configuration data may want to be read only. Dapr's Configuration API allows developers to consume configuration items that are returned as key/value pair and subscribe to changes whenever a configuration item changes. -*This API is currently in `Alpha state` and only available on gRPC. An HTTP1.1 supported version with this URL `/v1.0/configuration` will be available before the API becomes stable. * +*This API is currently in `Alpha state` and only available on gRPC. An HTTP1.1 supported version with this URL `/v1.0/configuration` will be available before the API becomes stable.* ## References From 72460823820495c56bf77262eea4efa2c51e86a3 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 13:42:20 -0800 Subject: [PATCH 2/7] Update pubsub-raw.md Publisher example invalid dapr/python-sdk#299 --- .../building-blocks/pubsub/pubsub-raw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index 859ac8470..7a66aabdb 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -51,7 +51,7 @@ with DaprClient() as d: topic='TOPIC_A', data=json.dumps(req_data), metadata=( - ('rawPayload', 'true') + ('rawPayload', 'true'), ) ) # Print the request From 2a84d6844fb8eaefd728c4c2240dd2c133a73982 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 14:07:59 -0800 Subject: [PATCH 3/7] Update pubsub-raw.md --- .../building-blocks/pubsub/pubsub-raw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index 7a66aabdb..20eaae56b 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -161,7 +161,7 @@ spec: route: /dsstatus pubsubname: pubsub metadata: - rawPayload: "true" + rawpayload: "true" scopes: - app1 - app2 From da08b1d0319ad2cbe6cca8ef43ca50ccf0b51948 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 14:08:53 -0800 Subject: [PATCH 4/7] Update pubsub-raw.md --- .../building-blocks/pubsub/pubsub-raw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index 20eaae56b..7a66aabdb 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -161,7 +161,7 @@ spec: route: /dsstatus pubsubname: pubsub metadata: - rawpayload: "true" + rawPayload: "true" scopes: - app1 - app2 From 7afbc5dc06db3ef07738c52bfa9619d0b03ad763 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 14:09:47 -0800 Subject: [PATCH 5/7] Update pubsub-raw.md --- .../building-blocks/pubsub/pubsub-raw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index 7a66aabdb..7a7ac3bf2 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -51,7 +51,7 @@ with DaprClient() as d: topic='TOPIC_A', data=json.dumps(req_data), metadata=( - ('rawPayload', 'true'), + ('rawpayload', 'true'), ) ) # Print the request From 05b67a43114850667ee09c92a26143b8de0f09e2 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 19:28:43 -0800 Subject: [PATCH 6/7] Update pubsub-raw.md --- .../building-blocks/pubsub/pubsub-raw.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index 7a7ac3bf2..c0a1a8d66 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -50,9 +50,7 @@ with DaprClient() as d: pubsub_name='pubsub', topic='TOPIC_A', data=json.dumps(req_data), - metadata=( - ('rawpayload', 'true'), - ) + publish_metadata={'rawpayload': 'true'} ) # Print the request print(req_data, flush=True) From e3aca4c5146dc21c443efe3af71381866bd63955 Mon Sep 17 00:00:00 2001 From: Charlie Stanley Date: Wed, 17 Nov 2021 19:29:46 -0800 Subject: [PATCH 7/7] Update pubsub-raw.md --- .../building-blocks/pubsub/pubsub-raw.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md index c0a1a8d66..ed73fe900 100644 --- a/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md +++ b/daprdocs/content/en/developing-applications/building-blocks/pubsub/pubsub-raw.md @@ -50,7 +50,7 @@ with DaprClient() as d: pubsub_name='pubsub', topic='TOPIC_A', data=json.dumps(req_data), - publish_metadata={'rawpayload': 'true'} + publish_metadata={'rawPayload': 'true'} ) # Print the request print(req_data, flush=True)