Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
matrix
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mall
arch
matrix
Commits
71f27b11
Commit
71f27b11
authored
Aug 09, 2019
by
QIANGLU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加加载器
parent
5904f328
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
0 deletions
+34
-0
pom.xml
logger-starter/secoo-log-starter/pom.xml
+10
-0
MatrixApplicationRunner.java
logger-starter/secoo-log-starter/src/main/java/com/secoo/mall/logs/boot/MatrixApplicationRunner.java
+24
-0
HttpClientUtils.java
logger-starter/secoo-log-starter/src/main/java/com/secoo/mall/logs/utils/HttpClientUtils.java
+0
-0
No files found.
logger-starter/secoo-log-starter/pom.xml
View file @
71f27b11
...
@@ -36,6 +36,15 @@
...
@@ -36,6 +36,15 @@
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-actuator-autoconfigure
</artifactId>
<artifactId>
spring-boot-actuator-autoconfigure
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.httpcomponents
</groupId>
<artifactId>
httpclient
</artifactId>
<version>
4.5.5
</version>
</dependency>
<dependency>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
\ No newline at end of file
logger-starter/secoo-log-starter/src/main/java/com/secoo/mall/logs/boot/MatrixApplicationRunner.java
0 → 100644
View file @
71f27b11
package
com
.
secoo
.
mall
.
logs
.
boot
;
import
org.springframework.boot.ApplicationArguments
;
import
org.springframework.boot.ApplicationRunner
;
import
org.springframework.util.StringUtils
;
/**
* 用于启动后数据加载
* @author qianglu
*/
public
class
MatrixApplicationRunner
implements
ApplicationRunner
{
private
String
url
;
public
MatrixApplicationRunner
(
String
url
)
{
if
(!
StringUtils
.
isEmpty
(
url
)){
this
.
url
=
url
;
}
}
@Override
public
void
run
(
ApplicationArguments
args
)
throws
Exception
{
}
}
logger-starter/secoo-log-starter/src/main/java/com/secoo/mall/logs/utils/HttpClientUtils.java
0 → 100644
View file @
71f27b11
This diff is collapsed.
Click to expand it.
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