Skip to content

feat: add workflow plugin(mvp)#7760

Merged
spacewander merged 6 commits into
apache:masterfrom
tzssangglass:workflow
Aug 24, 2022
Merged

feat: add workflow plugin(mvp)#7760
spacewander merged 6 commits into
apache:masterfrom
tzssangglass:workflow

Conversation

@tzssangglass

Copy link
Copy Markdown
Member

Description

I want to combine the existing DSL to support more complex limiting scenarios, this PR is just the first step in providing workflow plugins to implement basic orchestration capabilities.

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@tzssangglass
tzssangglass marked this pull request as ready for review August 23, 2022 07:43
Comment thread apisix/plugins/workflow.lua Outdated
Comment thread apisix/plugins/workflow.lua Outdated
Comment thread apisix/plugins/workflow.lua
Comment thread apisix/plugins/workflow.lua Outdated
Comment thread apisix/plugins/workflow.lua Outdated


local function exit(conf)
local code = tonumber(conf.code)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is tonumber necessary after the schema check?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need, fix it on next PR.

@tzssangglass
tzssangglass requested a review from soulbird August 23, 2022 11:01
@spacewander
spacewander merged commit 1cf96d1 into apache:master Aug 24, 2022
@tzssangglass
tzssangglass deleted the workflow branch October 10, 2022 10:39
Liu-Junlin pushed a commit to Liu-Junlin/apisix that referenced this pull request Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants