Commit 862e75fd authored by Quxl's avatar Quxl

x

parent 1678f158
......@@ -22,10 +22,10 @@ public class ZMISD009SOCREATIONTask {
@Autowired
private JdbcTemplate jdbcTemplate;
@Value("${sap.009.wsdl}")
@Value("${SAP.NO009.WSDL}")
private String wsdlLocaltion;
@Scheduled(cron="${sap.009.cron}")
@Scheduled(cron="${SAP.NO009.WSDL}")
public void execute() throws Exception {
this.runTask();
}
......
wsUsername: test
wsPassword: 78258c537d6e4d5fb210a57d05619fb6
sap:
009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8
username: root
password: 'egolm#2018'
maxActive: 20
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: true
testOnReturn: true
poolPreparedStatements: true
wsUsername: test
wsPassword: 78258c537d6e4d5fb210a57d05619fb6
SAP:
NO009:
WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
CRON: '0 0 0 * * ?'
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: 'jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username: root
password: 'egolm#2018'
maxActive: 20
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: true
testOnReturn: true
poolPreparedStatements: true
maxOpenPreparedStatements: 20
\ No newline at end of file
wsUsername: schneider
wsPassword: f14d4a80f823438a875b1924384c944c
sap:
009:
wsdl: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron: 0 0 0 * * ?
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8
username: root
password: 'egolm#2018'
maxActive: 20
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: true
testOnReturn: true
poolPreparedStatements: true
wsUsername: schneider
wsPassword: f14d4a80f823438a875b1924384c944c
SAP:
NO009:
WSDL: http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
CRON: '0 0 0 * * ?'
spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver
url: 'jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username: root
password: 'egolm#2018'
maxActive: 20
initialSize: 1
maxWait: 60000
minIdle: 1
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis: 300000
validationQuery: SELECT 1 FROM DUAL
testWhileIdle: true
testOnBorrow: true
testOnReturn: true
poolPreparedStatements: true
maxOpenPreparedStatements: 20
\ No newline at end of file
server:
port: 9090
port: 8080
spring:
profiles:
active: dev
......
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