Commit Graph

59 Commits

Author SHA1 Message Date
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
1b2a868ab5 Next development version 2023-12-04 13:49:41 +00:00
Janne Valkealahti
7e78d78d05 Next major development version 2023-10-04 14:16:37 +01:00
Janne Valkealahti
815e327ad2 Next minor development version 2022-05-05 14:31:28 +01:00
github-actions[bot]
91edc8be8e Next development version 2022-05-05 13:05:05 +00:00
Janne Valkealahti
937519f9ff Next minor development version 2022-04-06 08:15:48 +01:00
github-actions[bot]
e33b3fc9f1 Next development version 2022-04-06 06:53:58 +00:00
Janne Valkealahti
0e489a8dfb Revert "Next development version"
This reverts commit 0b521914fe.
2021-07-11 17:43:35 +01:00
github-actions[bot]
0b521914fe Next development version 2021-07-11 16:27:25 +00:00
Janne Valkealahti
c145b5665e Next minor development version 2021-03-28 15:59:46 +01:00
Spring Buildmaster
eca226e113 [artifactory-release] Next development version 2021-03-19 07:42:14 +00:00
Janne Valkealahti
39a56aec67 Switch to new snapshot naming 2020-11-28 09:07:22 +00:00
Janne Valkealahti
427cf58e5b Next major development version 2019-05-04 14:00:36 +01:00
Spring Buildmaster
dc72cc4982 Next development version 2019-04-29 11:53:56 +00:00
Spring Buildmaster
f67ec1380b Next development version 2019-03-19 13:30:47 +00:00
Spring Buildmaster
4932395b65 Next development version 2019-02-18 08:48:02 +00:00
Janne Valkealahti
2c9d951f99 Upgrade to Spring Boot 2.1.x
- Simple boot 2.1.x upgrade
- Pump up gradle to 4.4 as required
- Allow one test to override bean as that's what it does
- Fixes #602
2018-11-11 07:48:06 +00:00
Spring Buildmaster
efce68bab0 Next development version 2018-11-10 14:45:21 +00:00
Spring Buildmaster
902a1a7477 Next development version 2018-07-12 15:38:23 +00:00
Spring Buildmaster
db9066fe45 Next development version 2018-04-06 07:05:08 +00:00
Spring Buildmaster
165f6a59f1 Next development version 2018-03-06 17:13:21 +00:00
Janne Valkealahti
573397b86e Revamp dependency management
- Fixes #313
2017-02-10 15:50:07 +00:00
Janne Valkealahti
862979fc87 Upgrade to spring framework 5
- Enable snapshot repos and pump up to
  framework 5.0.0 and boot 2.0.0 snapshots.
- Due to issue in github.com/spring-gradle-plugins/dependency-management-plugin/issues/136
  define newer log4j version for spring-statemachine-zookeeper
- There were some other minor issues preventing to do this earlier
  which are now fixed in framework snapshots.
- Fixes #296
2016-12-28 17:48:03 +00:00
Janne Valkealahti
1d515bd26c Next development version 2.0.0.BUILD-SNAPSHOT 2016-12-15 11:51:05 +00:00
Spring Buildmaster
ea2fa03de9 Next development version 1.2.1.BUILD-SNAPSHOT 2016-12-14 21:47:29 +00:00
Janne Valkealahti
4dbccf84fa Add mongodb repository config support
- Pretty much following what was done
  for jpa and redis.
- Fixes #275
2016-11-13 08:23:25 +00:00
Janne Valkealahti
895b30a1c4 Add tests for monitoring sample
- Relates to #149
2016-10-19 08:11:50 +01:00
Janne Valkealahti
c7951c5001 Use references in RepositoryTransition
- Refactor so that we can create RepositoryState in one place
  and then reference to it from JpaRepositoryTransition impls.
- New common top class BaseRepositoryEntity for entities
- Change RepositoryState and RepositoryTransition to be abstract
  classes instead of interfaces.
- New custom StateMachineJackson2RepositoryPopulatorFactoryBean and
  StateMachineJackson2ResourceReader handling json refs.
- Relates to #262
2016-10-09 10:21:22 +01:00
Janne Valkealahti
07b3b8ddf7 Updage to tomcat 8.5.5
- Old version caused failures when running
  in sts due to mixed deps.
- Fixes #256
2016-09-30 09:22:23 +01:00
Janne Valkealahti
3cc626c947 Upgrade to Boot 1.4.1
- Align related spring train deps
- Modify some other deps to get correct versions
- Some testing changes as boot 1.4.1 shuffled some
  test stuff around.
- Fixed deprecations with newer boot and framework
- Fixes #256
2016-09-30 07:55:12 +01:00
Janne Valkealahti
842442520c Align Spring Data version
- Before we get a proper central support
  for version, align data version with boot.
- Relates to #256
2016-09-25 10:07:40 +01:00
Janne Valkealahti
0d329d9e57 Add initial infra for config repository
- Initial infra for config abstraction with
  Spring Data Repositories via RepositoryStateMachineModelFactory.
- Initial jpa impl.
- Initial jpa sample atop of H2 DB.
- Relates to #250
2016-09-23 17:26:39 +01:00
Janne Valkealahti
7b39ce0912 Next major development version 1.2.0.BUILD-SNAPSHOT
- Branch 1.1.x is now for maintenance and master is
  for new development.
2016-08-01 06:25:28 +01:00
Janne Valkealahti
c4e106001e Next development version. 2016-05-23 18:11:06 +01:00
Janne Valkealahti
e0b0f86d41 Update cloud cluster version 2016-05-23 15:44:24 +01:00
Janne Valkealahti
dd1f05b7d0 Restore gradle.properties 2016-05-23 15:32:41 +01:00
Spring Buildmaster
fc98be0ad8 Next development version. 2016-05-23 14:11:00 +00:00
Janne Valkealahti
51145f1368 Add base support for eclipse papyrus modeling
- First stage to add support for UI modeling via
  eclipse uml2 and papyrus frameworks.
- Add new interface StateMachineModelFactory which is
  a central point of building machines models outside
  of a normal annotation/build classes. What this mean is
  a hook to config model so that machine can be defined
  via a model factory, instead of writing config based on
  normal adapter callbacks.
- Integrate model config into an annotation model so that
  you can still use normal adapters but point those to
  model factory classes, which then allows external hooks
  for machine configuration.
- New spring-statemachine-uml package which supports
  eclipse uml2/emf frameworks to define a machine config.
- Relates to #193
2016-04-09 16:04:16 +01:00
Janne Valkealahti
6cce27e30b Add distibuted action
- New module spring-statemachine-cluster which is
  based on spring-cloud-cluster to provide leader
  election.
- Ensemble now has a concept of a leader if implementation
  supports it.
- New DistributedLeaderAction can use leader info to execute
  action only on a leader.
- Tweak web sample with these new concepts.
- Fixes #176
2016-03-28 10:44:48 +01:00
Janne Valkealahti
5ec61f35d9 Polish 2016-03-20 09:46:08 +00:00
Janne Valkealahti
71fb0ce869 Version upgrades
- Framework to 4.2.4
- For tests, boot to 1.3.1 and embedded tomcat to 8.0.30
- Polish and re-organise gradle files
- Can now run sample boot apps in sts due to mix of
  previously sts getting older tomcat version.
2015-12-25 17:59:00 +00:00
Janne Valkealahti
c4629e1dcd Upgrade to kryo 3
- Fixes #139
2015-12-20 15:53:29 +00:00
Janne Valkealahti
3e322e4d00 Add redis persisting support
- Add new StateMachineContextRepository interface.
- Add new redis module having persisting support
  for StateMachineContext.
- Extract kryo serializers into a new kryo module which
  is then shared with zookeeper and redis modules.
- We'll add redis related tests later when we figure out
  a correct pattern for integration tests.
- Fixes #110
2015-12-20 15:44:15 +00:00
Janne Valkealahti
d0aaa4bfee Add base security support
- Add base of support using spring security to
  protect events, transitions and actions.
- Fixes #114
2015-12-20 14:33:54 +00:00
Janne Valkealahti
2569900dfb Switch master to 1.1.0.BUILD-SNAPSHOT
- 1.0.x serie is now maintained in its own branch.
2015-11-28 12:17:32 +00:00
Janne Valkealahti
ed25006075 Add support for session scope
- Add tweaks to DisposableBean.destroy() which integrates
  into a lifecycle and properly closes a machine if only
  destroy() is called which is a case when `session` scoped
  bean is destroyed when http session is invalidated.
- Tests in SessionScopedAnnotationTests and
  SessionScopedManualTests for both builder and
  annotation config.
- Fixes #112
2015-11-28 09:13:10 +00:00
Spring Buildmaster
baed808847 Next development version 1.0.2.BUILD-SNAPSHOT 2015-11-18 06:58:30 -08:00
Janne Valkealahti
9304ddf285 Update to framework 4.2.2
- Fixes #115
2015-10-18 17:21:29 +01:00
Spring Buildmaster
cabee70593 Next development version 1.0.1.BUILD-SNAPSHOT. 2015-10-11 08:15:38 -07:00
Janne Valkealahti
af6f11a1b6 Align versions in samples 2015-09-08 15:26:31 +01:00