From e20d1785607b9a85a20c228f731c2fe2fe495d7e Mon Sep 17 00:00:00 2001 From: Ahmed ElSayed Date: Tue, 7 Jun 2022 21:55:40 -0700 Subject: [PATCH 1/2] Add httpReadBufferSize to dapr config --- .../Microsoft.App/stable/2022-05-01/ContainerApps.json | 5 +++++ .../examples/ContainerApps_CreateOrUpdate.json | 9 ++++++--- .../stable/2022-05-01/examples/ContainerApps_Get.json | 3 ++- .../examples/ContainerApps_ListByResourceGroup.json | 3 ++- .../examples/ContainerApps_ListBySubscription.json | 3 ++- .../stable/2022-05-01/examples/ContainerApps_Patch.json | 3 ++- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json index 0787118cb6f2..5bbfe5a44d5d 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json @@ -579,6 +579,11 @@ "format": "int32", "description": "Tells Dapr which port your application is listening on", "type": "integer" + }, + "httpReadBufferSize": { + "type": "integer", + "format": "int32", + "nullable": true } } }, diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json index 3ff1ae9bf090..b6370daf190c 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_CreateOrUpdate.json @@ -35,7 +35,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { @@ -126,7 +127,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { @@ -207,7 +209,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json index 07583d4ef063..ff636346961f 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Get.json @@ -50,7 +50,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json index 5bbd55b110bf..a0e7e667dbde 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListByResourceGroup.json @@ -51,7 +51,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json index 6079ae7f7b42..f79966eba9d6 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_ListBySubscription.json @@ -50,7 +50,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json index df8f3f61d67c..7688739a729b 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/examples/ContainerApps_Patch.json @@ -38,7 +38,8 @@ "dapr": { "enabled": true, "appPort": 3000, - "appProtocol": "http" + "appProtocol": "http", + "httpReadBufferSize": 30 } }, "template": { From f425c27b6f8b19f700ed5b74c7b847256a1def37 Mon Sep 17 00:00:00 2001 From: Ahmed ElSayed Date: Wed, 8 Jun 2022 10:01:39 -0700 Subject: [PATCH 2/2] remove nullable --- .../Microsoft.App/stable/2022-05-01/ContainerApps.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json index 5bbfe5a44d5d..454e2c81a224 100644 --- a/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json +++ b/specification/app/resource-manager/Microsoft.App/stable/2022-05-01/ContainerApps.json @@ -582,8 +582,7 @@ }, "httpReadBufferSize": { "type": "integer", - "format": "int32", - "nullable": true + "format": "int32" } } },