diff --git a/distribution/bin/pom.xml b/distribution/bin/pom.xml index ae91da3250..9d33cc341e 100644 --- a/distribution/bin/pom.xml +++ b/distribution/bin/pom.xml @@ -30,7 +30,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${project.version} diff --git a/docs/content/quick-start/_index.cn.md b/docs/content/quick-start/_index.cn.md index d9a6c2e188..6fde4e1571 100644 --- a/docs/content/quick-start/_index.cn.md +++ b/docs/content/quick-start/_index.cn.md @@ -10,7 +10,7 @@ chapter = true ```xml org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${latest.release.version} ``` diff --git a/docs/content/quick-start/_index.en.md b/docs/content/quick-start/_index.en.md index 19d9dbb23d..356124da83 100644 --- a/docs/content/quick-start/_index.en.md +++ b/docs/content/quick-start/_index.en.md @@ -10,7 +10,7 @@ chapter = true ```xml org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${latest.release.version} ``` diff --git a/ecosystem/tracing/api/src/test/resources/logback-test.xml b/ecosystem/tracing/api/src/test/resources/logback-test.xml index bd9617984c..ee3f508d5a 100644 --- a/ecosystem/tracing/api/src/test/resources/logback-test.xml +++ b/ecosystem/tracing/api/src/test/resources/logback-test.xml @@ -17,7 +17,7 @@ --> - + diff --git a/ecosystem/tracing/rdb/src/test/resources/logback-test.xml b/ecosystem/tracing/rdb/src/test/resources/logback-test.xml index 1438462bef..17942473ec 100644 --- a/ecosystem/tracing/rdb/src/test/resources/logback-test.xml +++ b/ecosystem/tracing/rdb/src/test/resources/logback-test.xml @@ -17,7 +17,7 @@ --> - + diff --git a/examples/elasticjob-example-jobs/pom.xml b/examples/elasticjob-example-jobs/pom.xml index 473ff3a193..5d1cedb9c9 100644 --- a/examples/elasticjob-example-jobs/pom.xml +++ b/examples/elasticjob-example-jobs/pom.xml @@ -31,7 +31,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel diff --git a/examples/elasticjob-example-lite-java/pom.xml b/examples/elasticjob-example-lite-java/pom.xml index 24f214bce6..e64fd59d3a 100644 --- a/examples/elasticjob-example-lite-java/pom.xml +++ b/examples/elasticjob-example-lite-java/pom.xml @@ -57,7 +57,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel diff --git a/examples/pom.xml b/examples/pom.xml index 64eb64f03b..3dd7543f30 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -53,7 +53,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${revision} diff --git a/infra/src/test/resources/logback-test.xml b/infra/src/test/resources/logback-test.xml index c79142ad07..0184fdda63 100644 --- a/infra/src/test/resources/logback-test.xml +++ b/infra/src/test/resources/logback-test.xml @@ -17,7 +17,7 @@ --> - + diff --git a/core/pom.xml b/kernel/pom.xml similarity index 98% rename from core/pom.xml rename to kernel/pom.xml index ba731a5505..83a8561039 100644 --- a/core/pom.xml +++ b/kernel/pom.xml @@ -23,7 +23,7 @@ elasticjob 3.1.0-SNAPSHOT - elasticjob-engine-core + elasticjob-kernel ${project.artifactId} diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/JobBootstrap.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/JobBootstrap.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/JobBootstrap.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/JobBootstrap.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrap.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrap.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrap.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrap.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/ScheduleJobBootstrap.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/ScheduleJobBootstrap.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/ScheduleJobBootstrap.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/ScheduleJobBootstrap.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/listener/AbstractDistributeOnceElasticJobListener.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/listener/AbstractDistributeOnceElasticJobListener.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/listener/AbstractDistributeOnceElasticJobListener.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/listener/AbstractDistributeOnceElasticJobListener.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistry.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistry.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistry.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistry.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilder.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilder.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilder.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilder.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/AbstractListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/AbstractListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/AbstractListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/AbstractListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListener.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListener.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListener.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListener.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistry.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistry.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistry.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistry.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleController.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleController.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleController.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleController.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduler.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduler.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduler.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduler.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobShutdownHookPlugin.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobShutdownHookPlugin.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobShutdownHookPlugin.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobShutdownHookPlugin.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListener.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListener.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListener.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListener.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJob.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJob.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJob.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJob.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacade.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacade.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacade.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacade.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacade.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacade.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacade.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacade.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerStatus.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerStatus.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerStatus.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerStatus.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProvider.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProvider.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProvider.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProvider.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProvider.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProvider.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProvider.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProvider.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactory.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactory.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactory.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactory.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacade.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacade.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacade.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacade.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePath.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePath.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePath.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePath.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorage.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorage.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorage.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorage.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManager.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManager.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManager.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManager.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerNode.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerNode.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerNode.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerNode.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerService.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerService.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerService.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerService.java diff --git a/core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtils.java b/kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtils.java similarity index 100% rename from core/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtils.java rename to kernel/src/main/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtils.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrapTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrapTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrapTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/bootstrap/impl/OneOffJobBootstrapTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/DistributeOnceElasticJobListenerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/DistributeOnceElasticJobListenerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/DistributeOnceElasticJobListenerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/DistributeOnceElasticJobListenerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/ElasticJobListenerCaller.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/ElasticJobListenerCaller.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/ElasticJobListenerCaller.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/ElasticJobListenerCaller.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestDistributeOnceElasticJobListener.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestDistributeOnceElasticJobListener.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestDistributeOnceElasticJobListener.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestDistributeOnceElasticJobListener.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestElasticJobListener.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestElasticJobListener.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestElasticJobListener.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/listener/fixture/TestElasticJobListener.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistryTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistryTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistryTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/api/registry/JobInstanceRegistryTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/EmbedTestingServer.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/EmbedTestingServer.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/EmbedTestingServer.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/EmbedTestingServer.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/LiteYamlConstants.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/LiteYamlConstants.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/LiteYamlConstants.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/LiteYamlConstants.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/executor/ClassedFooJobExecutor.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/executor/ClassedFooJobExecutor.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/executor/ClassedFooJobExecutor.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/executor/ClassedFooJobExecutor.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationSimpleJob.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationSimpleJob.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationSimpleJob.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationSimpleJob.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationUnShardingJob.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationUnShardingJob.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationUnShardingJob.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/AnnotationUnShardingJob.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/DetailedFooJob.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/DetailedFooJob.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/DetailedFooJob.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/DetailedFooJob.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/FooJob.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/FooJob.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/FooJob.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/fixture/job/FooJob.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/BaseIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/BaseIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/BaseIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/BaseIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/DisabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/DisabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/DisabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/DisabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/OneOffDisabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/OneOffDisabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/OneOffDisabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/OneOffDisabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/ScheduleDisabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/ScheduleDisabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/ScheduleDisabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/disable/ScheduleDisabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/EnabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/EnabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/EnabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/EnabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/OneOffEnabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/OneOffEnabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/OneOffEnabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/OneOffEnabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/ScheduleEnabledJobIntegrateTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/ScheduleEnabledJobIntegrateTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/ScheduleEnabledJobIntegrateTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/enable/ScheduleEnabledJobIntegrateTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestDistributeOnceElasticJobListener.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestDistributeOnceElasticJobListener.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestDistributeOnceElasticJobListener.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestDistributeOnceElasticJobListener.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestElasticJobListener.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestElasticJobListener.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestElasticJobListener.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/integrate/listener/TestElasticJobListener.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilderTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilderTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilderTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/JobAnnotationBuilderTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/BaseAnnotationTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/BaseAnnotationTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/BaseAnnotationTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/BaseAnnotationTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/OneOffEnabledJobTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/OneOffEnabledJobTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/OneOffEnabledJobTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/OneOffEnabledJobTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/ScheduleEnabledJobTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/ScheduleEnabledJobTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/ScheduleEnabledJobTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/annotation/integrate/ScheduleEnabledJobTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/ConfigurationServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/config/RescheduleListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/ElectionListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/election/LeaderServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/failover/FailoverServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/guarantee/GuaranteeServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/InstanceServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/instance/ShutdownListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/ListenerNotifierManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListenerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListenerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListenerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/listener/RegistryCenterConnectionStateListenerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/reconcile/ReconcileServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistryTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistryTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistryTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobRegistryTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleControllerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleControllerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleControllerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobScheduleControllerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListenerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListenerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListenerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/JobTriggerListenerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacadeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacadeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacadeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/LiteJobFacadeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacadeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacadeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacadeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/schedule/SchedulerFacadeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/server/ServerServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProviderTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProviderTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProviderTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/DefaultJobClassNameProviderTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactoryTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactoryTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactoryTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/JobClassNameProviderFactoryTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacadeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacadeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacadeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/setup/SetUpFacadeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionContextServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ExecutionServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/MonitorExecutionListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNodeTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNodeTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNodeTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingNodeTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/sharding/ShardingServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/BaseSnapshotServiceTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/BaseSnapshotServiceTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/BaseSnapshotServiceTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/BaseSnapshotServiceTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceDisableTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceDisableTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceDisableTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceDisableTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceEnableTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceEnableTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceEnableTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SnapshotServiceEnableTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SocketUtils.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SocketUtils.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SocketUtils.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/snapshot/SocketUtils.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePathTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePathTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePathTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodePathTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorageTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorageTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorageTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/storage/JobNodeStorageTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManagerTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManagerTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManagerTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/trigger/TriggerListenerManagerTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtilsTest.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtilsTest.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtilsTest.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/internal/util/SensitiveInfoUtilsTest.java diff --git a/core/src/test/java/org/apache/shardingsphere/elasticjob/engine/util/ReflectionUtils.java b/kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/util/ReflectionUtils.java similarity index 100% rename from core/src/test/java/org/apache/shardingsphere/elasticjob/engine/util/ReflectionUtils.java rename to kernel/src/test/java/org/apache/shardingsphere/elasticjob/engine/util/ReflectionUtils.java diff --git a/core/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.executor.item.impl.ClassedJobItemExecutor b/kernel/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.executor.item.impl.ClassedJobItemExecutor similarity index 100% rename from core/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.executor.item.impl.ClassedJobItemExecutor rename to kernel/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.executor.item.impl.ClassedJobItemExecutor diff --git a/core/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.infra.listener.ElasticJobListener b/kernel/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.infra.listener.ElasticJobListener similarity index 100% rename from core/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.infra.listener.ElasticJobListener rename to kernel/src/test/resources/META-INF/services/org.apache.shardingsphere.elasticjob.infra.listener.ElasticJobListener diff --git a/core/src/test/resources/logback-test.xml b/kernel/src/test/resources/logback-test.xml similarity index 95% rename from core/src/test/resources/logback-test.xml rename to kernel/src/test/resources/logback-test.xml index d7b1eb9c5b..3910420a37 100644 --- a/core/src/test/resources/logback-test.xml +++ b/kernel/src/test/resources/logback-test.xml @@ -17,7 +17,7 @@ --> - + diff --git a/lifecycle/pom.xml b/lifecycle/pom.xml index 019475e132..31498a04cc 100644 --- a/lifecycle/pom.xml +++ b/lifecycle/pom.xml @@ -29,7 +29,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${project.parent.version} diff --git a/pom.xml b/pom.xml index 2361be421d..b6cbdc27ba 100644 --- a/pom.xml +++ b/pom.xml @@ -34,9 +34,9 @@ api registry-center infra - core - restful + kernel lifecycle + restful ecosystem spring distribution diff --git a/registry-center/provider/zookeeper-curator/src/test/resources/logback-test.xml b/registry-center/provider/zookeeper-curator/src/test/resources/logback-test.xml index 287aa7dde9..28c1cb65cc 100644 --- a/registry-center/provider/zookeeper-curator/src/test/resources/logback-test.xml +++ b/registry-center/provider/zookeeper-curator/src/test/resources/logback-test.xml @@ -17,7 +17,7 @@ --> - + diff --git a/spring/core/pom.xml b/spring/core/pom.xml index cd2d479050..ef4a2cfa2a 100644 --- a/spring/core/pom.xml +++ b/spring/core/pom.xml @@ -29,7 +29,7 @@ org.apache.shardingsphere.elasticjob - elasticjob-engine-core + elasticjob-kernel ${project.parent.version}