承接 prooph/link-processor-proxy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prooph/link-processor-proxy

最新稳定版本:v0.2.0

Composer 安装命令:

composer require prooph/link-processor-proxy

包简介

Processor proxy for prooph LINK

README 文档

README

Processor proxy for prooph LINK

HTTP Process Trigger

The processor proxy module offers a way to start a process via http request.

Collect Data Trigger

To use this endpoint the process should be startable via a collect-data workflow message. What you need to do is send a POST request to the prooph.link/processor_proxy/api/collect_data_triggers route defined in your prooph LINK application. By default this route name resolves to the URI /prooph/link/processor-proxy/api/collect-data-triggers.

Request

The POST request should have a JSON body containing following structure:

{
  "collect_data_trigger" : {
    "processing_type" : "Processing\Type\Type"
  }
}

As you can see the root key "collect_data_trigger" contains only a "processing_type" definition. The type should point to the Processing\Type\Type implementation that should be collected by the first task of the process.

Response

The service respond with a status code 201 and without a body. Instead the header includes a Location pointing to a message information service with the UUID of the generated workflow message. The message information service provides detailed information about the status of the message, the triggered process and potentially occurred errors.

Message Service

GET Message

  • GET /prooph/link/processor-proxy/api/messages[/:id] (route: prooph.link/processor_proxy/api/messages)

Get information about the message identified by its UUID.

Messagebox

  • POST /prooph/link/processor-proxy/api/messages (route: prooph.link/processor_proxy/api/messages)

The message service provides the possibility to receive a service bus message which is then passed to the workflow engine. The endpoint is mostly used when a sub process or workflow message handler should be triggered via http. In this case the main workflow processor can send a workflow message via the psb-http-dispatcher to this endpoint.

Support

Contribution

You wanna help us? Great! We appreciate any help, be it on implementation level, UI improvements, testing, donation or simply trying out the system and give us feedback. Just leave us a note in our google group linked above and we can discuss further steps.

Thanks, your prooph team

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-03-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固