File tree Expand file tree Collapse file tree 3 files changed +13
-15
lines changed
java/aist/edge/edgeservice Expand file tree Collapse file tree 3 files changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ dependencies {
4545 compile(' org.springframework.security:spring-security-test' )
4646 compile(' org.springframework.cloud:spring-cloud-starter-eureka' )
4747 compile(' org.springframework.cloud:spring-cloud-starter-hystrix' )
48- // compile('org.springframework.cloud:spring-cloud-starter-oauth2')
48+ compile(' org.springframework.cloud:spring-cloud-starter-oauth2' )
4949 compile(' org.springframework.cloud:spring-cloud-starter-zuul' )
5050 compile(' org.springframework.boot:spring-boot-starter-web' )
5151 providedRuntime(' org.springframework.boot:spring-boot-starter-tomcat' )
Original file line number Diff line number Diff line change 55import org .springframework .cloud .netflix .eureka .EnableEurekaClient ;
66import org .springframework .cloud .netflix .hystrix .EnableHystrix ;
77import org .springframework .cloud .netflix .zuul .EnableZuulProxy ;
8- // import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
8+ import org .springframework .security .oauth2 .config .annotation .web .configuration .EnableResourceServer ;
99
1010@ SpringBootApplication
1111@ EnableEurekaClient
1212@ EnableZuulProxy
13- // @EnableResourceServer
13+ @ EnableResourceServer
1414@ EnableHystrix
1515public class EdgeServiceApplication {
1616 public static void main (String [] args ) {
Original file line number Diff line number Diff line change 11spring :
22 profiles :
3- active : docker
3+ active : development
44---
55spring :
66 profiles : development
77 application :
8- name : edge-service
8+ name : edgeservice
99zuul :
10- ignored-services : ' *'
11- ignoredPatterns : /**/api/**
10+ prefix : /api
1211 routes :
13- example-service : /example/**
12+ trip-cmd :
13+ path : /trip/cmd/**
14+ url : http://tripmanagementcmd:8080/api
15+ trip-query :
16+ path : /trip/query/**
17+ url : http://tripmanagementquery:8080/api
1418security :
1519 oauth2 :
1620 resource :
@@ -29,7 +33,7 @@ eureka:
2933spring :
3034 profiles : docker
3135 application :
32- name : edge-service
36+ name : edgeservice
3337zuul :
3438 prefix : /api
3539 routes :
3943 trip-query :
4044 path : /trip/query/**
4145 url : http://tripmanagementquery:8080/api
42- gmaps :
43- path : /gmaps/**
44- url : http://gmapsadapter:8080/api
45- calculation :
46- path : /calculation/service/**
47- url : http://calculationservice:8080/api
4846security :
4947 oauth2 :
5048 resource :
You can’t perform that action at this time.
0 commit comments