File tree Expand file tree Collapse file tree 5 files changed +35
-6
lines changed
report/src/main/java/com/microservices/report Expand file tree Collapse file tree 5 files changed +35
-6
lines changed Original file line number Diff line number Diff line change 55import org .springframework .beans .factory .annotation .Autowired ;
66import org .springframework .web .bind .annotation .GetMapping ;
77import org .springframework .web .bind .annotation .PathVariable ;
8- import org .springframework .web .bind .annotation .RequestMapping ;
98import org .springframework .web .bind .annotation .RestController ;
109
1110import com .microservices .report .repositories .FeignRepository ;
1211
13- @ RequestMapping ("report" )
1412@ RestController
1513public class ReportRestController {
1614
Original file line number Diff line number Diff line change 77import org .springframework .web .bind .annotation .GetMapping ;
88import org .springframework .web .bind .annotation .PathVariable ;
99
10- @ FeignClient (name = "faculty" )
10+ @ FeignClient (name = "faculty" )
1111@ RibbonClient (name ="faculty" )
1212public interface FeignRepository {
1313
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" standalone =" no" ?>
2+ <launchConfiguration type =" org.springframework.ide.eclipse.boot.launch" >
3+ <listAttribute key =" org.eclipse.debug.core.MAPPED_RESOURCE_PATHS" >
4+ <listEntry value =" /zuul/src/main/java/com/microservices/zuul/ZuulApplication.java" />
5+ </listAttribute >
6+ <listAttribute key =" org.eclipse.debug.core.MAPPED_RESOURCE_TYPES" >
7+ <listEntry value =" 1" />
8+ </listAttribute >
9+ <stringAttribute key =" org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value =" org.springframework.ide.eclipse.boot.launch.BootMavenClassPathProvider" />
10+ <stringAttribute key =" org.eclipse.jdt.launching.MAIN_TYPE" value =" com.microservices.zuul.ZuulApplication" />
11+ <stringAttribute key =" org.eclipse.jdt.launching.PROJECT_ATTR" value =" zuul" />
12+ <stringAttribute key =" org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value =" org.springframework.ide.eclipse.boot.launch.BootMavenSourcePathProvider" />
13+ <stringAttribute key =" process_factory_id" value =" org.springframework.ide.eclipse.boot.launch.process.BootProcessFactory" />
14+ <booleanAttribute key =" spring.boot.ansi.console" value =" true" />
15+ <stringAttribute key =" spring.boot.app.properties" value =" " />
16+ <booleanAttribute key =" spring.boot.dash.hidden" value =" false" />
17+ <booleanAttribute key =" spring.boot.debug.enable" value =" false" />
18+ <booleanAttribute key =" spring.boot.fast.startup" value =" true" />
19+ <booleanAttribute key =" spring.boot.jmx.enable" value =" true" />
20+ <booleanAttribute key =" spring.boot.lifecycle.enable" value =" true" />
21+ <stringAttribute key =" spring.boot.lifecycle.termination.timeout" value =" 15000" />
22+ <booleanAttribute key =" spring.boot.livebean.enable" value =" false" />
23+ <stringAttribute key =" spring.boot.livebean.port" value =" 0" />
24+ <stringAttribute key =" spring.boot.profile" value =" " />
25+ </launchConfiguration >
Original file line number Diff line number Diff line change 5656 <groupId >org.springframework.boot</groupId >
5757 <artifactId >spring-boot-maven-plugin</artifactId >
5858 <configuration >
59- <excludes >
60- <exclude >launch/*.launch</exclude >
61- </excludes >
6259 </configuration >
6360 </plugin >
6461 </plugins >
Original file line number Diff line number Diff line change 1+ eureka :
2+ client :
3+ service-url :
4+ default-zone : http://localhost:8761/eureka
5+ server :
6+ port : 8765
7+ spring :
8+ application :
9+ name : zuul
You can’t perform that action at this time.
0 commit comments