init
This commit is contained in:
26
template/entrance/README.md
Normal file
26
template/entrance/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
本模块为 ```访问入口层```
|
||||
|
||||
```
|
||||
\-- web(web访问; sub-module)
|
||||
\-- *.controller(package)
|
||||
\-- *.converter(package)
|
||||
\-- *.vo(显示层对象; package)
|
||||
\-- *.utils(工具类; package)
|
||||
\-- job(任务; sub-module)
|
||||
\-- *.job(job定义,以Job为后缀; package)
|
||||
\-- *.dto(数据结构; package)
|
||||
\-- *.converter(package)
|
||||
\-- *.utils(工具类; package)
|
||||
\-- mq(消息消费处理; sub-module)
|
||||
\-- *.consumer(package)
|
||||
\-- *.dto(数据结构; package)
|
||||
\-- *.converter(package)
|
||||
\-- *.utils(工具类; package)
|
||||
\-- rpc(对外提供rpc; sub-module)
|
||||
\-- *.RpcService(package)
|
||||
\-- *.dto(数据结构; package)
|
||||
\-- *.converter(package)
|
||||
\-- *.utils(工具类; package)
|
||||
```
|
||||
|
||||
|
||||
13
template/entrance/job/pom.xml
Normal file
13
template/entrance/job/pom.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-job</artifactId>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,4 @@
|
||||
存放dtoConverter
|
||||
```
|
||||
\-- *Converter.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放dto
|
||||
```
|
||||
\-- *DTO.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放job file
|
||||
```
|
||||
\-- *Job.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放工具类
|
||||
```
|
||||
\-- *Util.java
|
||||
```
|
||||
19
template/entrance/mq/pom.xml
Normal file
19
template/entrance/mq/pom.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-mq</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -0,0 +1,4 @@
|
||||
存放消息消费者
|
||||
```
|
||||
\-- *Consumer.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放DTOConverter
|
||||
```
|
||||
\-- *Converter.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放DTO
|
||||
```
|
||||
\-- *DTO.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放工具类
|
||||
```
|
||||
\-- *Util.java
|
||||
```
|
||||
28
template/entrance/pom.xml
Normal file
28
template/entrance/pom.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
<packaging>pom</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .parentArtifactId }}-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<modules>
|
||||
<module>job</module>
|
||||
<module>mq</module>
|
||||
<module>web</module>
|
||||
<module>rpc</module>
|
||||
</modules>
|
||||
</project>
|
||||
20
template/entrance/rpc/pom.xml
Normal file
20
template/entrance/rpc/pom.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-rpc</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,4 @@
|
||||
存放DTOConverter
|
||||
```
|
||||
\-- *Converter.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放DTO
|
||||
```
|
||||
\-- *DTO.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放工具类
|
||||
```
|
||||
\-- *Util.java
|
||||
```
|
||||
26
template/entrance/web/pom.xml
Normal file
26
template/entrance/web/pom.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>{{ .artifactId }}-entrance-web</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-service</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,4 @@
|
||||
存放Controller
|
||||
```
|
||||
\-- *Controller.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放VOConverter
|
||||
```
|
||||
\-- *VOConverter.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放工具类
|
||||
```
|
||||
\-- *Util.java
|
||||
```
|
||||
@@ -0,0 +1,4 @@
|
||||
存放VO
|
||||
```
|
||||
\-- *VO.java
|
||||
```
|
||||
Reference in New Issue
Block a user