小编Sha*_*bir的帖子

Azure Durable Function HttpStart 失败:未配置 Webhook

我已在 Azure Kubernetes 服务中部署了 Azure Durable Http Triggered Function 应用程序。我使用 Visual Studio Code 来创建函数应用程序。我已按照本文Microsoft官方文档中的说明进行操作。

Function runtime: 3.0.2630
Python version: 3.7.7
azure-functions: 1.3.1
azure-functions-durable: 1.0.0b9
Run Code Online (Sandbox Code Playgroud)

这是我的 HttStartfunction.json文件,如下所示:

{
  "scriptFile": "__init__.py",
  "bindings": [
    {
      "authLevel": "anonymous",
      "name": "req",
      "type": "httpTrigger",
      "direction": "in",
      "route": "orchestrators/{functionName}",
      "methods": [
        "post",
        "get"
      ]
    },
    {
      "name": "$return",
      "type": "http",
      "direction": "out"
    },
    {
      "name": "starter",
      "type": "orchestrationClient",
      "direction": "in"
    }
  ]
}
Run Code Online (Sandbox Code Playgroud)

Docker 文件:

FROM mcr.microsoft.com/azure-functions/python:3.0-python3.7

ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
    AzureFunctionsJobHost__Logging__Console__IsEnabled=true …
Run Code Online (Sandbox Code Playgroud)

azure docker kubernetes azure-durable-functions

1
推荐指数
1
解决办法
1663
查看次数