Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
wei.zhou
2021-06-23 10:33:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
935e28ab644e7f59a5a48bc5194883b126abd2d0
935e28ab
1 parent
3945b202
提交代码
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
77 additions
and
43 deletions
pom.xml
src/main/java/com/erry/iclear/dateInterface/IClearApiApplication.java
src/main/java/com/erry/iclear/dateInterface/SpringBootStartApplication.java
src/main/resources/application-dev.yml
src/main/resources/application-prod.yml
src/main/resources/application-test.yml
src/main/resources/application.yml
pom.xml
View file @
935e28a
...
...
@@ -33,11 +33,7 @@
<artifactId>
spring-boot-devtools
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-tomcat
</artifactId>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
@@ -55,17 +51,6 @@
<version>
1.1.9
</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-actuator</artifactId>-->
<!-- <version>2.1.7.RELEASE</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
<!-- <version>2.1.7.RELEASE</version>-->
<!-- </dependency>-->
<dependency>
<groupId>
com.google.code.gson
</groupId>
<artifactId>
gson
</artifactId>
...
...
@@ -92,6 +77,12 @@
<artifactId>
commons-lang3
</artifactId>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<version>
3.1.0
</version>
<scope>
provided
</scope>
</dependency>
...
...
@@ -127,6 +118,22 @@
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
</plugins>
<resources>
<resource>
<directory>
src/main/java
</directory>
<includes>
<include>
**/*.xml
</include>
</includes>
<filtering>
false
</filtering>
</resource>
<resource>
<directory>
src/main/resources
</directory>
<includes>
<include>
**/*.*
</include>
</includes>
</resource>
</resources>
<finalName>
${artifactId}-${version}_${activatedProperties}
</finalName>
</build>
</project>
...
...
src/main/java/com/erry/iclear/dateInterface/IClearApiApplication.java
View file @
935e28a
...
...
@@ -22,6 +22,4 @@ public class IClearApiApplication {
SpringApplication
.
run
(
IClearApiApplication
.
class
,
args
);
}
}
...
...
src/main/java/com/erry/iclear/dateInterface/SpringBootStartApplication.java
0 → 100644
View file @
935e28a
package
com
.
erry
.
iclear
.
dateInterface
;
import
org.springframework.boot.builder.SpringApplicationBuilder
;
import
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
;
/**
* @author Administrator
*/
public
class
SpringBootStartApplication
extends
SpringBootServletInitializer
{
@Override
protected
SpringApplicationBuilder
configure
(
SpringApplicationBuilder
builder
)
{
return
builder
.
sources
(
IClearApiApplication
.
class
);
}
}
\ No newline at end of file
src/main/resources/application-dev.yml
View file @
935e28a
server
:
port
:
8080
spring
:
application
:
name
:
iClearExport.DataInterface
profiles
:
active
:
@
activatedProperties@
jpa
:
database
:
sql_server
show-sql
:
true
...
...
src/main/resources/application-prod.yml
View file @
935e28a
server
:
port
:
8080
spring
:
application
:
name
:
iClearExport.DataInterface
profiles
:
active
:
@
activatedProperties@
jpa
:
database
:
sql_server
show-sql
:
true
hibernate
:
ddl-auto
:
none
naming
:
physical-strategy
:
org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
datasource
:
url
:
jdbc:sqlserver://yilansql.database.chinacloudapi.cn:1433;DatabaseName=IClear_Prod
username
:
sqladmin
password
:
ZXC1@3asd2019
driver-class-name
:
com.microsoft.sqlserver.jdbc.SQLServerDriver
type
:
com.alibaba.druid.pool.DruidDataSource
task
:
pushMawbToIClear
:
0 0/1 * * * ?
\ No newline at end of file
...
...
src/main/resources/application-test.yml
View file @
935e28a
server
:
port
:
8080
spring
:
application
:
name
:
iClearExport.DataInterface
profiles
:
active
:
@
activatedProperties@
jpa
:
database
:
sql_server
show-sql
:
true
hibernate
:
ddl-auto
:
none
naming
:
physical-strategy
:
org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
datasource
:
url
:
jdbc:sqlserver://40.73.78.157:1433;DatabaseName=IClearDemo
username
:
sa
password
:
Fedex_123
driver-class-name
:
com.microsoft.sqlserver.jdbc.SQLServerDriver
type
:
com.alibaba.druid.pool.DruidDataSource
task
:
pushMawbToIClear
:
0 0/1 * * * ?
\ No newline at end of file
pushMawbToIClear
:
0 0/1 * * * ?
...
...
src/main/resources/application.yml
0 → 100644
View file @
935e28a
server
:
port
:
8080
spring
:
application
:
name
:
iClearExport.DataInterface
profiles
:
active
:
test
Please
register
or
login
to post a comment