|
|
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:
|
...
|
...
|
@@ -15,79 +7,11 @@ 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
|
|
|
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
|
|
|
|
|
|
url:
|
|
|
cas:
|
|
|
server: http://cas.qa.aukeyit.com
|
|
|
pr:
|
|
|
native: http://amzcrawler.qa.aukeyit.com
|
|
|
|
|
|
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 |
...
|
...
|
|