-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edvard Fonsell
committed
Feb 11, 2021
1 parent
ef6af47
commit e7806e2
Showing
11 changed files
with
74 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
nflow-perf-test/src/main/java/io/nflow/performance/workflow/TestState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.nflow.performance.workflow; | ||
|
||
import io.nflow.engine.workflow.curated.SimpleState; | ||
import io.nflow.engine.workflow.definition.WorkflowState; | ||
import io.nflow.engine.workflow.definition.WorkflowStateType; | ||
|
||
public class TestState { | ||
public static final WorkflowState BEGIN = new SimpleState("begin", WorkflowStateType.start); | ||
public static final WorkflowState PROCESS = new SimpleState("process"); | ||
public static final WorkflowState POLL = new SimpleState("poll", WorkflowStateType.wait); | ||
public static final WorkflowState DONE = new SimpleState("done", WorkflowStateType.end); | ||
public static final WorkflowState ERROR = new SimpleState("error", WorkflowStateType.manual); | ||
} |
28 changes: 9 additions & 19 deletions
28
nflow-rest-api-common/src/test/java/io/nflow/rest/v1/DummyTestWorkflow.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
nflow-rest-api-common/src/test/java/io/nflow/rest/v1/TestState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.nflow.rest.v1; | ||
|
||
import io.nflow.engine.workflow.curated.SimpleState; | ||
import io.nflow.engine.workflow.definition.WorkflowState; | ||
import io.nflow.engine.workflow.definition.WorkflowStateType; | ||
|
||
public class TestState { | ||
public static final WorkflowState BEGIN = new SimpleState("begin", WorkflowStateType.start); | ||
public static final WorkflowState PROCESS = new SimpleState("process"); | ||
public static final WorkflowState POLL = new SimpleState("poll", WorkflowStateType.wait); | ||
public static final WorkflowState DONE = new SimpleState("done", WorkflowStateType.end); | ||
public static final WorkflowState ERROR = new SimpleState("error", WorkflowStateType.manual); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters