From c54dfb47bf1d18b8baa2f1532d8ad4a92242b044 Mon Sep 17 00:00:00 2001 From: Paul Sterl Date: Sat, 28 Dec 2024 12:23:23 +0100 Subject: [PATCH] rename folders --- .gitignore | 2 + {spring-persistent-tasks => core}/pom.xml | 0 .../EnableSpringPersistentTasks.java | 0 .../SpringPersistentTasksConfig.java | 0 .../api/AddTriggerRequest.java | 0 .../persistent_tasks/api/HistoryOverview.java | 0 .../persistent_tasks/api/RetryStrategy.java | 0 .../persistent_tasks/api/SpringBeanTask.java | 0 .../spring/persistent_tasks/api/Task.java | 0 .../spring/persistent_tasks/api/TaskId.java | 0 .../spring/persistent_tasks/api/Trigger.java | 0 .../persistent_tasks/api/TriggerKey.java | 0 .../api/event/TriggerTaskCommand.java | 0 .../history/HistoryService.java | 0 .../history/HistoryTimer.java | 0 .../history/api/HistoryConverter.java | 0 .../history/api/TriggerHistoryResource.java | 0 .../component/TriggerHistoryComponent.java | 0 .../model/TriggerHistoryDetailEntity.java | 0 .../model/TriggerHistoryLastStateEntity.java | 0 .../repository/HistoryTriggerRepository.java | 0 .../TriggerHistoryDetailRepository.java | 0 .../TriggerHistoryLastStateRepository.java | 0 .../scheduler/SchedulerService.java | 0 .../scheduler/SchedulerTimer.java | 0 .../scheduler/api/SchedulerResource.java | 0 .../EditSchedulerStatusComponent.java | 0 .../component/TaskExecutorComponent.java | 0 ...ConditionalSchedulerServiceByProperty.java | 0 .../scheduler/config/SchedulerConfig.java | 0 .../scheduler/entity/SchedulerEntity.java | 0 .../repository/TaskSchedulerRepository.java | 0 .../shared/ExtendetConvert.java | 0 .../shared/converter/ToTrigger.java | 0 .../shared/model/HasTriggerData.java | 0 .../shared/model/TriggerData.java | 0 .../shared/model/TriggerStatus.java | 0 .../repository/TriggerDataRepository.java | 0 .../stereotype/TransactionalCompontant.java | 0 .../stereotype/TransactionalService.java | 0 .../persistent_tasks/task/TaskService.java | 0 .../task/api/TaskResource.java | 0 .../task/config/TaskConfig.java | 0 .../task/model/RegisteredTask.java | 0 .../task/repository/TaskRepository.java | 0 .../trigger/TriggerService.java | 0 .../trigger/api/TriggerConverter.java | 0 .../trigger/api/TriggerResource.java | 0 .../component/EditTriggerComponent.java | 0 .../component/LockNextTriggerComponent.java | 0 .../component/ReadTriggerComponent.java | 0 .../component/RunTriggerComponent.java | 0 .../trigger/component/StateSerializer.java | 0 .../trigger/event/TriggerCanceledEvent.java | 0 .../trigger/event/TriggerCompleteEvent.java | 0 .../trigger/event/TriggerFailedEvent.java | 0 .../trigger/event/TriggerLifeCycleEvent.java | 0 .../trigger/event/TriggerRunningEvent.java | 0 .../trigger/model/TriggerEntity.java | 0 .../trigger/repository/TriggerRepository.java | 0 ...itional-spring-configuration-metadata.json | 0 .../persistent_tasks/AbstractSpringTest.java | 0 .../TaskSchedulerServiceTest.java | 0 .../history/HistoryServiceTest.java | 0 ...TriggerHistoryLastStateRepositoryTest.java | 0 .../scheduler/SchedulerServiceTest.java | 0 .../SchedulerServiceTransactionTest.java | 0 .../scheduler/TaskFailoverTest.java | 0 .../task/TaskServiceTest.java | 0 .../trigger/TriggerServiceTest.java | 0 .../sterl/spring/sample_app/SampleApp.java | 0 .../EditSchedulerStatusComponentTest.java | 0 .../spring/sample_app/person/PersonBE.java | 0 .../sample_app/person/PersonRepository.java | 0 .../java/org/sterl/test/AsyncAsserts.java | 0 .../src/test/resources/application-mssql.yml | 0 .../src/test/resources/application.yml | 0 .../db/changelog/db.changelog-master.xml | 0 {spring-persistent-tasks-db => db}/pom.xml | 0 .../db.changelog-master.xml | 0 .../db/pt-changelog-v1.xml | 0 .../db/ApplyLiquibaseTest.java | 0 pom.xml | 6 +- spring-persistent-tasks-db/foo.sql | 5 - .../outputChangeLogFile.xml | 375 ------------------ {spring-persistent-tasks-ui => ui}/.gitignore | 0 {spring-persistent-tasks-ui => ui}/README.md | 0 .../eslint.config.js | 0 {spring-persistent-tasks-ui => ui}/index.html | 0 .../package-lock.json | 0 .../package.json | 0 {spring-persistent-tasks-ui => ui}/pom.xml | 0 .../src/App.tsx | 0 .../src/history/history.page.tsx | 0 .../src/index.css | 0 .../src/main.tsx | 0 .../EnableSpringPersistentTasksUI.java | 0 .../SpringPersistentTasksUIConfig.java | 0 .../src/scheduler/scheduler.page.tsx | 0 .../src/scheduler/views/scheduler.view.tsx | 0 .../src/server-api.d.ts | 0 .../src/shared/http-error.view.tsx | 0 .../src/shared/http-request.ts | 0 .../src/shared/labled-text.tsx | 0 .../src/shared/page.view.tsx | 0 .../src/shared/reload-button.tsx | 0 .../src/task/view/task-select.view.tsx | 0 .../src/trigger/triggers.page.tsx | 0 .../trigger/views/trigger-list-item.view.tsx | 0 .../src/trigger/views/trigger-staus.view.tsx | 0 .../src/vite-env.d.ts | 0 .../tsconfig.app.json | 0 .../tsconfig.json | 0 .../tsconfig.node.json | 0 .../vite.config.ts | 0 115 files changed, 5 insertions(+), 383 deletions(-) rename {spring-persistent-tasks => core}/pom.xml (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java (100%) rename {spring-persistent-tasks => core}/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java (100%) rename {spring-persistent-tasks => core}/src/main/resources/META-INF/additional-spring-configuration-metadata.json (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/sample_app/SampleApp.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java (100%) rename {spring-persistent-tasks => core}/src/test/java/org/sterl/test/AsyncAsserts.java (100%) rename {spring-persistent-tasks => core}/src/test/resources/application-mssql.yml (100%) rename {spring-persistent-tasks => core}/src/test/resources/application.yml (100%) rename {spring-persistent-tasks => core}/src/test/resources/db/changelog/db.changelog-master.xml (100%) rename {spring-persistent-tasks-db => db}/pom.xml (100%) rename {spring-persistent-tasks-db => db}/src/main/resources/spring-persistent-tasks/db.changelog-master.xml (100%) rename {spring-persistent-tasks-db => db}/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml (100%) rename {spring-persistent-tasks-db => db}/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java (100%) delete mode 100644 spring-persistent-tasks-db/foo.sql delete mode 100644 spring-persistent-tasks-db/outputChangeLogFile.xml rename {spring-persistent-tasks-ui => ui}/.gitignore (100%) rename {spring-persistent-tasks-ui => ui}/README.md (100%) rename {spring-persistent-tasks-ui => ui}/eslint.config.js (100%) rename {spring-persistent-tasks-ui => ui}/index.html (100%) rename {spring-persistent-tasks-ui => ui}/package-lock.json (100%) rename {spring-persistent-tasks-ui => ui}/package.json (100%) rename {spring-persistent-tasks-ui => ui}/pom.xml (100%) rename {spring-persistent-tasks-ui => ui}/src/App.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/history/history.page.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/index.css (100%) rename {spring-persistent-tasks-ui => ui}/src/main.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java (100%) rename {spring-persistent-tasks-ui => ui}/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java (100%) rename {spring-persistent-tasks-ui => ui}/src/scheduler/scheduler.page.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/scheduler/views/scheduler.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/server-api.d.ts (100%) rename {spring-persistent-tasks-ui => ui}/src/shared/http-error.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/shared/http-request.ts (100%) rename {spring-persistent-tasks-ui => ui}/src/shared/labled-text.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/shared/page.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/shared/reload-button.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/task/view/task-select.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/trigger/triggers.page.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/trigger/views/trigger-list-item.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/trigger/views/trigger-staus.view.tsx (100%) rename {spring-persistent-tasks-ui => ui}/src/vite-env.d.ts (100%) rename {spring-persistent-tasks-ui => ui}/tsconfig.app.json (100%) rename {spring-persistent-tasks-ui => ui}/tsconfig.json (100%) rename {spring-persistent-tasks-ui => ui}/tsconfig.node.json (100%) rename {spring-persistent-tasks-ui => ui}/vite.config.ts (100%) diff --git a/.gitignore b/.gitignore index 93230aae..45b414c7 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ build/ ### VS Code ### .vscode/ example/src/test/java/org/sterl/spring/persistent_tasks/example/FooTest.java +db/outputChangeLogFile.xml +db/foo.sql diff --git a/spring-persistent-tasks/pom.xml b/core/pom.xml similarity index 100% rename from spring-persistent-tasks/pom.xml rename to core/pom.xml diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java b/core/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/EnableSpringPersistentTasks.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/SpringPersistentTasksConfig.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/AddTriggerRequest.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/HistoryOverview.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/RetryStrategy.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/SpringBeanTask.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/Task.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/TaskId.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/Trigger.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/TriggerKey.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java b/core/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/api/event/TriggerTaskCommand.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryService.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/HistoryTimer.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/api/HistoryConverter.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/api/TriggerHistoryResource.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/component/TriggerHistoryComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryDetailEntity.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/model/TriggerHistoryLastStateEntity.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/HistoryTriggerRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryDetailRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerService.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerTimer.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/api/SchedulerResource.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/EditSchedulerStatusComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/component/TaskExecutorComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/ConditionalSchedulerServiceByProperty.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/config/SchedulerConfig.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/entity/SchedulerEntity.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/scheduler/repository/TaskSchedulerRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/ExtendetConvert.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/converter/ToTrigger.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/HasTriggerData.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerData.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/model/TriggerStatus.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/repository/TriggerDataRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalCompontant.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/shared/stereotype/TransactionalService.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/TaskService.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/api/TaskResource.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/config/TaskConfig.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/model/RegisteredTask.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/task/repository/TaskRepository.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/TriggerService.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerConverter.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/api/TriggerResource.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/EditTriggerComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/LockNextTriggerComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/ReadTriggerComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/RunTriggerComponent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/component/StateSerializer.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCanceledEvent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerCompleteEvent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerFailedEvent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerLifeCycleEvent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/event/TriggerRunningEvent.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/model/TriggerEntity.java diff --git a/spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java b/core/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java similarity index 100% rename from spring-persistent-tasks/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java rename to core/src/main/java/org/sterl/spring/persistent_tasks/trigger/repository/TriggerRepository.java diff --git a/spring-persistent-tasks/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json similarity index 100% rename from spring-persistent-tasks/src/main/resources/META-INF/additional-spring-configuration-metadata.json rename to core/src/main/resources/META-INF/additional-spring-configuration-metadata.json diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/AbstractSpringTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/TaskSchedulerServiceTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/history/HistoryServiceTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/history/repository/TriggerHistoryLastStateRepositoryTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/SchedulerServiceTransactionTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/scheduler/TaskFailoverTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/task/TaskServiceTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java b/core/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java rename to core/src/test/java/org/sterl/spring/persistent_tasks/trigger/TriggerServiceTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/SampleApp.java b/core/src/test/java/org/sterl/spring/sample_app/SampleApp.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/SampleApp.java rename to core/src/test/java/org/sterl/spring/sample_app/SampleApp.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java b/core/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java rename to core/src/test/java/org/sterl/spring/sample_app/component/EditSchedulerStatusComponentTest.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java b/core/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java rename to core/src/test/java/org/sterl/spring/sample_app/person/PersonBE.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java b/core/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java rename to core/src/test/java/org/sterl/spring/sample_app/person/PersonRepository.java diff --git a/spring-persistent-tasks/src/test/java/org/sterl/test/AsyncAsserts.java b/core/src/test/java/org/sterl/test/AsyncAsserts.java similarity index 100% rename from spring-persistent-tasks/src/test/java/org/sterl/test/AsyncAsserts.java rename to core/src/test/java/org/sterl/test/AsyncAsserts.java diff --git a/spring-persistent-tasks/src/test/resources/application-mssql.yml b/core/src/test/resources/application-mssql.yml similarity index 100% rename from spring-persistent-tasks/src/test/resources/application-mssql.yml rename to core/src/test/resources/application-mssql.yml diff --git a/spring-persistent-tasks/src/test/resources/application.yml b/core/src/test/resources/application.yml similarity index 100% rename from spring-persistent-tasks/src/test/resources/application.yml rename to core/src/test/resources/application.yml diff --git a/spring-persistent-tasks/src/test/resources/db/changelog/db.changelog-master.xml b/core/src/test/resources/db/changelog/db.changelog-master.xml similarity index 100% rename from spring-persistent-tasks/src/test/resources/db/changelog/db.changelog-master.xml rename to core/src/test/resources/db/changelog/db.changelog-master.xml diff --git a/spring-persistent-tasks-db/pom.xml b/db/pom.xml similarity index 100% rename from spring-persistent-tasks-db/pom.xml rename to db/pom.xml diff --git a/spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml b/db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml similarity index 100% rename from spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml rename to db/src/main/resources/spring-persistent-tasks/db.changelog-master.xml diff --git a/spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml b/db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml similarity index 100% rename from spring-persistent-tasks-db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml rename to db/src/main/resources/spring-persistent-tasks/db/pt-changelog-v1.xml diff --git a/spring-persistent-tasks-db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java b/db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java similarity index 100% rename from spring-persistent-tasks-db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java rename to db/src/test/java/org/sterl/spring/persistent_tasks/db/ApplyLiquibaseTest.java diff --git a/pom.xml b/pom.xml index 6871a910..eac24c1c 100644 --- a/pom.xml +++ b/pom.xml @@ -62,9 +62,9 @@ example - spring-persistent-tasks-db - spring-persistent-tasks-ui - spring-persistent-tasks + db + ui + core diff --git a/spring-persistent-tasks-db/foo.sql b/spring-persistent-tasks-db/foo.sql deleted file mode 100644 index 25ce689e..00000000 --- a/spring-persistent-tasks-db/foo.sql +++ /dev/null @@ -1,5 +0,0 @@ -use master; -drop SEQUENCE if EXISTS dbo.seq_PT_triggers_history_entries; -drop SEQUENCE if EXISTS dbo.vehicle_seq; -drop SEQUENCE if EXISTS dbo.engine_seq; -drop SEQUENCE if EXISTS dbo.seq_PT_task_triggers; \ No newline at end of file diff --git a/spring-persistent-tasks-db/outputChangeLogFile.xml b/spring-persistent-tasks-db/outputChangeLogFile.xml deleted file mode 100644 index e7899573..00000000 --- a/spring-persistent-tasks-db/outputChangeLogFile.xml +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - select name collate database_default as name, - number, - type collate database_default as type, - low, high, status -from sys.spt_values - - \ No newline at end of file diff --git a/spring-persistent-tasks-ui/.gitignore b/ui/.gitignore similarity index 100% rename from spring-persistent-tasks-ui/.gitignore rename to ui/.gitignore diff --git a/spring-persistent-tasks-ui/README.md b/ui/README.md similarity index 100% rename from spring-persistent-tasks-ui/README.md rename to ui/README.md diff --git a/spring-persistent-tasks-ui/eslint.config.js b/ui/eslint.config.js similarity index 100% rename from spring-persistent-tasks-ui/eslint.config.js rename to ui/eslint.config.js diff --git a/spring-persistent-tasks-ui/index.html b/ui/index.html similarity index 100% rename from spring-persistent-tasks-ui/index.html rename to ui/index.html diff --git a/spring-persistent-tasks-ui/package-lock.json b/ui/package-lock.json similarity index 100% rename from spring-persistent-tasks-ui/package-lock.json rename to ui/package-lock.json diff --git a/spring-persistent-tasks-ui/package.json b/ui/package.json similarity index 100% rename from spring-persistent-tasks-ui/package.json rename to ui/package.json diff --git a/spring-persistent-tasks-ui/pom.xml b/ui/pom.xml similarity index 100% rename from spring-persistent-tasks-ui/pom.xml rename to ui/pom.xml diff --git a/spring-persistent-tasks-ui/src/App.tsx b/ui/src/App.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/App.tsx rename to ui/src/App.tsx diff --git a/spring-persistent-tasks-ui/src/history/history.page.tsx b/ui/src/history/history.page.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/history/history.page.tsx rename to ui/src/history/history.page.tsx diff --git a/spring-persistent-tasks-ui/src/index.css b/ui/src/index.css similarity index 100% rename from spring-persistent-tasks-ui/src/index.css rename to ui/src/index.css diff --git a/spring-persistent-tasks-ui/src/main.tsx b/ui/src/main.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/main.tsx rename to ui/src/main.tsx diff --git a/spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java b/ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java similarity index 100% rename from spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java rename to ui/src/main/java/org/sterl/spring/persistent_tasks_ui/EnableSpringPersistentTasksUI.java diff --git a/spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java b/ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java similarity index 100% rename from spring-persistent-tasks-ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java rename to ui/src/main/java/org/sterl/spring/persistent_tasks_ui/SpringPersistentTasksUIConfig.java diff --git a/spring-persistent-tasks-ui/src/scheduler/scheduler.page.tsx b/ui/src/scheduler/scheduler.page.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/scheduler/scheduler.page.tsx rename to ui/src/scheduler/scheduler.page.tsx diff --git a/spring-persistent-tasks-ui/src/scheduler/views/scheduler.view.tsx b/ui/src/scheduler/views/scheduler.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/scheduler/views/scheduler.view.tsx rename to ui/src/scheduler/views/scheduler.view.tsx diff --git a/spring-persistent-tasks-ui/src/server-api.d.ts b/ui/src/server-api.d.ts similarity index 100% rename from spring-persistent-tasks-ui/src/server-api.d.ts rename to ui/src/server-api.d.ts diff --git a/spring-persistent-tasks-ui/src/shared/http-error.view.tsx b/ui/src/shared/http-error.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/shared/http-error.view.tsx rename to ui/src/shared/http-error.view.tsx diff --git a/spring-persistent-tasks-ui/src/shared/http-request.ts b/ui/src/shared/http-request.ts similarity index 100% rename from spring-persistent-tasks-ui/src/shared/http-request.ts rename to ui/src/shared/http-request.ts diff --git a/spring-persistent-tasks-ui/src/shared/labled-text.tsx b/ui/src/shared/labled-text.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/shared/labled-text.tsx rename to ui/src/shared/labled-text.tsx diff --git a/spring-persistent-tasks-ui/src/shared/page.view.tsx b/ui/src/shared/page.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/shared/page.view.tsx rename to ui/src/shared/page.view.tsx diff --git a/spring-persistent-tasks-ui/src/shared/reload-button.tsx b/ui/src/shared/reload-button.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/shared/reload-button.tsx rename to ui/src/shared/reload-button.tsx diff --git a/spring-persistent-tasks-ui/src/task/view/task-select.view.tsx b/ui/src/task/view/task-select.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/task/view/task-select.view.tsx rename to ui/src/task/view/task-select.view.tsx diff --git a/spring-persistent-tasks-ui/src/trigger/triggers.page.tsx b/ui/src/trigger/triggers.page.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/trigger/triggers.page.tsx rename to ui/src/trigger/triggers.page.tsx diff --git a/spring-persistent-tasks-ui/src/trigger/views/trigger-list-item.view.tsx b/ui/src/trigger/views/trigger-list-item.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/trigger/views/trigger-list-item.view.tsx rename to ui/src/trigger/views/trigger-list-item.view.tsx diff --git a/spring-persistent-tasks-ui/src/trigger/views/trigger-staus.view.tsx b/ui/src/trigger/views/trigger-staus.view.tsx similarity index 100% rename from spring-persistent-tasks-ui/src/trigger/views/trigger-staus.view.tsx rename to ui/src/trigger/views/trigger-staus.view.tsx diff --git a/spring-persistent-tasks-ui/src/vite-env.d.ts b/ui/src/vite-env.d.ts similarity index 100% rename from spring-persistent-tasks-ui/src/vite-env.d.ts rename to ui/src/vite-env.d.ts diff --git a/spring-persistent-tasks-ui/tsconfig.app.json b/ui/tsconfig.app.json similarity index 100% rename from spring-persistent-tasks-ui/tsconfig.app.json rename to ui/tsconfig.app.json diff --git a/spring-persistent-tasks-ui/tsconfig.json b/ui/tsconfig.json similarity index 100% rename from spring-persistent-tasks-ui/tsconfig.json rename to ui/tsconfig.json diff --git a/spring-persistent-tasks-ui/tsconfig.node.json b/ui/tsconfig.node.json similarity index 100% rename from spring-persistent-tasks-ui/tsconfig.node.json rename to ui/tsconfig.node.json diff --git a/spring-persistent-tasks-ui/vite.config.ts b/ui/vite.config.ts similarity index 100% rename from spring-persistent-tasks-ui/vite.config.ts rename to ui/vite.config.ts