23 Commits

Author SHA1 Message Date
Mahmoud Ben Hassine
db87f877ac Update test dependencies for the latest Spring Boot 3.5 snapshots
Spring Boot 3.5 updated JUnit Jupiter from v5.11 to v5.12.
With this new version, the junit-platform-launcher dependency
must be declared explicitly.
2025-04-23 09:52:18 +02:00
Janne Valkealahti
e62b09d2bb Overhaul gradle build
- Focus of this commit is to have modern gradle build.
- Migrate most of a plugin configurations from dsl
  into buildSrc.
- This fixes issues with existing docs build.
- Allows to sign files so that we have that part
  done for central in a build.
- We can skip publishing samples.
- We're able to share similar logic for modules
  which are meant for publish or just being samples.
- It's easier to upgrade gradle versions without
  getting various build issues.
- Relates #1143
2024-03-14 12:26:47 +00:00
Janne Valkealahti
2025282e06 Polish "Upgrade to Spring Boot 3" 2023-10-05 12:49:46 +01:00
Erik Greijus
497eebe55c Upgrade to Spring Boot 3 2023-08-29 12:52:50 +02:00
Janne Valkealahti
2fa227985c Port data tests to assertj 2020-11-28 14:43:55 +00:00
Janne Valkealahti
2297ee93d1 Tag mongodb and redis tests 2020-11-22 14:08:49 +00:00
Janne Valkealahti
3d2e1de237 Allow some blockhound block methods
- Looks like some tests fails with redis
  as new lettuse driver, during connect phase,
  will block as there's a timeout which cause
  a block within netty internals(which a bit weird).
- Time of this commit block error came from
  https://github.com/netty/netty/blame/4.1/common/src/main/java/io/netty/util/HashedWheelTimer.java#L349
2020-10-31 14:51:50 +00:00
Janne Valkealahti
4e4ed2fc38 Polish 2020-09-06 09:45:07 +01:00
Dogukan Kundum
3c38675eb0 Jpa eclipselink compability
- With this change, Eclipselink support is added to SSM.
  To do this, table names are modified and some primitive
  types are changed to object types.
- Edited import class types.
2020-03-02 16:15:51 +00:00
Janne Valkealahti
49860418f8 Duplicate base junit4 classes for junit5
- AbstractStateMachineTests to AbstractStateMachineJUnit4Tests
- StateMachineTestPlanBuilderTests to StateMachineTestPlanBuilderJUnit4Tests
- Add AbstractStateMachineJUnit5Tests and StateMachineTestPlanBuilderJUnit5Tests
- Move away from junit4 assertThat methods
- Fixes #780
- Also completes and Fixes #771
2019-12-24 20:37:11 +00:00
Janne Valkealahti
10ce7a65a4 Move to junit5 in all framework tests
- Just a migration
- Replace RedisRule with EnabledOnRedis
- Replace MongoDbRule with EnabledOnMongoDb
- spring-statemachine-test and some docs contains refs to junit4
  but those are support packages and will stay in place.
- Fixes #779
- Relates #771
2019-12-24 16:52:22 +00:00
Janne Valkealahti
af81e8dd2b Add missing test files for mongo and redis
- There was an oversight for #588 and its pr which only
  added data15.json file for jpa. This commit
  adds those for mongodb and redis.
2019-10-27 10:15:57 +00:00
Janne Valkealahti
5b04d39e41 Reactive test changes for data
- Relates #744
2019-05-10 17:39:13 +01:00
Spring Operator
426fa163b2 URL Cleanup
- Merge/squash #686 and #694
2019-05-03 15:01:31 +01:00
jvalkeal
65c9bfac89 Remove spring-statemachine-redis
- For now classes just moved under
  spring-statemachine-data-redis
- Fixes #514
2018-02-23 12:23:32 +02:00
james
041189bb31 Use the contextObj as is when saving the StateMachineContext
- Polish and fix some merge issues
- Relates #494
2018-02-21 16:13:50 +02:00
Janne Valkealahti
cbc8bf80d2 Documentation changes
- Document changes to JPA Entity model, persistence
  facilities and related new interfaces and services.
- Relates to #429
- Relates to #476
2018-01-23 09:56:44 +00:00
Janne Valkealahti
7b7da20b70 Add redis/mongo for machine persistence
- Add similar implementations as done for JPA
  which uses redis and mongo.
- Relates #428
2018-01-23 09:56:27 +00:00
Janne Valkealahti
0c3ea7fb2d Add initial action to repository config
- Now RepositoryState can have initial action
  if it is an initial state.
- Implement all needed tests.
- Fixes #281
2016-11-23 13:55:52 +00:00
Janne Valkealahti
459d16d31c Update docs
- Add more repository config samples.
- Relates to #270
2016-11-20 14:34:04 +00:00
Janne Valkealahti
b441bf558f Update docs
- Add more repository config docs.
- Relates to #270
2016-11-19 19:05:29 +00:00
Janne Valkealahti
55c6faf225 Fix Redis/Mongo entity states
- Fix RedisRepositoryState and MongoDbStateRepository not to use
  null for machineid in any case as contract is that empty machineid
  is always empty not null.
- This issue was found when adding initial tck config tests, thus
  this commit also adds initial tck tests.
- Fixes #279
- Relates to #278
2016-11-19 17:51:15 +00:00
Janne Valkealahti
fd6fcb6ee2 Add redis repository config support
- Change machine id as empty string instead of null
  if it's not set.
- Implement domain classes for redis.
- Shared tests.
- Fixes #267
2016-11-05 10:04:20 +00:00