Compare commits
45 Commits
7bbd5a9f98
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 38b3cbb4c5 | |||
| a0905efaa2 | |||
| 0d8485e11a | |||
| f9039b7e85 | |||
| 835fc333df | |||
| 74c996a287 | |||
| 7ba3330b86 | |||
| e7873858a7 | |||
| 5b7e07be34 | |||
| 041d0116df | |||
| 2fad43dbfd | |||
| e5fd517612 | |||
| 5e1775eb61 | |||
| cafd3e500a | |||
| b6fb55800e | |||
| d7dfeb3550 | |||
| 4b8b2f19ff | |||
| a616208ccf | |||
| ef9d2cf341 | |||
| 661b1f2a7a | |||
| 9fda09fd8d | |||
| 1e8924e799 | |||
| db4cc3ec27 | |||
| d9110e30ae | |||
| 6eb819501d | |||
| 342ea37e12 | |||
| 98d9d0dd2e | |||
| b6df6baa11 | |||
| 45242e42bb | |||
| 36b5fa7ba3 | |||
| 2dcf7a1f25 | |||
| 45156d8040 | |||
| e03186c495 | |||
| 2762838d2c | |||
| f6d1a1ddee | |||
| 65365ec4f3 | |||
| 240b7c29ff | |||
| c832d116a5 | |||
| 5f6bacf1db | |||
| 7a547471f7 | |||
| 7947e101ef | |||
| 45b7d9f6a2 | |||
| e1629f2ccb | |||
| e9c7377e84 | |||
| 7131c56e31 |
8
template/.gitignore
vendored
8
template/.gitignore
vendored
@@ -10,9 +10,10 @@ classes/
|
||||
|
||||
## idea
|
||||
*.iml
|
||||
.idea/**
|
||||
HELP.md
|
||||
.idea/*
|
||||
!.idea/codeStyles/
|
||||
!.idea/dataSources.xml
|
||||
HELP.md
|
||||
|
||||
## vscode
|
||||
.vscode/
|
||||
@@ -29,5 +30,6 @@ logs/
|
||||
|
||||
## vs
|
||||
.vs
|
||||
modules/**
|
||||
!modules/.gitkeep
|
||||
.gitattributes
|
||||
.toco/config.local.yml
|
||||
|
||||
7
template/.idea/codeStyles/Project.xml
generated
Normal file
7
template/.idea/codeStyles/Project.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<code_scheme name="Project" version="173">
|
||||
<JavaCodeStyleSettings>
|
||||
<option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" />
|
||||
</JavaCodeStyleSettings>
|
||||
</code_scheme>
|
||||
</component>
|
||||
5
template/.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
5
template/.idea/codeStyles/codeStyleConfig.xml
generated
Normal file
@@ -0,0 +1,5 @@
|
||||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
</state>
|
||||
</component>
|
||||
@@ -1,13 +1,12 @@
|
||||
# syntax=registry.cn-hangzhou.aliyuncs.com/imageacc/dockerfile:experimental
|
||||
FROM registry.cn-hangzhou.aliyuncs.com/zeroware/javaapp-builder:latest as builder
|
||||
FROM maven:3.8.8 AS builder
|
||||
WORKDIR source
|
||||
COPY ./ ./
|
||||
ARG JAR_FILE=entrance/web/target/*.jar
|
||||
RUN --mount=type=cache,target=/root/.m2/repository,rw --mount=type=tmpfs,target=/root/.m2/repository/{{ .groupId | replace "." "/" }} mvnd clean package -Dmaven.test.skip=true
|
||||
RUN mvn clean package -Dmaven.test.skip=true
|
||||
RUN cp ${JAR_FILE} app.jar
|
||||
RUN java -Djarmode=layertools -jar ./app.jar extract
|
||||
|
||||
FROM registry.cn-hangzhou.aliyuncs.com/zeroware/openjdk-17:latest
|
||||
FROM openjdk:11.0.14
|
||||
WORKDIR /application
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
RUN echo 'Asia/Shanghai' >/etc/timezone
|
||||
|
||||
@@ -8,17 +8,14 @@
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}-common</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
|
||||
<properties>
|
||||
<elasticsearch.version>7.3.1</elasticsearch.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>dist</artifactId>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@@ -41,40 +38,29 @@
|
||||
<artifactId>spring-context</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>ox-basidc-common</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>transport</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>redis.clients</groupId>
|
||||
<artifactId>jedis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-client</artifactId>
|
||||
<version>4.9.7</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs.common.util</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
@@ -25,8 +25,11 @@ import java.security.cert.CertificateException;
|
||||
import java.security.cert.X509Certificate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Objects;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
||||
|
||||
@Configuration
|
||||
@ConditionalOnProperty(name = "essql.hosts")
|
||||
public class EsConfiguration {
|
||||
private static int connectTimeOut = 1000; // 连接超时时间
|
||||
private static int socketTimeOut = 30000; // 连接超时时间
|
||||
|
||||
@@ -52,6 +52,8 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
|
||||
|
||||
import {{ .package }}.common.utils.JsonUtils;
|
||||
|
||||
@@ -60,6 +62,7 @@ import {{ .package }}.common.utils.JsonUtils;
|
||||
*/
|
||||
|
||||
@Component
|
||||
@ConditionalOnProperty(name = "essql.hosts")
|
||||
public class EsService {
|
||||
|
||||
@Resource
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
<artifactId>{{ .artifactId }}</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<version>{{ .version }}</version>
|
||||
</parent>
|
||||
<artifactId>{{ .artifactId }}-entrance</artifactId>
|
||||
<version>{{ .version }}</version>
|
||||
|
||||
@@ -12,11 +12,7 @@
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>ox-springboot-web-starter</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>vs-sqlmapper-spring</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -27,28 +23,18 @@
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-mock-web</artifactId>
|
||||
<version>${vs.mock.spring}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-debug-agent</artifactId>
|
||||
<version>${vs.debug.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-debug-plugin</artifactId>
|
||||
<version>${vs.debug.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -5,6 +5,7 @@ import com.vs.sqlmapper.spring.DataSourceConfig;
|
||||
import com.vs.sqlmapper.spring.scan.VSDaoBeanScan;
|
||||
import com.vs.mock.config.EnableVSMockConfiguration;
|
||||
import com.vs.sqlmapper.spring.express.EnableVSMockExpress;
|
||||
import com.vs.agent.TocoAgentInitializer;
|
||||
|
||||
import com.vs.debug.stack.agent.LogStackContextInvokeRecorder;
|
||||
import com.vs.debug.stack.agent.MethodVisitorHandlerFilter;
|
||||
@@ -17,15 +18,8 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
|
||||
|
||||
/**
|
||||
* 应用入口
|
||||
*
|
||||
* @author byteawake
|
||||
* @date 2021/5/11 下午5:30
|
||||
*/
|
||||
@SpringBootApplication(scanBasePackages = {"com.hande", "com.vs", "com.hande.index_sync"})
|
||||
@VSDaoBeanScan(basePackages = {"com.vs","com.hande"})
|
||||
@SpringBootApplication(scanBasePackages = {"{{.groupId}}", "com.vs"})
|
||||
@VSDaoBeanScan(basePackages = {"com.vs","{{.groupId}}"})
|
||||
@Import(DataSourceConfig.class)
|
||||
@EnableVSReplayConfiguration
|
||||
@EnableVSMockConfiguration
|
||||
@@ -44,6 +38,8 @@ public class AppApplication{
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AppApplication.class,args);
|
||||
SpringApplication application = new SpringApplication(AppApplication.class);
|
||||
application.addInitializers(new TocoAgentInitializer());
|
||||
application.run(args);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package {{ .package }}.entrance.web.response;
|
||||
|
||||
import com.libawall.framework.core.base.result.ResultDTO;
|
||||
import com.vs.common.util.rpc.pub.PublicInterface;
|
||||
import com.vs.ox.common.utils.ObjectMapperFactory;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.converter.HttpMessageConverter;
|
||||
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
|
||||
import org.springframework.http.server.ServletServerHttpResponse;
|
||||
import org.springframework.web.context.request.NativeWebRequest;
|
||||
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
|
||||
import org.springframework.web.method.support.ModelAndViewContainer;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Collections;
|
||||
|
||||
/**
|
||||
* 处理 Controller 里的返回值,从 Object 包装为 ResultDTO 类型
|
||||
*/
|
||||
@Slf4j
|
||||
public class ResponseJsonMethodReturnValueHandler implements HandlerMethodReturnValueHandler, InitializingBean {
|
||||
private HttpMessageConverter messageConverter;
|
||||
|
||||
public ResponseJsonMethodReturnValueHandler() {
|
||||
}
|
||||
|
||||
public void afterPropertiesSet() {
|
||||
if (this.messageConverter == null) {
|
||||
this.messageConverter = new MappingJackson2HttpMessageConverter(ObjectMapperFactory.getDefaultObjectMapper());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public boolean supportsReturnType(MethodParameter returnType) {
|
||||
return true;
|
||||
}
|
||||
|
||||
public void handleReturnValue(Object returnValue, MethodParameter returnType, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception {
|
||||
Method method = returnType.getMethod();
|
||||
//目前只处理自动生成接口
|
||||
PublicInterface annotation = method.getAnnotation(PublicInterface.class);
|
||||
if (annotation != null) {
|
||||
mavContainer.setRequestHandled(true);
|
||||
Object result = returnValue == null ? ResultDTO.ok(Collections.emptyMap()) : ResultDTO.ok((returnValue));
|
||||
ServletServerHttpResponse response = new ServletServerHttpResponse(webRequest.getNativeResponse(HttpServletResponse.class));
|
||||
this.messageConverter.write(result, new MediaType(MediaType.APPLICATION_JSON, Collections.singletonMap("charset", "utf-8")), response);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
package {{ .package }}.entrance.web.response;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.method.annotation.MapMethodProcessor;
|
||||
import org.springframework.web.method.support.HandlerMethodReturnValueHandler;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;
|
||||
import org.springframework.web.servlet.mvc.method.annotation.ViewNameMethodReturnValueHandler;
|
||||
|
||||
import javax.servlet.ServletContextEvent;
|
||||
import javax.servlet.ServletContextListener;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
@Configuration
|
||||
public class ResponseJsonWebMvcConfiguration implements ApplicationContextAware, WebMvcConfigurer {
|
||||
private RequestMappingHandlerAdapter requestMappingHandlerAdapter;
|
||||
private ApplicationContext applicationContext;
|
||||
|
||||
void init() {
|
||||
List<HandlerMethodReturnValueHandler> returnValueHandlers = this.requestMappingHandlerAdapter.getReturnValueHandlers();
|
||||
Iterator<HandlerMethodReturnValueHandler> iterator = returnValueHandlers.iterator();
|
||||
List<HandlerMethodReturnValueHandler> newProcessors = new ArrayList<>();
|
||||
while (iterator.hasNext()) {
|
||||
HandlerMethodReturnValueHandler next = iterator.next();
|
||||
//在controller中直接返回map,不被默认的MapMethodProcessor拦截
|
||||
if (next instanceof MapMethodProcessor ||
|
||||
//在controller中直接返回String,不被默认的ViewNameMethodReturnValueHandler拦截
|
||||
next instanceof ViewNameMethodReturnValueHandler) {
|
||||
} else {
|
||||
newProcessors.add(next);
|
||||
}
|
||||
}
|
||||
this.requestMappingHandlerAdapter.setReturnValueHandlers(newProcessors);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addReturnValueHandlers(List<HandlerMethodReturnValueHandler> returnValueHandlers) {
|
||||
ResponseJsonMethodReturnValueHandler responseJsonMethodReturnValueHandler = new ResponseJsonMethodReturnValueHandler();
|
||||
responseJsonMethodReturnValueHandler.afterPropertiesSet();
|
||||
returnValueHandlers.add(responseJsonMethodReturnValueHandler);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
|
||||
this.applicationContext = applicationContext;
|
||||
}
|
||||
|
||||
@Bean
|
||||
ServletContextListener listener1() {
|
||||
return new ServletContextListener() {
|
||||
@Override
|
||||
public void contextInitialized(ServletContextEvent sce) {
|
||||
requestMappingHandlerAdapter = applicationContext.getBean(RequestMappingHandlerAdapter.class);
|
||||
init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void contextDestroyed(ServletContextEvent sce) {
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -5,9 +5,10 @@ server.forward-headers-strategy=framework
|
||||
cross.domain.headers=
|
||||
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
|
||||
|
||||
base.package=com.hande
|
||||
base.package={{.groupId}}
|
||||
mock.enabled=true
|
||||
# datasource
|
||||
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false
|
||||
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
spring.datasource.username=${DB_USER:hande_test_user}
|
||||
spring.datasource.password=${DB_PASSWORD:Yu0FvhjUQDGdnmm5}
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
@@ -45,11 +46,11 @@ spring.main.allow-circular-references=true
|
||||
spring.login.security.csrf=false
|
||||
|
||||
#elasticsearch
|
||||
essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
|
||||
essql.port=9200
|
||||
essql.username=${OPENSEARCH_USER:admin}
|
||||
essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
|
||||
essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
#essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
|
||||
#essql.port=9200
|
||||
#essql.username=${OPENSEARCH_USER:admin}
|
||||
#essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
|
||||
#essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
|
||||
#get user config
|
||||
get_user_uri={}
|
||||
|
||||
@@ -5,7 +5,7 @@ server.forward-headers-strategy=framework
|
||||
cross.domain.headers=
|
||||
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
|
||||
|
||||
base.package=com.hande
|
||||
base.package={{.groupId}}
|
||||
# datasource
|
||||
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
spring.datasource.username=${DB_USER:hande_test_user}
|
||||
@@ -30,11 +30,11 @@ rocketmq.tag=*
|
||||
rocketmq.producer.group=PID_handeTest
|
||||
|
||||
#elasticsearch
|
||||
essql.hosts=${OPENSEARCH_HOST}
|
||||
essql.port=9200
|
||||
essql.username=${OPENSEARCH_USER:admin}
|
||||
essql.password=${OPENSEARCH_PASSWORD:admin}
|
||||
essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
#essql.hosts=${OPENSEARCH_HOST}
|
||||
#essql.port=9200
|
||||
#essql.username=${OPENSEARCH_USER:admin}
|
||||
#essql.password=${OPENSEARCH_PASSWORD:admin}
|
||||
#essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
|
||||
#get user config
|
||||
get_user_uri={}
|
||||
|
||||
@@ -5,7 +5,7 @@ server.forward-headers-strategy=framework
|
||||
cross.domain.headers=
|
||||
#spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
|
||||
|
||||
base.package=com.hande
|
||||
base.package={{.groupId}}
|
||||
# datasource
|
||||
spring.datasource.url=jdbc:mysql://${DB_HOST:10.0.2.201:3306}/${DB_DATABASE:hande_test}?characterEncoding=utf-8&serverTimezone=Asia/Shanghai
|
||||
spring.datasource.username=${DB_USER:hande_test_user}
|
||||
@@ -30,11 +30,11 @@ rocketmq.tag=*
|
||||
rocketmq.producer.group=PID_handeTest
|
||||
|
||||
#elasticsearch
|
||||
essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
|
||||
essql.port=9200
|
||||
essql.username=${OPENSEARCH_USER:admin}
|
||||
essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
|
||||
essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
#essql.hosts=${OPENSEARCH_HOST:10.0.2.221,10.0.2.222,10.0.2.223}
|
||||
#essql.port=9200
|
||||
#essql.username=${OPENSEARCH_USER:admin}
|
||||
#essql.password=${OPENSEARCH_PASSWORD:dnZkaNVK}
|
||||
#essql.scheme=${OPENSEARCH_SCHEME:https}
|
||||
|
||||
#get user config
|
||||
get_user_uri={}
|
||||
|
||||
@@ -4,3 +4,9 @@ spring.main.allow-bean-definition-overriding=true
|
||||
project_id=${projectId}
|
||||
project_name=handeTest
|
||||
check=true
|
||||
|
||||
spring.mvc.pathmatch.matching-strategy=ANT_PATH_MATCHER
|
||||
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
|
||||
|
||||
|
||||
com.toco.agent.attach=true
|
||||
@@ -1,14 +0,0 @@
|
||||
package {{ .package }}.entrance.web;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@RunWith(SpringRunner.class)
|
||||
@SpringBootTest
|
||||
public class AppApplicationTest {
|
||||
@Test
|
||||
public void contextLoads() {
|
||||
}
|
||||
}
|
||||
744
template/pom.xml
744
template/pom.xml
@@ -1,12 +1,14 @@
|
||||
<?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">
|
||||
<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>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.7.18</version>
|
||||
<relativePath/>
|
||||
<relativePath />
|
||||
<!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>{{ .groupId }}</groupId>
|
||||
@@ -15,28 +17,64 @@
|
||||
<packaging>pom</packaging>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<junit.version>4.12</junit.version>
|
||||
<vs.common.util.version>1.2.2</vs.common.util.version>
|
||||
<vs.common.version>1.2.0</vs.common.version>
|
||||
<ox.sprintboot.web.starter.version>1.0-SNAPSHOT</ox.sprintboot.web.starter.version>
|
||||
<lombok.version>1.18.20</lombok.version>
|
||||
<javax.annotation.api.version>1.3.2</javax.annotation.api.version>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<logback.classic.version>1.2.3</logback.classic.version>
|
||||
<ox.basidc.common>1.0-SNAPSHOT</ox.basidc.common>
|
||||
<flyway.version>5.2.4</flyway.version>
|
||||
<vs.common.rpc.version>1.3.0-SNAPSHOT</vs.common.rpc.version>
|
||||
<vs.sqlmapper.spring>1.0.0-SNAPSHOT</vs.sqlmapper.spring>
|
||||
<vs.mock.spring>1.0.0-SNAPSHOT</vs.mock.spring>
|
||||
<vs.elasticsearch.version>1.0.0-SNAPSHOT</vs.elasticsearch.version>
|
||||
<org.hibernate.core>5.5.7.Final</org.hibernate.core>
|
||||
<vs.bo.common>1.0-SNAPSHOT</vs.bo.common>
|
||||
<cn.hutool.all>5.7.4</cn.hutool.all>
|
||||
<vs.debug.version>1.0.0-SNAPSHOT</vs.debug.version>
|
||||
<javax.persistence-api>2.2</javax.persistence-api>
|
||||
<elasticsearch.version>7.3.1</elasticsearch.version>
|
||||
<dist.version>1.2.2</dist.version>
|
||||
<spring-boot-dependencies.version>2.6.2</spring-boot-dependencies.version>
|
||||
<commons-logging.version>1.2</commons-logging.version>
|
||||
<hession.version>4.0.63</hession.version>
|
||||
<netty-all.version>4.1.48.Final</netty-all.version>
|
||||
<gson.version>2.8.6</gson.version>
|
||||
<spring-boot.version>2.2.6.RELEASE</spring-boot.version>
|
||||
<mybatis-spring-boot-starter.version>2.1.2</mybatis-spring-boot-starter.version>
|
||||
<mysql-connector-java.version>8.0.11</mysql-connector-java.version>
|
||||
<slf4j-api.version>1.7.30</slf4j-api.version>
|
||||
<junit.version>4.13</junit.version>
|
||||
<javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
||||
<groovy.version>3.0.3</groovy.version>
|
||||
<spring.version>5.2.5.RELEASE</spring.version>
|
||||
<hibernate.version>5.5.7.Final</hibernate.version>
|
||||
<lobmook.version>1.18.20</lobmook.version>
|
||||
<rocketmq-tools.version>4.7.1</rocketmq-tools.version>
|
||||
<rocketmq-spring-boot.version>2.2.0</rocketmq-spring-boot.version>
|
||||
<hutool-all.version>5.7.4</hutool-all.version>
|
||||
<javax.annotation.version>1.3.2</javax.annotation.version>
|
||||
<javax.transaction-api.version>1.3</javax.transaction-api.version>
|
||||
<hibernate-validator.version>6.1.6.Final</hibernate-validator.version>
|
||||
<spring-boot-starter-data-jpa.version>2.6.3</spring-boot-starter-data-jpa.version>
|
||||
<spring-web.version>5.3.14</spring-web.version>
|
||||
<toco-common.version>1.0.0-SNAPSHOT</toco-common.version>
|
||||
<jedis.version>3.3.0</jedis.version>
|
||||
<spring-boot-autoconfigure.version>2.7.18</spring-boot-autoconfigure.version>
|
||||
<spring-boot.version>2.7.18</spring-boot.version>
|
||||
<org.aspectj.version>1.9.6</org.aspectj.version>
|
||||
<spring-context.version>5.3.14</spring-context.version>
|
||||
<xxl-job-core.version>2.2.0</xxl-job-core.version>
|
||||
<cglib-nodep.version>3.3.0</cglib-nodep.version>
|
||||
<validation-api.version>2.0.1.Final</validation-api.version>
|
||||
<springfox-swagger-ui.version>2.9.2</springfox-swagger-ui.version>
|
||||
<springfox-swagger2.version>2.9.2</springfox-swagger2.version>
|
||||
<swagger-annotations.version>1.5.22</swagger-annotations.version>
|
||||
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
|
||||
<jackson-databind.version>2.13.0</jackson-databind.version>
|
||||
<httpclient.version>4.5.13</httpclient.version>
|
||||
<guava.version>23.0</guava.version>
|
||||
<opensearch.version>2.5.0</opensearch.version>
|
||||
<commons-lang3.version>3.12.0</commons-lang3.version>
|
||||
<transmittable-thread-local.version>2.12.3</transmittable-thread-local.version>
|
||||
<spring.web.mvc.version>5.3.14</spring.web.mvc.version>
|
||||
<httpasyncclient.version>4.1.5</httpasyncclient.version>
|
||||
<rocketmq-client.version>4.7.1</rocketmq-client.version>
|
||||
<org.json.version>20170516</org.json.version>
|
||||
<elasticsearch-core.version>7.3.1</elasticsearch-core.version>
|
||||
<druid-spring-boot-starter.version>1.1.21</druid-spring-boot-starter.version>
|
||||
<vs.debug.version>1.0.0-SNAPSHOT</vs.debug.version>
|
||||
<vs.mock.spring>1.0.0-SNAPSHOT</vs.mock.spring>
|
||||
<libawall.version>2.2.0.RELEASE</libawall.version>
|
||||
<toco.version>1.0.0-SNAPSHOT</toco.version>
|
||||
</properties>
|
||||
@@ -45,11 +83,6 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-autoconfigure</artifactId>-->
|
||||
<!-- <version>2.7.18</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.esotericsoftware</groupId>
|
||||
<artifactId>kryo</artifactId>
|
||||
@@ -65,12 +98,421 @@
|
||||
<artifactId>mybatis</artifactId>
|
||||
<version>3.5.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.17.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>toco-all</artifactId>
|
||||
<type>pom</type>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.binarywang</groupId>
|
||||
<artifactId>weixin-java-miniapp</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-amqp</artifactId>
|
||||
<version>2.7.18</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
<version>2.7.18</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
<version>5.3.31</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<version>5.3.31</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-sdk-java</artifactId>
|
||||
<version>4.9.28.ALL</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>${mysql-connector-java.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
<version>${druid-spring-boot-starter.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-service</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-service</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-service</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-client</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-service</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>${cn.hutool.all}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.persistence</groupId>
|
||||
<artifactId>javax.persistence-api</artifactId>
|
||||
<version>${javax.persistence-api}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>${logback.classic.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.json</groupId>
|
||||
<artifactId>json</artifactId>
|
||||
<version>${org.json.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpasyncclient</artifactId>
|
||||
<version>${httpasyncclient.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webmvc</artifactId>
|
||||
<version>${spring.web.mvc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>transmittable-thread-local</artifactId>
|
||||
<version>${transmittable-thread-local.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>${slf4j-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>guava</artifactId>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<version>${guava.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>ox-bo-common</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>${httpclient.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpmime</artifactId>
|
||||
<version>${httpclient.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fasterxml.jackson.core</groupId>
|
||||
<artifactId>jackson-databind</artifactId>
|
||||
<version>${jackson-databind.version}</version> <!-- 使用适当的版本 -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>javax.servlet-api</artifactId>
|
||||
<version>${javax.servlet-api.version}</version> <!-- 使用适当的版本 -->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.opensearch.client</groupId>
|
||||
<artifactId>opensearch-rest-high-level-client</artifactId>
|
||||
<version>2.5.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
<version>${swagger-annotations.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
<version>1.5.21</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<artifactId>elasticsearch-x-content</artifactId>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<version>7.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger-ui</artifactId>
|
||||
<version>${springfox-swagger-ui.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.springfox</groupId>
|
||||
<artifactId>springfox-swagger2</artifactId>
|
||||
<version>${springfox-swagger2.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-annotations</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>io.swagger</groupId>
|
||||
<artifactId>swagger-models</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>${validation-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cglib</groupId>
|
||||
<artifactId>cglib-nodep</artifactId>
|
||||
<version>${cglib-nodep.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.xuxueli</groupId>
|
||||
<artifactId>xxl-job-core</artifactId>
|
||||
<version>${xxl-job-core.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>common-rpc</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>vs-sqlmanager-basic</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.commons</groupId>
|
||||
<artifactId>commons-lang3</artifactId>
|
||||
<version>${commons-lang3.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-context</artifactId>
|
||||
<version>${spring-context.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.aspectj</groupId>
|
||||
<artifactId>aspectjrt</artifactId>
|
||||
<version>${org.aspectj.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-autoconfigure</artifactId>
|
||||
<version>${spring-boot-autoconfigure.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>redis.clients</groupId>
|
||||
<artifactId>jedis</artifactId>
|
||||
<version>${jedis.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>vs-sqlmapper-spring</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.toco</groupId>
|
||||
<artifactId>ox-jsqlparser</artifactId>
|
||||
<version>${toco-common.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
<version>${spring-web.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
<version>${spring-boot-starter-data-jpa.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate.validator</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
<version>${hibernate-validator.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.transaction</groupId>
|
||||
<artifactId>javax.transaction-api</artifactId>
|
||||
<version>${javax.transaction-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>javax.annotation-api</artifactId>
|
||||
<version>${javax.annotation-api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>${hutool-all.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-spring-boot</artifactId>
|
||||
<version>${rocketmq-spring-boot.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-tools</artifactId>
|
||||
<version>${rocketmq-tools.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
<artifactId>rocketmq-client</artifactId>
|
||||
<version>${rocketmq-client.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lobmook.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>${spring-boot-dependencies.version}</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
<artifactId>commons-logging</artifactId>
|
||||
<version>${commons-logging.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.caucho</groupId>
|
||||
<artifactId>hessian</artifactId>
|
||||
<version>${hession.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch</artifactId>
|
||||
<version>7.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>transport</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>elasticsearch-rest-client</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>elasticsearch-rest-client-sniffer</artifactId>
|
||||
<version>${elasticsearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch.client</groupId>
|
||||
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
||||
<version>7.3.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
<artifactId>elasticsearch-core</artifactId>
|
||||
<version>${elasticsearch-core.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.opensearch.client</groupId>
|
||||
<artifactId>opensearch-rest-high-level-client</artifactId>
|
||||
<version>${opensearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-core</artifactId>
|
||||
<version>${hibernate.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- libawall dependencies start -->
|
||||
<dependency>
|
||||
<groupId>com.libawallframework</groupId>
|
||||
@@ -88,67 +530,67 @@
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.enums</groupId>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-client</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.enums</groupId>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-service</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.enums</groupId>
|
||||
<groupId>com.libawallframework.manage.enums</groupId>
|
||||
<artifactId>libawall-enums-web</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.note</groupId>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-client</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.note</groupId>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-service</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.note</groupId>
|
||||
<groupId>com.libawallframework.manage.note</groupId>
|
||||
<artifactId>libawall-note-web</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.role</groupId>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-client</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.role</groupId>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-service</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.role</groupId>
|
||||
<groupId>com.libawallframework.manage.role</groupId>
|
||||
<artifactId>libawall-role-web</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.upload</groupId>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-client</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.upload</groupId>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-service</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.upload</groupId>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-web</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework.upload</groupId>
|
||||
<groupId>com.libawallframework.manage.upload</groupId>
|
||||
<artifactId>libawall-upload-core</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
@@ -156,6 +598,12 @@
|
||||
<groupId>com.libawallframework</groupId>
|
||||
<artifactId>libawall-mybatis</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework</groupId>
|
||||
@@ -210,7 +658,7 @@
|
||||
<dependency>
|
||||
<groupId>com.libawallframework</groupId>
|
||||
<artifactId>libawall-swagger</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
<version>2.2.0.RELEASE</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.libawallframework</groupId>
|
||||
@@ -227,199 +675,6 @@
|
||||
<artifactId>libawall-xxl-job</artifactId>
|
||||
<version>${libawall.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.quartz-scheduler</groupId>
|
||||
<artifactId>quartz</artifactId>
|
||||
<version>2.3.2</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.github.binarywang</groupId>
|
||||
<artifactId>weixin-java-miniapp</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.security</groupId>-->
|
||||
<!-- <artifactId>spring-security-web</artifactId>-->
|
||||
<!-- <version>5.7.11</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-amqp</artifactId>
|
||||
<version>2.7.18</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.redisson</groupId>-->
|
||||
<!-- <artifactId>redisson-spring-boot-starter</artifactId>-->
|
||||
<!-- <version>3.25.2</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
<version>2.7.18</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-beans</artifactId>
|
||||
<version>5.3.31</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<version>5.3.31</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework</groupId>-->
|
||||
<!-- <artifactId>spring-context-support</artifactId>-->
|
||||
<!-- <version>5.3.31</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework</groupId>-->
|
||||
<!-- <artifactId>spring-web</artifactId>-->
|
||||
<!-- <version>5.3.31</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework</groupId>-->
|
||||
<!-- <artifactId>spring-aspects</artifactId>-->
|
||||
<!-- <version>5.3.31</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>com.alipay.sdk</groupId>
|
||||
<artifactId>alipay-sdk-java</artifactId>
|
||||
<version>4.9.28.ALL</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework</groupId>-->
|
||||
<!-- <artifactId>spring-aop</artifactId>-->
|
||||
<!-- <version>5.3.14</version>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>8.0.11</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid-spring-boot-starter</artifactId>
|
||||
<version>1.1.17</version>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework</groupId>-->
|
||||
<!-- <artifactId>spring-context</artifactId>-->
|
||||
<!-- <version>5.3.31</version>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- libawall dependencies end -->
|
||||
</dependencies>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>${cn.hutool.all}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.persistence</groupId>
|
||||
<artifactId>javax.persistence-api</artifactId>
|
||||
<version>${javax.persistence-api}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-core</artifactId>
|
||||
<version>${org.hibernate.core}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>ox-bo-common</artifactId>
|
||||
<version>${vs.bo.common}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-dependencies</artifactId>
|
||||
<version>2.6.2</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>${junit.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>ox-springboot-web-starter</artifactId>
|
||||
<version>${ox.sprintboot.web.starter.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>dist</artifactId>
|
||||
<version>${dist.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>javax.annotation</groupId>
|
||||
<artifactId>javax.annotation-api</artifactId>
|
||||
<version>${javax.annotation.api.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>${logback.classic.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>ox-basidc-common</artifactId>
|
||||
<version>${ox.basidc.common}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.tomcat.embed</groupId>
|
||||
<artifactId>tomcat-embed-core</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.flywaydb</groupId>
|
||||
<artifactId>flyway-core</artifactId>
|
||||
<version>${flyway.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>common-rpc</artifactId>
|
||||
<version>${vs.common.rpc.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-sqlmapper-spring</artifactId>
|
||||
<version>${vs.sqlmapper.spring}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-elasticsearch</artifactId>
|
||||
<version>${vs.elasticsearch.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-mock-web</artifactId>
|
||||
<version>${vs.mock.spring}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-debug-agent</artifactId>
|
||||
<version>${vs.debug.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs-debug-plugin</artifactId>
|
||||
<version>${vs.debug.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.vs</groupId>
|
||||
<artifactId>vs.common.util</artifactId>
|
||||
<version>${vs.common.util.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<build>
|
||||
@@ -432,18 +687,25 @@
|
||||
<encoding>UTF-8</encoding>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.diffplug.spotless</groupId>
|
||||
<artifactId>spotless-maven-plugin</artifactId>
|
||||
<version>2.43.0</version>
|
||||
<configuration>
|
||||
<java>
|
||||
<googleJavaFormat>
|
||||
<groupArtifact>com.google.googlejavaformat:google-java-format</groupArtifact>
|
||||
<version>1.22.0</version>
|
||||
<style>AOSP</style>
|
||||
<reorderImports>true</reorderImports>
|
||||
<reflowLongStrings>true</reflowLongStrings>
|
||||
<formatJavadoc>true</formatJavadoc>
|
||||
</googleJavaFormat>
|
||||
</java>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>zeroware-maven-releases</id>
|
||||
<url>https://repo.byteawake.com/repository/zeroware-maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>zeroware-maven-snapshots</id>
|
||||
<url>https://repo.byteawake.com/repository/zeroware-maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
<modules>
|
||||
<module>entrance</module>
|
||||
<module>common</module>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
id=8347572c-b33f-4888-b1bf-cc9149fff6f7
|
||||
name=hande_test
|
||||
version=1.0.0
|
||||
id={{ .projectId }}
|
||||
name={{ .projectName | replace "-" "_" }}
|
||||
version={{ .vsVersion }}
|
||||
Reference in New Issue
Block a user