提交 d1eacf21 编写于 作者: Z zd-glucacxe

docs:架构的本质之DDD架构 -测试调用模板

上级 d2d08d6a
......@@ -14,6 +14,10 @@
Date: 24/06/2023 09:01:16
*/
CREATE DATABASE IF NOT EXISTS road_map;
use road_map;
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
......
......@@ -34,6 +34,13 @@
<relativePath/>
</parent>
<repositories>
<repository>
<id>central</id>
<url>https://repo.maven.apache.org/maven2</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
......@@ -47,7 +54,7 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.34</version>
<version>8.0.23</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
......@@ -171,40 +178,43 @@
<profileActive>prod</profileActive>
</properties>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>enforce-banned-dependencies-app</id>
<phase>install</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<bannedDependencies>
<searchTransitive>true</searchTransitive>
<excludes>
<exclude>*:*:[,0.0.1)</exclude>
</excludes>
</bannedDependencies>
</rules>
<fail>true</fail>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<!-- <plugins>-->
<!-- <plugin>-->
<!--&lt;!&ndash; <groupId>org.apache.maven.plugins</groupId>&ndash;&gt;-->
<!--&lt;!&ndash; <artifactId>maven-enforcer-plugin</artifactId>&ndash;&gt;-->
<!--&lt;!&ndash; <dependencies>&ndash;&gt;-->
<!--&lt;!&ndash; <dependency>&ndash;&gt;-->
<!--&lt;!&ndash; <groupId>org.codehaus.mojo</groupId>&ndash;&gt;-->
<!--&lt;!&ndash; <artifactId>extra-enforcer-rules</artifactId>&ndash;&gt;-->
<!--&lt;!&ndash; <version>1.0-beta-4</version>&ndash;&gt;-->
<!--&lt;!&ndash; </dependency>&ndash;&gt;-->
<!--&lt;!&ndash; </dependencies>&ndash;&gt;-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>enforce-banned-dependencies-app</id>-->
<!-- <phase>install</phase>-->
<!-- <goals>-->
<!-- <goal>enforce</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <rules>-->
<!-- <bannedDependencies>-->
<!-- <searchTransitive>true</searchTransitive>-->
<!-- <excludes>-->
<!-- <exclude>*:*:[,0.0.1)</exclude>-->
<!-- </excludes>-->
<!-- </bannedDependencies>-->
<!-- </rules>-->
<!-- <fail>true</fail>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<!-- </plugins>-->
</build>
</profile>
</profiles>
</project>
\ No newline at end of file
......@@ -5,13 +5,21 @@ spring:
datasource:
username: root
password: 123456
url: jdbc:mysql://127.0.0.1:3306/road-map?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true
url: jdbc:mysql://127.0.0.1:3306/road_map?useUnicode=true&characterEncoding=utf8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=UTC&useSSL=true
driver-class-name: com.mysql.jdbc.Driver
# 5.6.36
hikari:
logging-level=DEBUG:
mybatis:
mapper-locations: classpath:/mybatis/mapper/*.xml
config-location: classpath:/mybatis/config/mybatis-config.xml
# 线程池配置
thread:
pool:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册