wei.zhou

提交代码

......@@ -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>
......
......@@ -22,6 +22,4 @@ public class IClearApiApplication {
SpringApplication.run(IClearApiApplication.class, args);
}
}
......
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
server:
port: 8080
spring:
application:
name: iClearExport.DataInterface
profiles:
active: @activatedProperties@
jpa:
database: sql_server
show-sql: true
......
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
......
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 * * * ?
......
server:
port: 8080
spring:
application:
name: iClearExport.DataInterface
profiles:
active: test