refactor: 优化项目模块命名(简化、分类、统一)

This commit is contained in:
2024-10-30 23:01:54 +08:00
parent 9ecdeb52f6
commit c276e53a8e
346 changed files with 160 additions and 162 deletions

View File

@@ -35,7 +35,7 @@ jobs:
port: ${{ secrets.SERVER_PORT }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
source: ./continew-admin-webapi/target/app/*
source: ./continew-webapi/target/app/*
target: /docker/continew-admin
strip_components: 3
# 5、启动

View File

@@ -279,7 +279,7 @@ git clone https://github.com/continew-org/continew-admin.git
```
continew-admin
├─ continew-admin-webapiAPI 及打包部署模块)
├─ continew-webapiAPI 及打包部署模块)
│ ├─ src
│ │ ├─ main
│ │ │ ├─ java/top/continew/admin
@@ -305,7 +305,7 @@ continew-admin
│ │ │ └─ logback-spring.xml日志配置文件
│ │ └─ test测试相关代码目录
│ └─ pom.xml包含打包相关配置
├─ continew-admin-system系统管理模块存放系统管理相关业务功能例如部门管理、角色管理、用户管理等
├─ continew-module-system系统管理模块存放系统管理相关业务功能例如部门管理、角色管理、用户管理等
│ ├─ src
│ │ ├─ main
│ │ │ ├─ java/top/continew/admin
@@ -329,10 +329,10 @@ continew-admin
│ │ │ └─ mapper系统管理相关 Mapper XML 文件目录)
│ │ └─ test测试相关代码目录
│ └─ pom.xml
├─ continew-admin-plugins(插件模块,存放代码生成、任务调度等扩展模块,后续会进行插件化改造)
│ ├─ continew-admin-job(任务调度插件模块)
├─ continew-plugin插件模块存放代码生成、任务调度等扩展模块后续会进行插件化改造
│ ├─ continew-plugin-schedule(任务调度插件模块)
│ │ ├─ src
│ │ │ ├─ main/java/top/continew/admin/job
│ │ │ ├─ main/java/top/continew/admin/schedule
│ │ │ │ ├─ api任务调度中心相关 API
│ │ │ │ ├─ config任务调度相关配置
│ │ │ │ ├─ constant任务调度相关常量
@@ -344,7 +344,7 @@ continew-admin
│ │ │ │ └─ service代码生成器相关业务接口及实现类
│ │ │ └─ test测试相关代码目录
│ │ └─ pom.xml
│ ├─ continew-admin-generator代码生成器插件模块
│ ├─ continew-plugin-generator代码生成器插件模块
│ │ ├─ src
│ │ │ ├─ main
│ │ │ │ ├─ java/top/continew/admin/generator
@@ -364,7 +364,7 @@ continew-admin
│ │ │ └─ test测试相关代码目录
│ │ └─ pom.xml
│ └─ pom.xml
├─ continew-admin-common公共模块存放公共工具类公共配置等
├─ continew-common公共模块存放公共工具类公共配置等
│ ├─ src
│ │ ├─ main/java/top/continew/admin/common
│ │ │ ├─ config公共配置
@@ -377,12 +377,12 @@ continew-admin
│ │ │ └─ util公共工具类
│ │ └─ test测试相关代码目录
│ └─ pom.xml
├─ continew-admin-extension扩展模块
│ ├─ continew-admin-job-server任务调度服务模块实际开发时如果是公司统一提供环境可直接删除本模块
├─ continew-extension扩展模块
│ ├─ continew-extension-schedule-server任务调度服务模块,实际开发时如果是公司统一提供环境,可直接删除本模块)
│ │ ├─ src
│ │ │ ├─ main
│ │ │ │ ├─ java/top/continew/admin/extension/job
│ │ │ │ │ └─ JobServerApplication.java任务调度服务启动程序
│ │ │ │ ├─ java/top/continew/admin/extension/schedule
│ │ │ │ │ └─ ScheduleServerApplication.java任务调度服务启动程序)
│ │ │ │ └─ resources
│ │ │ │ ├─ config核心配置目录
│ │ │ │ │ ├─ application-dev.yml开发环境配置文件

View File

@@ -9,7 +9,7 @@
<version>${revision}</version>
</parent>
<artifactId>continew-admin-common</artifactId>
<artifactId>continew-common</artifactId>
<description>公共模块(存放公共工具类,公共配置等)</description>
<dependencies>

View File

@@ -5,12 +5,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>top.continew</groupId>
<artifactId>continew-admin-extension</artifactId>
<artifactId>continew-extension</artifactId>
<version>${revision}</version>
</parent>
<artifactId>continew-admin-job-server</artifactId>
<description>任务调度服务模块</description>
<artifactId>continew-extension-schedule-server</artifactId>
<description>任务调度服务</description>
<properties>
<!-- SnailJob 服务端 -->

View File

@@ -14,19 +14,19 @@
* limitations under the License.
*/
package top.continew.admin.extension.job;
package top.continew.admin.extension.scheduling;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 任务调度服务启动程序
* 任务调度服务启动程序
*
* @author KAI
* @since 2024/6/25 22:24
*/
@SpringBootApplication
public class JobServerApplication {
public class ScheduleServerApplication {
public static void main(String[] args) {
SpringApplication.run(com.aizuda.snailjob.server.SnailJobServerApplication.class, args);

View File

@@ -7,12 +7,11 @@
<version>${revision}</version>
</parent>
<artifactId>continew-admin-extension</artifactId>
<artifactId>continew-extension</artifactId>
<packaging>pom</packaging>
<description>扩展模块(存放其他扩展模块)</description>
<modules>
<module>continew-admin-job-server</module>
<module>continew-extension-schedule-server</module>
</modules>
</project>

View File

@@ -9,14 +9,14 @@
<version>${revision}</version>
</parent>
<artifactId>continew-admin-system</artifactId>
<artifactId>continew-module-system</artifactId>
<description>系统管理模块(存放系统管理相关业务功能,例如:部门管理、角色管理、用户管理等)</description>
<dependencies>
<!-- 公共模块(存放公共工具类,公共配置等) -->
<dependency>
<groupId>top.continew</groupId>
<artifactId>continew-admin-common</artifactId>
<artifactId>continew-common</artifactId>
</dependency>
</dependencies>
</project>

Some files were not shown because too many files have changed in this diff Show More