File tree Expand file tree Collapse file tree 5 files changed +7
-4
lines changed
Expand file tree Collapse file tree 5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 133133 "webSitesFunctions" : " func-" ,
134134 "webStaticSites" : " stapp-" ,
135135 "dts" : " dts-" ,
136- "taskhub" : " taskhub- "
136+ "taskhub" : " taskhub"
137137}
Original file line number Diff line number Diff line change @@ -230,6 +230,9 @@ module api './app/api.bicep' = {
230230 AZURE_CLIENT_ID : apiUserAssignedIdentity .outputs .clientId
231231 DTS_CONNECTION_STRING : 'Endpoint=${dts .outputs .dts_URL };Authentication=ManagedIdentity;ClientID=${apiUserAssignedIdentity .outputs .clientId }'
232232 TASKHUB_NAME : dts .outputs .TASKHUB_NAME
233+ // Override host.json durableTask storageProvider for Azure (use DTS instead of azureStorage)
234+ 'AzureFunctionsJobHost__extensions__durableTask__storageProvider__type' : 'azureManaged'
235+ 'AzureFunctionsJobHost__extensions__durableTask__storageProvider__connectionStringName' : 'DTS_CONNECTION_STRING'
233236 }
234237 }
235238 dependsOn : [
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ $settingsJson = @"
2525 "AzureWebJobsSecretStorageType": "files",
2626 "FUNCTIONS_WORKER_RUNTIME": "python",
2727 "PYTHON_ENABLE_WORKER_EXTENSIONS": "True",
28- "DTS_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None",
2928 "TASKHUB_NAME": "default",
29+ "DTS_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None",
3030 "COSMOS_DATABASE_NAME": "dev-snippet-db",
3131 "COSMOS_CONTAINER_NAME": "code-snippets",
3232 "BLOB_CONTAINER_NAME": "snippet-backups",
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ cat > src/local.settings.json << EOF
1919 "AzureWebJobsSecretStorageType": "files",
2020 "FUNCTIONS_WORKER_RUNTIME": "python",
2121 "PYTHON_ENABLE_WORKER_EXTENSIONS": "True",
22- "DTS_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None",
2322 "TASKHUB_NAME": "default",
23+ "DTS_CONNECTION_STRING": "Endpoint=http://localhost:8080;Authentication=None",
2424 "COSMOS_DATABASE_NAME": "dev-snippet-db",
2525 "COSMOS_CONTAINER_NAME": "code-snippets",
2626 "BLOB_CONTAINER_NAME": "snippet-backups",
Original file line number Diff line number Diff line change 44 "AzureWebJobsStorage" : " UseDevelopmentStorage=true" ,
55 "FUNCTIONS_WORKER_RUNTIME" : " python" ,
66 "PYTHON_ENABLE_WORKER_EXTENSIONS" : " True" ,
7- "DTS_CONNECTION_STRING" : " Endpoint=http://localhost:8080;Authentication=None" ,
87 "TASKHUB_NAME" : " default" ,
8+ "DTS_CONNECTION_STRING" : " Endpoint=http://localhost:8080;Authentication=None" ,
99 "COSMOS_DATABASE_NAME" : " dev-snippet-db" ,
1010 "COSMOS_CONTAINER_NAME" : " code-snippets" ,
1111 "BLOB_CONTAINER_NAME" : " snippet-backups" ,
You can’t perform that action at this time.
0 commit comments