diff --git a/server-apigateway/build.gradle b/server-apigateway/build.gradle index b482476..1de638b 100644 --- a/server-apigateway/build.gradle +++ b/server-apigateway/build.gradle @@ -35,4 +35,6 @@ dependencyManagement { test { useJUnitPlatform() -} \ No newline at end of file +} + +//apigateway \ No newline at end of file diff --git a/server-apigateway/src/main/java/com/team13/ServerApiGatewayApplication.java b/server-apigateway/src/main/java/com/team13/ServerApiGatewayApplication.java index a99510a..c59ae7c 100644 --- a/server-apigateway/src/main/java/com/team13/ServerApiGatewayApplication.java +++ b/server-apigateway/src/main/java/com/team13/ServerApiGatewayApplication.java @@ -7,6 +7,7 @@ @SpringBootApplication @EnableDiscoveryClient public class ServerApiGatewayApplication { + //apigateway public static void main(String[] args) { SpringApplication.run(ServerApiGatewayApplication.class, args); } diff --git a/server-apigateway/src/main/resources/application.yml b/server-apigateway/src/main/resources/application.yml index f1a2bd0..23cb308 100644 --- a/server-apigateway/src/main/resources/application.yml +++ b/server-apigateway/src/main/resources/application.yml @@ -46,8 +46,10 @@ eureka: serviceUrl: defaultZone: http://localhost:3743/eureka + management: endpoints: web: exposure: include: "*" +#apigateway \ No newline at end of file diff --git a/server-eureka/src/main/resources/application.yml b/server-eureka/src/main/resources/application.yml index 4aa0346..fe62e79 100644 --- a/server-eureka/src/main/resources/application.yml +++ b/server-eureka/src/main/resources/application.yml @@ -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 표기 + +