Skip to content
This repository has been archived by the owner on Nov 14, 2019. It is now read-only.

Workflow compilation #115

Merged
merged 7 commits into from
Jul 26, 2019
Merged

Workflow compilation #115

merged 7 commits into from
Jul 26, 2019

Conversation

antho1404
Copy link
Member

@antho1404 antho1404 commented Jul 21, 2019

dependency:

Update library and add workflow compilation

To test:

Create a MESG service like any other (docker is still required)
In the mesg.yml file you can now add your workflow with the following structure:

workflows:
  react-to-event:
    trigger:
      type: Event
      instanceHash: 7vMG8ac7Xd9z4LfEnS6PfUKM3B7x9hFbaf4LM3JTwrBY
      key: eventX
      filters:
        - key: foo
          predicate: EQ
          value: hello
    task:
      instanceHash: 5fzKqHcXDfRvka3KgHqt2yNWyzCFapFY5BqmfrvMdkLZ
      taskKey: taskX
  react-to-result:
    trigger:
      type: Result
      instanceHash: 7vMG8ac7Xd9z4LfEnS6PfUKM3B7x9hFbaf4LM3JTwrBY
      key: testResult
      filters:
        - key: foo
          predicate: EQ
          value: hello
    task:
      instanceHash: 5fzKqHcXDfRvka3KgHqt2yNWyzCFapFY5BqmfrvMdkLZ
      taskKey: taskX

@antho1404 antho1404 added the enhancement New feature or request label Jul 21, 2019
@antho1404 antho1404 added this to the next milestone Jul 21, 2019
@antho1404 antho1404 requested a review from NicolasMahe July 21, 2019 15:04
@antho1404 antho1404 self-assigned this Jul 21, 2019
@antho1404 antho1404 changed the title Feature/workflow compiler Workflow compilation Jul 21, 2019
@antho1404 antho1404 force-pushed the feature/workflow-compiler branch from 10dee56 to 7e4e7ca Compare July 22, 2019 11:12
test-service/mesg.yml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
NicolasMahe
NicolasMahe previously approved these changes Jul 25, 2019
@antho1404 antho1404 force-pushed the feature/workflow-compiler branch from ac6b12c to be4b5b0 Compare July 26, 2019 10:08
@antho1404 antho1404 merged commit dcf696b into master Jul 26, 2019
@antho1404 antho1404 deleted the feature/workflow-compiler branch July 26, 2019 10:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants