File tree Expand file tree Collapse file tree 7 files changed +27
-44
lines changed
src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 7 files changed +27
-44
lines changed Original file line number Diff line number Diff line change 14
14
<dependency >
15
15
<groupId >com.h2database</groupId >
16
16
<artifactId >h2-mvstore</artifactId >
17
- <version >${version.com.h2database} </version >
18
- </dependency >
17
+ </dependency >
19
18
<dependency >
20
19
<groupId >io.serverlessworkflow</groupId >
21
20
<artifactId >serverlessworkflow-persistence-big-map</artifactId >
22
21
</dependency >
23
- <dependency >
24
- <groupId >io.serverlessworkflow</groupId >
25
- <artifactId >serverlessworkflow-api</artifactId >
26
- <scope >test</scope >
27
- </dependency >
28
- <dependency >
29
- <groupId >io.serverlessworkflow</groupId >
30
- <artifactId >serverlessworkflow-impl-jackson</artifactId >
31
- <scope >test</scope >
32
- </dependency >
33
- <dependency >
34
- <groupId >ch.qos.logback</groupId >
35
- <artifactId >logback-classic</artifactId >
36
- <scope >test</scope >
37
- </dependency >
38
- <dependency >
39
- <groupId >io.serverlessworkflow</groupId >
40
- <artifactId >serverlessworkflow-persistence-jackson-marshaller</artifactId >
41
- <scope >test</scope >
42
- </dependency >
43
- <dependency >
44
- <groupId >org.junit.jupiter</groupId >
45
- <artifactId >junit-jupiter-engine</artifactId >
46
- </dependency >
47
- <dependency >
48
- <groupId >org.assertj</groupId >
49
- <artifactId >assertj-core</artifactId >
50
- </dependency >
51
22
</dependencies >
52
23
</project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
<name >Serverless Workflow :: Impl</name >
10
10
<packaging >pom</packaging >
11
11
<properties >
12
+ <version .com.h2database>1.4.199</version .com.h2database>
12
13
<version .de.huxhorn.sulky>8.3.0</version .de.huxhorn.sulky>
13
14
<version .jakarta.ws.rs>4.0.0</version .jakarta.ws.rs>
14
15
<version .net.thisptr>1.6.0</version .net.thisptr>
41
42
<artifactId >serverlessworkflow-persistence-jackson-marshaller</artifactId >
42
43
<version >${project.version} </version >
43
44
</dependency >
45
+ <dependency >
46
+ <groupId >io.serverlessworkflow</groupId >
47
+ <artifactId >serverlessworkflow-persistence-mvstore</artifactId >
48
+ <version >${project.version} </version >
49
+ </dependency >
44
50
<dependency >
45
51
<groupId >io.serverlessworkflow</groupId >
46
52
<artifactId >serverlessworkflow-impl-jackson-jwt</artifactId >
78
84
<version >${version.org.glassfish.jersey} </version >
79
85
<scope >test</scope >
80
86
</dependency >
87
+ <dependency >
88
+ <groupId >com.h2database</groupId >
89
+ <artifactId >h2-mvstore</artifactId >
90
+ <version >${version.com.h2database} </version >
91
+ </dependency >
81
92
</dependencies >
82
93
</dependencyManagement >
83
94
<modules >
Original file line number Diff line number Diff line change 16
16
<groupId >io.serverlessworkflow</groupId >
17
17
<artifactId >serverlessworkflow-api</artifactId >
18
18
</dependency >
19
+ <dependency >
20
+ <groupId >io.serverlessworkflow</groupId >
21
+ <artifactId >serverlessworkflow-persistence-mvstore</artifactId >
22
+ </dependency >
23
+ <dependency >
24
+ <groupId >io.serverlessworkflow</groupId >
25
+ <artifactId >serverlessworkflow-persistence-jackson-marshaller</artifactId >
26
+ <scope >test</scope >
27
+ </dependency >
19
28
<dependency >
20
29
<groupId >io.serverlessworkflow</groupId >
21
30
<artifactId >serverlessworkflow-impl-http</artifactId >
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package io .serverlessworkflow .tests . persistence ;
16
+ package io .serverlessworkflow .impl . test ;
17
17
18
18
import static io .serverlessworkflow .api .WorkflowReader .readWorkflowFromClasspath ;
19
19
@@ -31,7 +31,8 @@ public static void main(String[] args) throws IOException {
31
31
WorkflowApplication application =
32
32
BytesBigMapApplicationBuilder .builder (WorkflowApplication .builder (), store ).build ()) {
33
33
WorkflowDefinition definition =
34
- application .workflowDefinition (readWorkflowFromClasspath ("listen-to-any.yaml" ));
34
+ application .workflowDefinition (
35
+ readWorkflowFromClasspath ("workflows-samples/listen-to-any.yaml" ));
35
36
definition .instance (Map .of ()).start ();
36
37
}
37
38
}
Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package io .serverlessworkflow .tests . persistence ;
16
+ package io .serverlessworkflow .impl . test ;
17
17
18
18
import static io .serverlessworkflow .api .WorkflowReader .readWorkflowFromClasspath ;
19
19
import static org .assertj .core .api .Assertions .assertThat ;
@@ -45,7 +45,8 @@ public void testRestoreWaitingInstance() throws IOException {
45
45
WorkflowPersistenceRestorer restorer =
46
46
new BytesBigMapPersistenceRestorer (store , bufferFactory ); ) {
47
47
WorkflowDefinition definition =
48
- application .workflowDefinition (readWorkflowFromClasspath ("listen-to-any.yaml" ));
48
+ application .workflowDefinition (
49
+ readWorkflowFromClasspath ("workflows-samples/listen-to-any.yaml" ));
49
50
Collection <WorkflowInstance > instances = restorer .restoreAll (definition ).values ();
50
51
assertThat (instances ).hasSize (1 );
51
52
instances .forEach (WorkflowInstance ::start );
You can’t perform that action at this time.
0 commit comments