whai
93ae3a0720
- 新增流程部署、查询、实例初始化和任务管理等测试方法 - 添加历史记录查询功能 - 更新 NIO 服务器示例代码 - 新增枚举类型和自定义类型处理器- 调整 Spring Cloud服务配置 - 添加新的 BPMN 文件 Changes Activiti7DemoApplicationTests.java AioServer.java AmountBig.java AmountTypeHandler.java application.yaml application.yaml asdf.bpmn20.xml ASPIServiceImpl.java bootstrap.yml BProviderController.java BService.java BSPIServiceImpl.java cn.whaifree.tech.SPI.SPIService ConfigController.java FanxinTest.java FunctionInterfaceDemo.java GRRXReference.java leave.bpmn leave.png leave1.bpmn20.xml LeetCode210_207.java LeetCode469_1.java LeetCode1648.java LeetCode2602.java P1.java P1.java pom.xml pom.xml pom.xml RestConfig.java sadasf.bpmn20.xml ScheduledThreadPoolTest.java ServiceBApplication.java SPIService.java TestController.java ThreadDemo1.java TransactionConfig.java workflow.md Unversioned Files C:\Users\wenhai\project\javaProject\LeetCode\SpringCloud\GateWay\src\main\resources\application.properties C:\Users\wenhai\project\javaProject\LeetCode\SpringCloud\GateWay\src\main\java\com\whai\springcloud\gateway\GateWayApplication.java C:\Users\wenhai\project\javaProject\LeetCode\SpringCloud\GateWay\src\test\java\com\whai\springcloud\gateway\GateWayApplicationTests.java C:\Users\wenhai\project\javaProject\LeetCode\SpringCloud\GateWay\pom.xml
172 lines
5.6 KiB
XML
172 lines
5.6 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<version>3.3.5</version>
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
</parent>
|
|
<groupId>com.whai.springcloud</groupId>
|
|
<artifactId>GateWay</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<name>GateWay</name>
|
|
<description>GateWay</description>
|
|
<url/>
|
|
<licenses>
|
|
<license/>
|
|
</licenses>
|
|
<developers>
|
|
<developer/>
|
|
</developers>
|
|
<scm>
|
|
<connection/>
|
|
<developerConnection/>
|
|
<tag/>
|
|
<url/>
|
|
</scm>
|
|
<properties>
|
|
<java.version>17</java.version>
|
|
<spring-cloud.version>2023.0.3</spring-cloud.version>
|
|
<swagger.fox.version>3.0.0</swagger.fox.version>
|
|
|
|
</properties>
|
|
<dependencies>
|
|
|
|
<!-- SpringCloud Gateway -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-gateway</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba Nacos -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba Nacos Config -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba Sentinel -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Alibaba Sentinel Gateway -->
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Sentinel Datasource Nacos -->
|
|
<dependency>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-datasource-nacos</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Sentinel 实时监控 -->
|
|
<dependency>
|
|
<groupId>com.alibaba.csp</groupId>
|
|
<artifactId>sentinel-transport-simple-http</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringBoot Actuator -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<!-- SpringCloud Loadbalancer -->
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-loadbalancer</artifactId>
|
|
</dependency>
|
|
|
|
<!--验证码 -->
|
|
<dependency>
|
|
<groupId>pro.fessional</groupId>
|
|
<artifactId>kaptcha</artifactId>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>javax.servlet</groupId>
|
|
<artifactId>servlet-api</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- Swagger -->
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<version>${swagger.fox.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.springfox</groupId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<version>${swagger.fox.version}</version>
|
|
</dependency>
|
|
|
|
<!-- knife4j -->
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-ui</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<finalName>${project.artifactId}</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
<!-- 为防止打包docker部署读取不到配置文件问题资源文件 -->
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/java</directory>
|
|
<includes>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<includes>
|
|
<include>**/*.yml</include>
|
|
<include>**/*.properties</include>
|
|
<include>**/*.xml</include>
|
|
</includes>
|
|
<filtering>false</filtering>
|
|
</resource>
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
</project>
|