Commit 1d5f5f4d authored by Ali Saeed's avatar Ali Saeed

save changes

parent fea1f7e5
......@@ -3,6 +3,9 @@ package org.example;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
@EnableDiscoveryClient
......@@ -10,4 +13,5 @@ public class CloudGatewayZone2Application {
public static void main(String[] args) {
SpringApplication.run(CloudGatewayZone2Application.class, args);
}
}
......@@ -5,7 +5,7 @@ eureka:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
registerWithEureka: false
preferSameZoneEureka: true
preferSameZoneEureka: true
instance:
metadataMap:
zone: latakia
......@@ -38,4 +38,4 @@ spring:
- id: users-service-latakia-zone
uri: lb://users-service
predicates:
- Path=/users/**
- Path=/users/**
\ No newline at end of file
......@@ -5,7 +5,7 @@ eureka:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
registerWithEureka: false
preferSameZoneEureka: true
preferSameZoneEureka: true
instance:
metadataMap:
zone: latakia
......@@ -38,4 +38,4 @@ spring:
- id: users-service-latakia-zone
uri: lb://users-service
predicates:
- Path=/users/**
- Path=/users/**
\ No newline at end of file
......@@ -5,7 +5,7 @@ eureka:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
registerWithEureka: false
preferSameZoneEureka: true
preferSameZoneEureka: true
instance:
metadataMap:
zone: damascus
......
......@@ -5,7 +5,7 @@ eureka:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
registerWithEureka: false
preferSameZoneEureka: true
preferSameZoneEureka: true
instance:
metadataMap:
zone: damascus
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -12036,3 +12036,19 @@ java.lang.IllegalStateException: Client instance has been closed.
2024-04-27 23:49:48.893 [main] DEBUG o.e.ServiceDiscoveryApplication - Running with Spring Boot v3.0.1, Spring v6.0.3
2024-04-27 23:49:48.897 [main] INFO o.e.ServiceDiscoveryApplication - No active profile set, falling back to 1 default profile: "default"
2024-04-27 23:50:04.989 [main] INFO o.e.ServiceDiscoveryApplication - Started ServiceDiscoveryApplication in 18.687 seconds (process running for 20.271)
2024-04-28 00:31:24.983 [main] INFO o.e.ServiceDiscoveryApplication - Starting ServiceDiscoveryApplication using Java 17 with PID 10380 (D:\Second Semester\Advanced DS\Practical\New folder\micro-services\service-discovery\target\classes started by dell in D:\Second Semester\Advanced DS\Practical\New folder\micro-services)
2024-04-28 00:31:24.991 [main] DEBUG o.e.ServiceDiscoveryApplication - Running with Spring Boot v3.0.1, Spring v6.0.3
2024-04-28 00:31:24.995 [main] INFO o.e.ServiceDiscoveryApplication - No active profile set, falling back to 1 default profile: "default"
2024-04-28 00:31:40.637 [main] INFO o.e.ServiceDiscoveryApplication - Started ServiceDiscoveryApplication in 18.543 seconds (process running for 20.719)
2024-04-28 00:37:53.386 [main] INFO o.e.ServiceDiscoveryApplication - Starting ServiceDiscoveryApplication using Java 17 with PID 8672 (D:\Second Semester\Advanced DS\Practical\New folder\micro-services\service-discovery\target\classes started by dell in D:\Second Semester\Advanced DS\Practical\New folder\micro-services)
2024-04-28 00:37:53.391 [main] DEBUG o.e.ServiceDiscoveryApplication - Running with Spring Boot v3.0.1, Spring v6.0.3
2024-04-28 00:37:53.394 [main] INFO o.e.ServiceDiscoveryApplication - No active profile set, falling back to 1 default profile: "default"
2024-04-28 00:38:10.553 [main] INFO o.e.ServiceDiscoveryApplication - Started ServiceDiscoveryApplication in 20.198 seconds (process running for 24.265)
2024-04-28 01:17:15.475 [main] INFO o.e.ServiceDiscoveryApplication - Starting ServiceDiscoveryApplication using Java 17 with PID 8248 (D:\Second Semester\Advanced DS\Practical\New folder\micro-services\service-discovery\target\classes started by dell in D:\Second Semester\Advanced DS\Practical\New folder\micro-services)
2024-04-28 01:17:15.481 [main] DEBUG o.e.ServiceDiscoveryApplication - Running with Spring Boot v3.0.1, Spring v6.0.3
2024-04-28 01:17:15.484 [main] INFO o.e.ServiceDiscoveryApplication - No active profile set, falling back to 1 default profile: "default"
2024-04-28 01:17:33.277 [main] INFO o.e.ServiceDiscoveryApplication - Started ServiceDiscoveryApplication in 20.875 seconds (process running for 22.885)
2024-04-28 13:28:56.979 [main] INFO o.e.ServiceDiscoveryApplication - Starting ServiceDiscoveryApplication using Java 17 with PID 7540 (D:\Second Semester\Advanced DS\Practical\New folder\micro-services\service-discovery\target\classes started by dell in D:\Second Semester\Advanced DS\Practical\New folder\micro-services)
2024-04-28 13:28:57.060 [main] DEBUG o.e.ServiceDiscoveryApplication - Running with Spring Boot v3.0.1, Spring v6.0.3
2024-04-28 13:28:57.063 [main] INFO o.e.ServiceDiscoveryApplication - No active profile set, falling back to 1 default profile: "default"
2024-04-28 13:29:17.388 [main] INFO o.e.ServiceDiscoveryApplication - Started ServiceDiscoveryApplication in 23.264 seconds (process running for 25.945)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment