aukey-finance-business-purchase-dev.yml
8.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
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:
client:
client-id: ENC(UxQwMOjhgl6mYkUx8f2J8F2OIfrtdndrYbn7133tV0NJqpmrw3BEaQ==)
client-secret: ENC(UxQwMOjhgl6mYkUx8f2J8F2OIfrtdndrYbn7133tV0NJqpmrw3BEaQ==)
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:
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
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: 加拿大