|
|
|
<?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">
|
|
|
|
<version>0.3.66</version>
|
|
|
|
<parent>
|
|
|
|
<artifactId>gov-access</artifactId>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
|
|
<artifactId>gov-access-server</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>gov-access-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>gov-org-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-user-client</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
<scope>compile</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-commons-tools</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.epmet</groupId>
|
|
|
|
<artifactId>epmet-commons-mybatis</artifactId>
|
|
|
|
<version>2.0.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>de.codecentric</groupId>
|
|
|
|
<artifactId>spring-boot-admin-starter-client</artifactId>
|
|
|
|
<version>${spring.boot.admin.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<!-- 替换Feign原生httpclient -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.github.openfeign</groupId>
|
|
|
|
<artifactId>feign-httpclient</artifactId>
|
|
|
|
<version>10.3.0</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<build>
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
<directory>${basedir}/src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>dev</id>
|
|
|
|
<properties>
|
|
|
|
<server.port>8099</server.port>
|
|
|
|
<spring.profiles.active>dev</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- 数据库配置-->
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://192.168.1.140:3306/epmet_gov_access?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>epmet_gov_access_user</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>EpmEt-db-UsEr</spring.datasource.druid.password>
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>192.168.1.140</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>123456</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>192.168.1.140:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>1fecc730-5e6e-464c-aae9-7567944e7936</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
<!--是否开启服务列表变更监听-->
|
|
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
|
|
|
|
<!--线程池-->
|
|
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
|
|
<thread.threadPool.thread-name-prefix>gov-access</thread.threadPool.thread-name-prefix>
|
|
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
|
|
|
|
|
|
<!--flyway migration 数据库迁移工具-->
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
|
|
|
|
<!--钉钉 机器人地址-->
|
|
|
|
<dingTalk.robot.webHook>https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4</dingTalk.robot.webHook>
|
|
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd</dingTalk.robot.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>local</id>
|
|
|
|
<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<server.port>8099</server.port>
|
|
|
|
<spring.profiles.active>local</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- 数据库配置-->
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://192.168.1.140:3306/epmet_gov_access?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>epmet_gov_access_user</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>EpmEt-db-UsEr</spring.datasource.druid.password>
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>192.168.1.140</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>123456</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>false</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>192.168.1.140:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>1fecc730-5e6e-464c-aae9-7567944e7936</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
<!--是否开启服务列表变更监听-->
|
|
|
|
<nacos.service-list-changed-listening.enable>false</nacos.service-list-changed-listening.enable>
|
|
|
|
|
|
|
|
<!--线程池-->
|
|
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
|
|
<thread.threadPool.thread-name-prefix>gov-access</thread.threadPool.thread-name-prefix>
|
|
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
|
|
|
|
|
|
<!--flyway migration 数据库迁移工具-->
|
|
|
|
<spring.flyway.enabled>false</spring.flyway.enabled>
|
|
|
|
|
|
|
|
<!--钉钉 机器人地址-->
|
|
|
|
<dingTalk.robot.webHook>https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4</dingTalk.robot.webHook>
|
|
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd</dingTalk.robot.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<!--<activation>
|
|
|
|
<activeByDefault>true</activeByDefault>
|
|
|
|
</activation>-->
|
|
|
|
<properties>
|
|
|
|
<server.port>8099</server.port>
|
|
|
|
<spring.profiles.active>test</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- 数据库配置-->
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://rm-m5ef9t617j6o5eup7.mysql.rds.aliyuncs.com:3306/epmet_gov_access?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>elink@833066</spring.datasource.druid.password>
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.host>192.168.10.150</spring.redis.host>
|
|
|
|
<spring.redis.port>6379</spring.redis.port>
|
|
|
|
<spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>192.168.10.150:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
<!--是否开启服务列表变更监听-->
|
|
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
|
|
|
|
<!--线程池-->
|
|
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
|
|
<thread.threadPool.thread-name-prefix>gov-access</thread.threadPool.thread-name-prefix>
|
|
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
|
|
|
|
|
|
<!--flyway migration 数据库迁移工具-->
|
|
|
|
<spring.flyway.enabled>true</spring.flyway.enabled>
|
|
|
|
|
|
|
|
<!--钉钉 机器人地址-->
|
|
|
|
<dingTalk.robot.webHook>https://oapi.dingtalk.com/robot/send?access_token=e894e5690f9d6a527722974c71548ff6c0fe29bd956589a09e21b16442a35ed4</dingTalk.robot.webHook>
|
|
|
|
<dingTalk.robot.secret>SECfcc020bdc83bb17a2c00f39977b1fbc409ef4188c7beaea11c5caa90eeaf87fd</dingTalk.robot.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
<profile>
|
|
|
|
<id>prod</id>
|
|
|
|
<properties>
|
|
|
|
<server.port>8099</server.port>
|
|
|
|
<spring.profiles.active>prod</spring.profiles.active>
|
|
|
|
|
|
|
|
<!-- 数据库配置-->
|
|
|
|
<spring.datasource.druid.url>
|
|
|
|
<![CDATA[jdbc:mysql://10.2.2.44:3306/epmet_gov_access?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>
|
|
|
|
</spring.datasource.druid.url>
|
|
|
|
<spring.datasource.druid.username>epmet_gov_access_user</spring.datasource.druid.username>
|
|
|
|
<spring.datasource.druid.password>EpmEt-db-UsEr</spring.datasource.druid.password>
|
|
|
|
<!-- redis配置 -->
|
|
|
|
<spring.redis.index>0</spring.redis.index>
|
|
|
|
<spring.redis.cluster.nodes>
|
|
|
|
10.2.2.47:6379,10.2.2.48:6379,10.2.2.49:6379,10.2.2.47:6389,10.2.2.48:6389,10.2.2.49:6389
|
|
|
|
</spring.redis.cluster.nodes>
|
|
|
|
<spring.redis.mode>cluster</spring.redis.mode>
|
|
|
|
<spring.redis.cluster.max-redirects>3</spring.redis.cluster.max-redirects>
|
|
|
|
<spring.redis.password>rEdIs@yAntAI_666</spring.redis.password>
|
|
|
|
<!-- nacos -->
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled>
|
|
|
|
<nacos.server-addr>10.2.2.51:8848</nacos.server-addr>
|
|
|
|
<nacos.discovery.namespace>bd205d23-e696-47be-b995-916313f86e99</nacos.discovery.namespace>
|
|
|
|
<nacos.config.namespace></nacos.config.namespace>
|
|
|
|
<nacos.config.group></nacos.config.group>
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled>
|
|
|
|
<nacos.ip/>
|
|
|
|
<!--是否开启服务列表变更监听-->
|
|
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable>
|
|
|
|
|
|
|
|
<!--线程池-->
|
|
|
|
<thread.threadPool.enable-customize>true</thread.threadPool.enable-customize>
|
|
|
|
<thread.threadPool.core-pool-size>5</thread.threadPool.core-pool-size>
|
|
|
|
<thread.threadPool.max-pool-size>8</thread.threadPool.max-pool-size>
|
|
|
|
<thread.threadPool.queue-capacity>20</thread.threadPool.queue-capacity>
|
|
|
|
<thread.threadPool.keep-alive-seconds>60</thread.threadPool.keep-alive-seconds>
|
|
|
|
<thread.threadPool.thread-name-prefix>gov-access</thread.threadPool.thread-name-prefix>
|
|
|
|
<thread.threadPool.rejected-execution-handler>callerRunsPolicy</thread.threadPool.rejected-execution-handler>
|
|
|
|
|
|
|
|
<!--flyway migration 数据库迁移工具-->
|
|
|
|
<spring.flyway.enabled>true</spring.flyway.enabled>
|
|
|
|
|
|
|
|
<!--生产钉钉 机器人地址-->
|
|
|
|
<dingTalk.robot.webHook>https://oapi.dingtalk.com/robot/send?access_token=c96c904b375f8b63eb10036db43a18628365dd87aa8669a9052cf95c911b4df0</dingTalk.robot.webHook>
|
|
|
|
<dingTalk.robot.secret>SEC134641aac79c2514b74cbb87028d706c34d071747f60a279a34bf8d2ad75be8e</dingTalk.robot.secret>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
|
|
|
</project>
|