定制 flowpack/prunner 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

flowpack/prunner

Composer 安装命令:

composer require flowpack/prunner

包简介

Integration of prunner (an embedded pipeline task runner) in Neos

README 文档

README

An embeddable task / pipeline runner for Neos and Flow.

For a full introduction, see the README of the prunner repo.

Components

prunner

A single process, written in go, that provides the REST API, pipeline runner and persistence. It needs to be started in the background for integration into other applications.

prunner-ui

A minimalistic React UI to start and view pipelines, jobs and task details.

Flowpack.Prunner (this repository)

A Neos/Flow PHP package providing a backend module for the current pipeline state, and a PHP API.

Installation

composer require flowpack/prunner

Now, start up prunner via the following command:

prunner/prunner --path Packages --data Data/Persistent/prunner

This will parse all packages for pipelines.yml files.

Overriding the Prunner Version

By default, the prunner version configured in Flowpack\Prunner\Composer\InstallerScripts::DEFAULT_VERSION_TO_INSTALL will be downloaded. However, it is possible to override this via extra.prunner-version in the root composer.json:

{
  "extra": {
    "prunner-version": "0.4.0"
  }
}

Skip the Prunner binary download

In case you want to install Prunner manually, you can skip the download of the Prunner entirely by setting extra.prunner-version in the root composer.json to "skip-download".

{
  "extra": {
    "prunner-version": "skip-download"
  }
}

Building the UI package

In prunner-ui, run yarn build for the production build.

Then, copy the index.js and index.css files to this package:

export PRUNNERUI=/path/to/prunner-ui
cp $PRUNNERUI/build/dist/index.js* Resources/Public/prunner-ui/
cp $PRUNNERUI/build/index.css Resources/Public/prunner-ui/index.css

License

MIT - see LICENSE.

flowpack/prunner 适用场景与选型建议

flowpack/prunner 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 29.05k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2021 年 10 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 flowpack/prunner 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 flowpack/prunner 我们能提供哪些服务?
定制开发 / 二次开发

基于 flowpack/prunner 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 29.05k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 10
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-04