Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sso
Commits
862e75fd
Commit
862e75fd
authored
Jul 09, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
1678f158
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
51 deletions
+51
-51
ZMISD009SOCREATIONTask.java
...ava/com/schneider_distributor/ZMISD009SOCREATIONTask.java
+2
-2
application-dev.yml
src/main/resources/application-dev.yml
+24
-24
application-pro.yml
src/main/resources/application-pro.yml
+24
-24
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/java/com/schneider_distributor/ZMISD009SOCREATIONTask.java
View file @
862e75fd
...
...
@@ -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
();
}
...
...
src/main/resources/application-dev.yml
View file @
862e75fd
wsUsername
:
test
wsPassword
:
78258c537d6e4d5fb210a57d05619fb6
sap
:
009
:
wsdl
:
http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron
:
0 0 0 * * ?
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
url
:
'
jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username
:
root
password
:
'
egolm#2018'
maxActive
:
20
...
...
src/main/resources/application-pro.yml
View file @
862e75fd
wsUsername
:
schneider
wsPassword
:
f14d4a80f823438a875b1924384c944c
sap
:
009
:
wsdl
:
http://schneider-distributor.com/Z_MI_SD_009_SO_CREATION.wsdl
cron
:
0 0 0 * * ?
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
url
:
'
jdbc:mysql://10.10.0.111:3306/sso?useSSL=false&useUnicode=true&characterEncoding=utf8'
username
:
root
password
:
'
egolm#2018'
maxActive
:
20
...
...
src/main/resources/application.yml
View file @
862e75fd
server
:
port
:
909
0
port
:
808
0
spring
:
profiles
:
active
:
dev
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment