Skip to content

Commit

Permalink
feat: apigateway 재업로드
Browse files Browse the repository at this point in the history
  • Loading branch information
joamksh committed Jul 22, 2024
1 parent fb17404 commit b2d356d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server-apigateway/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ dependencyManagement {

test {
useJUnitPlatform()
}
}

//apigateway
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@SpringBootApplication
@EnableDiscoveryClient
public class ServerApiGatewayApplication {
//apigateway
public static void main(String[] args) {
SpringApplication.run(ServerApiGatewayApplication.class, args);
}
Expand Down
2 changes: 2 additions & 0 deletions server-apigateway/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ eureka:
serviceUrl:
defaultZone: http://localhost:3743/eureka


management:
endpoints:
web:
exposure:
include: "*"
#apigateway
5 changes: 5 additions & 0 deletions server-eureka/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ spring:
config:
import: optional:configserver:http://localhost:3964


eureka:
client:
register-with-eureka: false
fetch-registry: false
service-url:
defaultZone: http://localhost:${server.port}/eureka/

#설정 본인 url 표기


0 comments on commit b2d356d

Please sign in to comment.