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 1414 <dependency >
1515 <groupId >com.h2database</groupId >
1616 <artifactId >h2-mvstore</artifactId >
17- <version >${version.com.h2database} </version >
18- </dependency >
17+ </dependency >
1918 <dependency >
2019 <groupId >io.serverlessworkflow</groupId >
2120 <artifactId >serverlessworkflow-persistence-big-map</artifactId >
2221 </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 >
5122 </dependencies >
5223</project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 <name >Serverless Workflow :: Impl</name >
1010 <packaging >pom</packaging >
1111 <properties >
12+ <version .com.h2database>1.4.199</version .com.h2database>
1213 <version .de.huxhorn.sulky>8.3.0</version .de.huxhorn.sulky>
1314 <version .jakarta.ws.rs>4.0.0</version .jakarta.ws.rs>
1415 <version .net.thisptr>1.6.0</version .net.thisptr>
4142 <artifactId >serverlessworkflow-persistence-jackson-marshaller</artifactId >
4243 <version >${project.version} </version >
4344 </dependency >
45+ <dependency >
46+ <groupId >io.serverlessworkflow</groupId >
47+ <artifactId >serverlessworkflow-persistence-mvstore</artifactId >
48+ <version >${project.version} </version >
49+ </dependency >
4450 <dependency >
4551 <groupId >io.serverlessworkflow</groupId >
4652 <artifactId >serverlessworkflow-impl-jackson-jwt</artifactId >
7884 <version >${version.org.glassfish.jersey} </version >
7985 <scope >test</scope >
8086 </dependency >
87+ <dependency >
88+ <groupId >com.h2database</groupId >
89+ <artifactId >h2-mvstore</artifactId >
90+ <version >${version.com.h2database} </version >
91+ </dependency >
8192 </dependencies >
8293 </dependencyManagement >
8394 <modules >
Original file line number Diff line number Diff line change 1616 <groupId >io.serverlessworkflow</groupId >
1717 <artifactId >serverlessworkflow-api</artifactId >
1818 </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 >
1928 <dependency >
2029 <groupId >io.serverlessworkflow</groupId >
2130 <artifactId >serverlessworkflow-impl-http</artifactId >
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package io .serverlessworkflow .tests . persistence ;
16+ package io .serverlessworkflow .impl . test ;
1717
1818import static io .serverlessworkflow .api .WorkflowReader .readWorkflowFromClasspath ;
1919
@@ -31,7 +31,8 @@ public static void main(String[] args) throws IOException {
3131 WorkflowApplication application =
3232 BytesBigMapApplicationBuilder .builder (WorkflowApplication .builder (), store ).build ()) {
3333 WorkflowDefinition definition =
34- application .workflowDefinition (readWorkflowFromClasspath ("listen-to-any.yaml" ));
34+ application .workflowDefinition (
35+ readWorkflowFromClasspath ("workflows-samples/listen-to-any.yaml" ));
3536 definition .instance (Map .of ()).start ();
3637 }
3738 }
Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- package io .serverlessworkflow .tests . persistence ;
16+ package io .serverlessworkflow .impl . test ;
1717
1818import static io .serverlessworkflow .api .WorkflowReader .readWorkflowFromClasspath ;
1919import static org .assertj .core .api .Assertions .assertThat ;
@@ -45,7 +45,8 @@ public void testRestoreWaitingInstance() throws IOException {
4545 WorkflowPersistenceRestorer restorer =
4646 new BytesBigMapPersistenceRestorer (store , bufferFactory ); ) {
4747 WorkflowDefinition definition =
48- application .workflowDefinition (readWorkflowFromClasspath ("listen-to-any.yaml" ));
48+ application .workflowDefinition (
49+ readWorkflowFromClasspath ("workflows-samples/listen-to-any.yaml" ));
4950 Collection <WorkflowInstance > instances = restorer .restoreAll (definition ).values ();
5051 assertThat (instances ).hasSize (1 );
5152 instances .forEach (WorkflowInstance ::start );
You can’t perform that action at this time.
0 commit comments