简体   繁体   English

检索 GCP 工作流回调 URL

[英]Retrieve GCP Workflow callback URL

I am trying to trigger a GCP workflow using a scheduler.我正在尝试使用调度程序触发 GCP 工作流。 Workflow Steps can be defined as follows:工作流程步骤可以定义如下:

  1. Make an HTTP API call to another app(Java based running app)对另一个应用程序(基于 Java 的运行应用程序)进行 HTTP API 调用
  2. Wait for the callback before moving ahead在继续之前等待回调
  3. Once callback is received continue with other steps.收到回调后,继续执行其他步骤。

Problem: I am unable to retrieve the callback URL for the workflow being executed and therefore my workflow is getting stuck.问题:我无法检索正在执行的工作流的回调 URL,因此我的工作流卡住了。

I am using Java using which i intend to make the callback call to GCP Workflow engine.我正在使用 Java,我打算使用它对 GCP 工作流引擎进行回调调用。

There a many ways to get callback url有很多方法可以得到回调 url

  1. post on pub-sub and subscribe to topic or trigger eventarc event from pub-sub在 pub-sub 上发布并订阅主题或从 pub-sub 触发 eventarc 事件
  2. post on firebased基于火的帖子
  3. use another rest endpoint to capture callback usrl as a rest input使用另一个 rest 端点来捕获回调 usrl 作为 rest 输入

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 GCP 云作曲家和工作流有什么区别? - What is the difference between GCP cloud composer and workflow? 在 GCP 中将 output 从一个工作流步骤传递到另一个工作流步骤 - Pass output from one workflow step to another in GCP 我很好奇 GCP 的 Data Fusion 的内部工作流程 - I'm curious about the internal workflow of GCP's Data Fusion GCP 工作流程:我们可以设置一个等待其他步骤完成的步骤吗? - GCP Workflow : Can we setup a step wait for other steps to complete? 为 GCP 认证用户访问 Cloud Run URL - Access Cloud Run URL for GCP authenticated users GCP 负载平衡(非经典)- URL 重写 - GCP Load Balancing (non classic) - URL rewrite gcp 签名的 url 是否与 google pub/sub 一起使用? - does gcp signed url work with google pub/sub? 一种在 GCP 上自动创建项目或使 OAuth Google 工作流为每个用户创建一个项目的方法? - A way to automate project creation on GCP or make the OAuth Google workflow create one project per user? 设置状态回调 URL 使用 Python - Flask - Setting status callback URL using Python - Flask 如何生成签名的 url 供 GCP 下载 Java 中的文件? - How to generate a signed url for GCP to download a file in Java?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM