Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
project-template
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
郭燕飞
project-template
Commits
ad8241cd
Commit
ad8241cd
authored
Feb 01, 2018
by
郭燕飞
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
aba7642a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
Application.java
...ate/bizModule/sources/groupid/artifactid/Application.java
+0
-1
BaseTest.java
...e/bizModule/test-sources/groupid/artifactid/BaseTest.java
+1
-2
No files found.
service-template/bizModule/sources/groupid/artifactid/Application.java
View file @
ad8241cd
...
...
@@ -8,7 +8,6 @@ import org.springframework.cloud.netflix.feign.EnableDuibaFeignClients;
import
org.springframework.context.annotation.ImportResource
;
@SpringBootApplication
@ImportResource
({
"classpath:/spring/spring-config.xml"
})
@EnableDiscoveryClient
@EnableCircuitBreaker
@EnableDuibaFeignClients
(
basePackages
=
{
"{groupId}"
})
...
...
service-template/bizModule/test-sources/groupid/artifactid/BaseTest.java
View file @
ad8241cd
package
{
groupId
}.{
artifactIdPackage
};
import
cn.com.duiba.duiba.service.demo.biz
.Application
;
import
{
groupId
}.{
artifactIdPackage
}
.
Application
;
import
org.junit.runner.RunWith
;
import
org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
org.springframework.transaction.annotation.Transactional
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
(
...
...
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