修改版本号为0.8.1
This commit is contained in:
Vendored
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
node {
|
node {
|
||||||
def mailto="154707516@qq.com" //邮件接收人员列表
|
def mailto="154707516@qq.com" //邮件接收人员列表
|
||||||
def containerName="msgexchangeapi" //容器名称
|
def containerName="msgexchangeapi" //容器名称
|
||||||
def imageVersion="0.0.1-SNAPSHOT"
|
def imageVersion="0.8.1-SNAPSHOT"
|
||||||
def imageName="130.120.3.193/com.gzzn.omms/msgexchange-api:${imageVersion}" //镜像名称
|
def imageName="130.120.3.193/com.gzzn.omms/msgexchange-api:${imageVersion}" //镜像名称
|
||||||
def credentialsId="e41b57a4-436a-4617-817c-9e3f25a8a47f" //ssh证书id
|
def credentialsId="e41b57a4-436a-4617-817c-9e3f25a8a47f" //ssh证书id
|
||||||
def deployHost="130.120.3.231" //发布到的主机
|
def deployHost="130.120.3.231" //发布到的主机
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.gzzn.omms</groupId>
|
<groupId>com.gzzn.omms</groupId>
|
||||||
<artifactId>msgexchange-api</artifactId>
|
<artifactId>msgexchange-api</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.8.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>msgexchange-api</name>
|
<name>msgexchange-api</name>
|
||||||
|
|||||||
@@ -0,0 +1,102 @@
|
|||||||
|
spring:
|
||||||
|
jpa:
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: none
|
||||||
|
naming:
|
||||||
|
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||||
|
datasource:
|
||||||
|
username: cdairport
|
||||||
|
password: 123456
|
||||||
|
url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true
|
||||||
|
tomcat:
|
||||||
|
max-active: 30
|
||||||
|
test-on-borrow: true
|
||||||
|
initial-size: 3
|
||||||
|
redis:
|
||||||
|
cluster:
|
||||||
|
nodes: 130.120.3.234:6379,130.120.3.234:6380,130.120.3.236:6379,130.120.3.236:6380,130.120.3.238:6379,130.120.3.238:6380
|
||||||
|
password:
|
||||||
|
pool:
|
||||||
|
max-idle: 10
|
||||||
|
min-idle: 0
|
||||||
|
max-active: 200
|
||||||
|
max-wait: -1
|
||||||
|
timeout: 1000
|
||||||
|
kafka:
|
||||||
|
producer:
|
||||||
|
retries: 0
|
||||||
|
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
|
||||||
|
linger: 1
|
||||||
|
batch:
|
||||||
|
size: 4096
|
||||||
|
buffer:
|
||||||
|
memory: 10240000
|
||||||
|
max:
|
||||||
|
request:
|
||||||
|
size: 10240000
|
||||||
|
consumer:
|
||||||
|
auto:
|
||||||
|
offset:
|
||||||
|
reset: latest
|
||||||
|
commit:
|
||||||
|
interval: 100
|
||||||
|
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
|
||||||
|
zookeeper:
|
||||||
|
connect: 130.120.3.234:2181,130.120.3.236:2182,130.120.3.238:2183
|
||||||
|
session:
|
||||||
|
timeout: 6000
|
||||||
|
enable:
|
||||||
|
auto:
|
||||||
|
commit: true
|
||||||
|
topic: test
|
||||||
|
concurrency: 10
|
||||||
|
group:
|
||||||
|
id: test
|
||||||
|
msgExchange:
|
||||||
|
intervalSeconds: 1
|
||||||
|
waitDateLeftOffset: 600000
|
||||||
|
logstash:
|
||||||
|
host: 130.120.3.234:5000
|
||||||
|
scheduled:
|
||||||
|
#每日凌晨3:30分点采集历史数据 0 30 3 * * ?
|
||||||
|
flightInfoCron: 0 30 3 * * ?
|
||||||
|
corePoolSize: 10
|
||||||
|
maxPoolSize: 50
|
||||||
|
queueCapacity: 10
|
||||||
|
# 每日凌晨3:00 cminmsg 已处理数据转历史
|
||||||
|
cminmsgHisCron: 0 0 3 * * ?
|
||||||
|
# 航班发送信息定时
|
||||||
|
flightSendCron: "*/3 * * * * ?"
|
||||||
|
#计入历史航班数据的条件
|
||||||
|
hstCondition:
|
||||||
|
#航班到达超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
ARRIVE_HST_TIME: 3600000
|
||||||
|
#航班取消超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
CANCEL_HST_TIME: 3600000
|
||||||
|
#备降超过多久则成为历史航班数据 FROM CTU 本应降落到成都备降到其他地方(单位:毫秒)
|
||||||
|
FDIV_HST_TIME: 59400000
|
||||||
|
#计划时间超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
SODT_HST_TIME: 259200000
|
||||||
|
|
||||||
|
# Elasticsearch
|
||||||
|
# 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
|
||||||
|
elasticsearch:
|
||||||
|
ip: 130.120.3.234
|
||||||
|
port: 9300
|
||||||
|
pool: 5
|
||||||
|
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
|
||||||
|
cluster:
|
||||||
|
name: docker-cluster
|
||||||
|
eureka:
|
||||||
|
client:
|
||||||
|
service-url:
|
||||||
|
defaultZone: http://130.120.3.231:94/eureka/
|
||||||
|
instance:
|
||||||
|
prefer-ip-address: true
|
||||||
|
adminApi:
|
||||||
|
host: 130.120.3.231
|
||||||
|
port: 92
|
||||||
|
schema: http
|
||||||
|
baseUrl: ${adminApi.schema}://${adminApi.host}:${adminApi.port}
|
||||||
|
ormsStandsUrl: ${adminApi.baseUrl}/basicdata/ormsStands
|
||||||
|
getAirbridgeCodeByStandCodeUrl: ${adminApi.baseUrl}/basicdata/ormsStands/{standCode}/airbridgeCode
|
||||||
@@ -25,7 +25,7 @@ spring:
|
|||||||
kafka:
|
kafka:
|
||||||
producer:
|
producer:
|
||||||
retries: 0
|
retries: 0
|
||||||
servers: 172.17.35.161:9092,172.17.35.161:9092,172.17.35.161:9092
|
servers: 172.17.35.160:9092,172.17.35.161:9092,172.17.35.162:9092
|
||||||
linger: 1
|
linger: 1
|
||||||
batch:
|
batch:
|
||||||
size: 4096
|
size: 4096
|
||||||
@@ -40,9 +40,9 @@ kafka:
|
|||||||
reset: latest
|
reset: latest
|
||||||
commit:
|
commit:
|
||||||
interval: 100
|
interval: 100
|
||||||
servers: 172.17.35.161:9092,172.17.35.161:9092,172.17.35.161:9092
|
servers: 172.17.35.160:9092,172.17.35.161:9092,172.17.35.162:9092
|
||||||
zookeeper:
|
zookeeper:
|
||||||
connect: 172.17.35.161:2181
|
connect: 172.17.35.160:2181,172.17.35.161:2182,172.17.35.162:2183
|
||||||
session:
|
session:
|
||||||
timeout: 6000
|
timeout: 6000
|
||||||
enable:
|
enable:
|
||||||
@@ -96,8 +96,6 @@ eureka:
|
|||||||
prefer-ip-address: false
|
prefer-ip-address: false
|
||||||
hostName: msgexchangeapi
|
hostName: msgexchangeapi
|
||||||
adminApi:
|
adminApi:
|
||||||
host: 172.17.35.163
|
|
||||||
port: 92
|
|
||||||
schema: http
|
schema: http
|
||||||
baseUrl: ${adminApi.schema}://ADMINAPI
|
baseUrl: ${adminApi.schema}://ADMINAPI
|
||||||
ormsStandsUrl: ${adminApi.baseUrl}/basicdata/ormsStands
|
ormsStandsUrl: ${adminApi.baseUrl}/basicdata/ormsStands
|
||||||
|
|||||||
@@ -0,0 +1,102 @@
|
|||||||
|
spring:
|
||||||
|
jpa:
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: none
|
||||||
|
naming:
|
||||||
|
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
|
||||||
|
datasource:
|
||||||
|
username: cdairport
|
||||||
|
password: 123456
|
||||||
|
url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true
|
||||||
|
tomcat:
|
||||||
|
max-active: 30
|
||||||
|
test-on-borrow: true
|
||||||
|
initial-size: 3
|
||||||
|
redis:
|
||||||
|
cluster:
|
||||||
|
nodes: 130.120.3.234:6379,130.120.3.234:6380,130.120.3.236:6379,130.120.3.236:6380,130.120.3.238:6379,130.120.3.238:6380
|
||||||
|
password:
|
||||||
|
pool:
|
||||||
|
max-idle: 10
|
||||||
|
min-idle: 0
|
||||||
|
max-active: 200
|
||||||
|
max-wait: -1
|
||||||
|
timeout: 1000
|
||||||
|
kafka:
|
||||||
|
producer:
|
||||||
|
retries: 0
|
||||||
|
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
|
||||||
|
linger: 1
|
||||||
|
batch:
|
||||||
|
size: 4096
|
||||||
|
buffer:
|
||||||
|
memory: 10240000
|
||||||
|
max:
|
||||||
|
request:
|
||||||
|
size: 10240000
|
||||||
|
consumer:
|
||||||
|
auto:
|
||||||
|
offset:
|
||||||
|
reset: latest
|
||||||
|
commit:
|
||||||
|
interval: 100
|
||||||
|
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
|
||||||
|
zookeeper:
|
||||||
|
connect: 130.120.3.234:2181,130.120.3.236:2182,130.120.3.238:2183
|
||||||
|
session:
|
||||||
|
timeout: 6000
|
||||||
|
enable:
|
||||||
|
auto:
|
||||||
|
commit: true
|
||||||
|
topic: test
|
||||||
|
concurrency: 10
|
||||||
|
group:
|
||||||
|
id: test
|
||||||
|
msgExchange:
|
||||||
|
intervalSeconds: 1
|
||||||
|
waitDateLeftOffset: 600000
|
||||||
|
logstash:
|
||||||
|
host: 130.120.3.234:5000
|
||||||
|
scheduled:
|
||||||
|
#每日凌晨3:30分点采集历史数据 0 30 3 * * ?
|
||||||
|
flightInfoCron: 0 30 3 * * ?
|
||||||
|
corePoolSize: 10
|
||||||
|
maxPoolSize: 50
|
||||||
|
queueCapacity: 10
|
||||||
|
# 每日凌晨3:00 cminmsg 已处理数据转历史
|
||||||
|
cminmsgHisCron: 0 0 3 * * ?
|
||||||
|
# 航班发送信息定时
|
||||||
|
flightSendCron: "*/3 * * * * ?"
|
||||||
|
#计入历史航班数据的条件
|
||||||
|
hstCondition:
|
||||||
|
#航班到达超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
ARRIVE_HST_TIME: 3600000
|
||||||
|
#航班取消超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
CANCEL_HST_TIME: 3600000
|
||||||
|
#备降超过多久则成为历史航班数据 FROM CTU 本应降落到成都备降到其他地方(单位:毫秒)
|
||||||
|
FDIV_HST_TIME: 59400000
|
||||||
|
#计划时间超过多久则成为历史航班数据(单位:毫秒)
|
||||||
|
SODT_HST_TIME: 259200000
|
||||||
|
|
||||||
|
# Elasticsearch
|
||||||
|
# 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
|
||||||
|
elasticsearch:
|
||||||
|
ip: 130.120.3.234
|
||||||
|
port: 9300
|
||||||
|
pool: 5
|
||||||
|
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
|
||||||
|
cluster:
|
||||||
|
name: docker-cluster
|
||||||
|
nodes: 130.120.3.234:9300,130.120.3.236:9300,130.120.3.238:9300
|
||||||
|
eureka:
|
||||||
|
client:
|
||||||
|
service-url:
|
||||||
|
defaultZone: http://130.120.3.232:94/eureka/
|
||||||
|
instance:
|
||||||
|
prefer-ip-address: false
|
||||||
|
hostName: msgexchangeapi
|
||||||
|
adminApi:
|
||||||
|
schema: http
|
||||||
|
baseUrl: ${adminApi.schema}://ADMINAPI
|
||||||
|
ormsStandsUrl: ${adminApi.baseUrl}/basicdata/ormsStands
|
||||||
|
getAirbridgeCodeByStandCodeUrl: ${adminApi.baseUrl}/basicdata/ormsStands/{standCode}/airbridgeCode
|
||||||
+1
-1
@@ -43,7 +43,7 @@ public class FlightHisServiceImplTest {
|
|||||||
List<FLTR> fltrsHis = flightHisServiceImpl.getHisToBeTran(fltrs);
|
List<FLTR> fltrsHis = flightHisServiceImpl.getHisToBeTran(fltrs);
|
||||||
System.out.println("等待转历史航班动态条数:"+fltrsHis.size());
|
System.out.println("等待转历史航班动态条数:"+fltrsHis.size());
|
||||||
|
|
||||||
flightHisServiceImpl.save(fltrsHis);
|
//flightHisServiceImpl.save(fltrsHis);
|
||||||
|
|
||||||
assertThat(fltrsHis).isNotEmpty();
|
assertThat(fltrsHis).isNotEmpty();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user