Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
miria-project-test
Project
Project
Details
Activity
Releases
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
张征龙
miria-project-test
Commits
e52cb9a5
Commit
e52cb9a5
authored
Sep 29, 2019
by
张征龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test1
parents
bed8fe76
01971e5c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
6 deletions
+15
-6
Dockerfile
Dockerfile
+1
-0
README.md
README.md
+2
-2
build.gradle
build.gradle
+3
-3
settings.gradle
settings.gradle
+4
-0
MonitorController.java
...uiba/miria/project/test/controller/MonitorController.java
+1
-1
BaseTest.java
src/test/java/cn/com/duiba/miria/project/test/BaseTest.java
+2
-0
test.txt
test.txt
+2
-0
No files found.
Dockerfile
View file @
e52cb9a5
...
...
@@ -8,4 +8,5 @@ ADD ./duiba-deploy /root/duiba-deploy/
ADD
./scripts /root/scripts
#define entry point which will be run first when the container starts up
ENTRYPOINT
java $JAVA_OPS -jar /root/duiba-deploy/$appname.jar --spring.profiles.active=$SPRING_ENV --spring.cloud.config.uri=$CONFIG_SERVER
\ No newline at end of file
README.md
View file @
e52cb9a5
# readmwwww
\ No newline at end of file
# readme
\ No newline at end of file
build.gradle
View file @
e52cb9a5
...
...
@@ -12,6 +12,7 @@ buildscript {
maven
{
url
'http://repo.spring.io/plugins-release'
}
mavenCentral
()
}
dependencies
{
classpath
"io.spring.gradle:dependency-management-plugin:0.6.1.RELEASE"
classpath
'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5'
//sonarqube
...
...
@@ -44,7 +45,6 @@ jar {
archiveName
=
"miria-project-test.jar"
manifest
{
attributes
'Main-Class'
:
'cn.com.duiba.miria.project.test.Application'
}
}
configurations
{
all
*.
exclude
group:
'log4j'
,
module:
'log4j'
all
*.
exclude
group:
'org.slf4j'
,
module:
'slf4j-log4j12'
...
...
@@ -63,7 +63,7 @@ dependencyManagement {
dependencies
{
imports
{
mavenBom
'cn.com.duiba.boot:spring-boot-ext-dependencies:1.2.
112
'
mavenBom
'cn.com.duiba.boot:spring-boot-ext-dependencies:1.2.
224.log
'
mavenBom
"org.springframework.boot:spring-boot-dependencies:${springBootVersion}"
mavenBom
'org.springframework.cloud:spring-cloud-dependencies:Edgware.RELEASE'
}
...
...
@@ -134,8 +134,8 @@ uploadArchives {
}
}
}
}
task
listJars
(
description:
'Display all compile jars.'
)
<<
{
configurations
.
compile
.
each
{
File
file
->
println
file
.
name
}
}
...
...
settings.gradle
View file @
e52cb9a5
rootProject
.
name
=
'miria-project-test'
src/main/java/cn/com/duiba/miria/project/test/controller/MonitorController.java
View file @
e52cb9a5
...
...
@@ -37,7 +37,7 @@ public class MonitorController {
@ResponseBody
public
String
test
(){
String
res
=
"ok"
;
log
.
info
(
"连接{}"
,
res
);
log
.
info
(
"连接
12
{}"
,
res
);
return
res
;
}
...
...
src/test/java/cn/com/duiba/miria/project/test/BaseTest.java
View file @
e52cb9a5
...
...
@@ -12,4 +12,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@AutoConfigureMockMvc
public
abstract
class
BaseTest
{
}
test.txt
0 → 100644
View file @
e52cb9a5
git checkout -b dev
git checkout -b 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