Azure 数据工厂调用本地 Alteryx API

Azure Data Factory to call on-prem Alteryx API

我需要从 ADFv2 管道在 Alteryx(本地)中开始一项工作,但找不到这样做的方法。内置 Web activity 似乎不支持 Alteryx 所需的 OAUTH 1.0 签名过程。尝试配置时,我总是收到错误 "Error calling the endpoint"。我试过使用 Web Activity + HTTP 链接服务,但无法找到正确的方法。我需要对本地 Alteryx POST(开始工作)和 GET(获取工作状态)API,我什至不确定哪个 activity 是最好的 activity 来做到这一点。

你是对的:web activity 不支持比简单请求更复杂的场景,链接服务不支持 oAuth 1.0 授权。

在我看来,您将不得不提取 oAuth 1.0 所需的签名过程。您可以选择以下两者之一:

  • 使用自定义 activity,您将在其中编写签名过程的代码并调用您的 Alteryx 作业。

  • 使用 Azure Functions 之类的东西来执行签名过程并调用你的作业。然后使用网络 activity 调用您的函数(这就像调用普通 api 和一些自定义 headers 进行身份验证)。

希望对您有所帮助。

我在微软开了工单,得到的回复是:

Currently the web activity can only run in ADF web role, not IR. This means the web activity does direct calls from the Azure servers to the end points, and is not capable of doing so through a self-hosted IR.