Commit dcfe46f1 authored by wangjinjing's avatar wangjinjing

发布版本

parent 6bac4217
.* /target/
!.gitignore !.mvn/wrapper/maven-wrapper.jar
*.class
# Package Files # ### STS ###
*.jar .apt_generated
*.war .classpath
*.ear .factorypath
.project
.settings
.springBeans
.sts4-cache
#package files ### IntelliJ IDEA ###
target
*.xml.bak
*.iml
.idea .idea
*.iws
*.iml
*.ipr
#demo file ### NetBeans ###
AlexDemo.java /nbproject/private/
/build/
release/ /nbbuild/
/dist/
/nbdist/
/.nb-gradle/
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.2.RELEASE</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.comsumer.cn</groupId>
<groupId>com.littlersmall.rabbitmq-access</groupId> <artifactId>TaskConsumption</artifactId>
<artifactId>rabbitmq-access</artifactId> <version>1.0</version>
<version>1.0-SNAPSHOT</version> <packaging>jar</packaging>
<description></description>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<skipTests>true</skipTests>
</properties> </properties>
<dependencies> <dependencies>
<!-- lombok-->
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>lombok</artifactId> <artifactId>spring-boot-starter-web</artifactId>
<version>1.18.6</version> </dependency>
<scope>provided</scope>
<!--mybatis-->
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>1.3.1</version>
</dependency>
<!--druid连接池-->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.1.9</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.7</version>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.amqp</groupId> <groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>spring-rabbit</artifactId> <artifactId>jackson-datatype-joda</artifactId>
<version>2.0.4.RELEASE</version> <version>2.9.6</version>
</dependency> </dependency>
<!-- redis -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.apache.logging.log4j</groupId> <groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-to-slf4j</artifactId> <artifactId>log4j-to-slf4j</artifactId>
...@@ -34,36 +88,49 @@ ...@@ -34,36 +88,49 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>javax.annotation</groupId> <groupId>org.slf4j</groupId>
<artifactId>javax.annotation-api</artifactId> <artifactId>jul-to-slf4j</artifactId>
<version>1.3.2</version> <version>1.7.25</version>
<scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>commons-lang3</artifactId> <artifactId>spring-boot-starter-amqp</artifactId>
<version>3.6</version> </dependency>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.4.3</version>
</dependency> </dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.17.0</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<finalName>${project.artifactId}</finalName>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <groupId>org.springframework.boot</groupId>
<configuration> <artifactId>spring-boot-maven-plugin</artifactId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-war-plugin</artifactId>
<version>3.3</version>
<configuration> <configuration>
<source>1.8</source> <failOnMissingWebXml>false</failOnMissingWebXml>
<target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
</project> </project>
server: server:
port: 8089 port: 8083
spring:
datasource:
url: jdbc:mysql://localhost:3306/imagepro?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
filters: stat
maxActive: 1000
initialSize: 100
maxWait: 60000
minIdle: 500
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
testWhileIdle: true
testOnBorrow: false
testOnReturn: false
poolPreparedStatements: true
maxOpenPreparedStatements: 20
rabbitmq: rabbitmq:
host: 127.0.0.1 host: 192.168.168.110
port: 5672 port: 5672
username: guest username: admin
password: guest password: admin
virtual-host: / virtual-host: my_vhost
#消息发送到交换机确认机制,是否确认回调 #消息发送到交换机确认机制,是否确认回调
publisher-confirms: true publisher-confirms: true
##消息发送到交换机确认机制,是否返回回调 ##消息发送到交换机确认机制,是否返回回调
...@@ -28,10 +46,16 @@ server: ...@@ -28,10 +46,16 @@ server:
initial-interval: 3000 initial-interval: 3000
#最大重试次数 #最大重试次数
max-attempts: 3 max-attempts: 3
redis: redis:
database: 0 database: 0
host: 127.0.0.1 host: 192.168.168.110
port: 6379 port: 6379
pool:
max-active: 100 #连接池最大连接数(负值表示没有限制)
max-wait: 3000 #连接池最大阻塞等待时间(负值表示没有限制)
max-idle: 200 #连接池最大空闭连接数
min-idle: 50 #连接汉最小空闲连接数
timeout: 600 #连接超时时间(毫秒)
#logging: #logging:
# level: # level:
...@@ -39,14 +63,18 @@ redis: ...@@ -39,14 +63,18 @@ redis:
# info # info
local: local:
job: 0 job: 0
czurl: http://localhost:8089/ext/getRTSP/1 czurl: http://zjh189.ncpoi.cc:7780/getDeviceSnapshot
fxurl: http://localhost:8089/ext/getDeviceSnapshotAndRecognize czrooturl: /home/ubuntu/pictures/slice
fxurl: http://localhost:8083/ext/getDeviceSnapshotAndRecognize
file: file:
rtspurl: http://zjh189.ncpoi.cc:7080/getDeviceSnapshot rtspurl: http://zjh189.ncpoi.cc:7080/getDeviceSnapshot
recogurl: http://zjh189.ncpoi.cc:7080/getDeviceSnapshotAndRecognize recogurl: http://zjh189.ncpoi.cc:7080/getDeviceSnapshotAndRecognize
uploadurl: http://home2.ncpoi.cc:7080/uploadResultFile uploadurl: http://home2.ncpoi.cc:7080/uploadResultFile
model: 1 model: 1
recogqsturl: http://zjh189.ncpoi.cc:9098/images/recog
rootpath: D://home/ubuntu/pictures/slice/
outpath: result
countryside: countryside:
callbackurl: http://kvideo.51iwifi.com/hesc-mq/hesc callbackurl: http://kvideo.51iwifi.com/hesc-mq/hesc
...@@ -59,7 +87,7 @@ rtspurl: ...@@ -59,7 +87,7 @@ rtspurl:
url: http://kvideo.51iwifi.com/home_gw/heschome_api/api/hesc/open/getRtsp url: http://kvideo.51iwifi.com/home_gw/heschome_api/api/hesc/open/getRtsp
appid: 8e9c7ff0fc6c11eac5efb5371726daaf appid: 8e9c7ff0fc6c11eac5efb5371726daaf
appsecret: 8e9ca700fc6c11eac5efb5371726daaf appsecret: 8e9ca700fc6c11eac5efb5371726daaf
params: account18888888888deviceCode params: deviceCode
logging: logging:
level: level:
......
spring: spring:
profiles: profiles:
active: local active: devconsum
Servlet:
multipart:
max-file-size: 20MB
max-request-size: 100MB
mybatis: mybatis:
type-aliases-package: com.cx.cn.cxquartz.bean type-aliases-package: com.cx.cn.cxquartz.bean
configuration: configuration:
...@@ -16,12 +20,15 @@ file: ...@@ -16,12 +20,15 @@ file:
uploadurl: http://172.16.24.29:7180/uploadResultFile uploadurl: http://172.16.24.29:7180/uploadResultFile
rootpath: /home/prod/pictures rootpath: /home/prod/pictures
outpath: result outpath: result
redis:
database: 0
host: 172.16.24.29
port: 6379
countryside: countryside:
callbackurl: http://kvideo.51iwifi.com/hesc-mq/hesc/mq/receive/aiCallback callbackurl: http://kvideo.51iwifi.com/hesc-mq/hesc/mq/receive/aiCallback
web: web:
url: http://zjh189.ncpoi.cc:20000 url: http://zjh189.ncpoi.cc:20000
snapnote:
note1: /opt/data/public
note2: /opt/public
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment