作者 王志平

测试

redisKeyGenerator:
basicKey: keyGen
sequenceKey: ${redisKeyGenerator.basicKey}:sequenceWithBasic
reportFileBasePath: C:/amazon
uploadReportFileBasePath: C:/amazon/2017manualFile
imageFilePath: http://accessories.wishcrawlerreport.qa.aukeyit.com/
## spring security 配置
security:
oauth2:
... ... @@ -7,11 +15,227 @@ security:
scope: server
# 数据源配置
spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
joda-date-time-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: trobs
password: dfU76$N(kp
url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
primary:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/amazon_report_crawler?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: amazon_report_crawler
password: amazon_report_crawler@Aukeys2017
max-active: 50
min-idle: 5
initial-size: 5
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
productms:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/product_ms?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true
username: proms
password: proms149&qa2
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
fbastock:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/fba_stock?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true
username: xmdo
password: xmdao123#li
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
financialplatformsalesstockout:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/financial_platform_income_2018?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: financial_platform
password: financial_platform_income@Aukey#2018
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
infra:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/kingdee_infra?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: kingdee_infra
password: kingdee@Infra91
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
financialPlatformSalesStockOutData:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/financial_platform_sales_stock_out?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: financial_platform
password: financial_platform_income@Aukey#2018
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: true
test-while-idle: true
time-between-eviction-runs-millis: 20000
edsqlserver:
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
url: jdbc:sqlserver://10.1.1.123:1433;DatabaseName=AukeysOrder
username: AukeyFinance
password: aukeys@123
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1
test-on-borrow: false
test-while-idle: true
time-between-eviction-runs-millis: 20000
overseashipments:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/oversea_shipments?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: bya_reader
password: BYA@aukey2018
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: false
test-while-idle: true
time-between-eviction-runs-millis: 20000
by-auto-crawler:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://139.9.35.109:3306/by_auto_crawler?useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&autoReconnect=true
username: yecai_user
password: KE!^r69%V^v8
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: false
test-while-idle: true
time-between-eviction-runs-millis: 20000
newoverseaselfshipment:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://10.1.1.86:3306/oversea_self_shipment_order_center?useUnicode=true&characterEncoding=utf8&useSSL=true&allowMultiQueries=true&autoReconnect=true
username: overseaf_test
password: oversea@2020Tx
max-active: 20
min-idle: 2
initial-size: 2
max-wait: 10000
validation-query: SELECT 1 FROM DUAL
test-on-borrow: false
test-while-idle: true
time-between-eviction-runs-millis: 20000
resources:
static-locations: classpath:/static/,classpath:/views/
redis:
database: 11
host: redis02.aukeyit.com
port: 6378
password:
pool:
max-active: 200
max-wait: -1
max-idle: 30
min-idle: 10
multipart:
maxFileSize: 100MB
maxRequestSize: 100MB
application:
version: 1.0.00000
formatted-version: (${spring.application.name}.v${application.version})
string.version.number: ${application.version}
certificate:
url: http://eas-client.qa.aukeyit.com/eas/addVoucher
#url: http://localhost:8017/eas/addVoucher
saleCertificate:
url: http://eas-client.qa.aukeyit.com/eas/addSaleOutOrder
amazon:
executor:
order-pull-by-id: # 根据订单ID拉取订单详细调度
enabled: false
threadSize: 9
threadFactoryClassName: com.aukey.st.amazon.report.crawler.external.core.AmazonOrderPullThreadFactory
taskTimeout: 1800
sequenceRedisKey: amazon:order_by_id_2:AR_SEQ
runningIndexRedisKey: amazon:order_by_id_2:AR_RUN_SET
apiRequestRate: 65
order-pull:
default-pull-time: 2017-07-10 00:00:00 # 亚马逊订单默认的最后拉取时间
# 下面两个字段列子说明, 如果上次拉取时间为: 11:10:00 那么下次拉取时间计算得到间隔为:
# 11:10:00减去{pull-time-overlay-min}的10分钟 至 11:10:00加上{pull-time-min}的20分钟
pull-time-min: 180 # 每次从亚马逊拉取间隔为多长时间的订单 (分钟)
pull-time-overlay-min: 10 # 每次从亚马逊拉取订单覆盖上次拉取时间, 容错处理 (分钟)
pull-time-min-small: 20 # 如果每次轮询时间已经到达当前时间{pull-time-min}时间跨度过大无法拉取就使用该值跨度, 该值必须小于{pull-time-min}
api-delay-min: 4 # 亚马逊api最新数据延迟时间(分钟), api文档说明2分钟, 这里最好大于2分钟
api-retry-size: 3 # 亚马逊api 订单列表调用失败重试次数
api-nexttoken-retry-size: 5 # 亚马逊api 订单列表nextToken情况调用失败重试次数
authorize-configs: # 授权信息 secret-key 配置
11:
secret-key: V7N0QDUqKwUY0LbqrlZApbUpMLPaCsDm7eZBPZR5
site-group-name: 北美地区
12:
secret-key: Paq47F9rFeYsLhzy2KGUU04uS96XdmVMuVp63jqC
site-group-name: 欧洲
13:
secret-key: xTSJocfS/uIHhAgThm2RM7AI1s9zwoSE4K/LQME5
site-group-name: 远东地区
14:
secret-key: wwe/gH0Sl/oLBZOFz1Vx1vfrkrUVUzCaliTLyww4
site-group-name: 加拿大
\ No newline at end of file
... ...