{"id":18378383,"url":"https://github.com/choonchernlim/test-spring-statemachine","last_synced_at":"2026-03-05T19:31:47.056Z","repository":{"id":147258303,"uuid":"110733722","full_name":"choonchernlim/test-spring-statemachine","owner":"choonchernlim","description":"Examples on configuring Spring State Machine and how to test the state machine.","archived":false,"fork":false,"pushed_at":"2018-02-28T20:42:17.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-06T22:38:16.327Z","etag":null,"topics":["spring","spring-state-machine"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/choonchernlim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-14T19:15:27.000Z","updated_at":"2020-06-27T00:44:30.000Z","dependencies_parsed_at":"2024-04-17T15:03:41.632Z","dependency_job_id":null,"html_url":"https://github.com/choonchernlim/test-spring-statemachine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/choonchernlim/test-spring-statemachine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Ftest-spring-statemachine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Ftest-spring-statemachine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Ftest-spring-statemachine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Ftest-spring-statemachine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/choonchernlim","download_url":"https://codeload.github.com/choonchernlim/test-spring-statemachine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/choonchernlim%2Ftest-spring-statemachine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30146360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["spring","spring-state-machine"],"created_at":"2024-11-06T00:33:27.163Z","updated_at":"2026-03-05T19:31:45.047Z","avatar_url":"https://github.com/choonchernlim.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test-spring-statemachine\n\nExamples on configuring Spring State Machine and how to test the state machine.\n\n## Default State Machine Factory\n\nIn this example, `MailingStateMachineConfig` where all states and events are configured in that configuration file.\n\n* How to Run:\n    * `mvn clean compile spring-boot:run`.\n\n* Pros:\n    * For simple state machine, it's simple to configure.\n    \n* Cons:\n    * For complex state machine, the states/events/actions configuration can get very tedious.\n    * Difficult to get \"full picture\" of the state machine containing many states and pseudo-states.\n\n## UML-Based State Machine Factory\n\nIn this example, `MailingUmlStateMachineConfig` is used where all states and events are configured in the UML file \nusing Eclipse Papyrus.\n\n* How to Run:\n    * `mvn clean compile spring-boot:run -Drun.profiles=uml` \n\n* Pros:\n    * The UML file becomes a living documentation of the state machine.\n    * Easy to understand the entire state machine through UML visualization.\n    \n* Cons:\n    * Learning curve to create the UML file using Eclipse Papyrus.\n    * States and events must be type `String` instead of `Enum`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Ftest-spring-statemachine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchoonchernlim%2Ftest-spring-statemachine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchoonchernlim%2Ftest-spring-statemachine/lists"}