Skip to content

Commit 2388c3f

Browse files
committed
remove eureka component
1 parent 22d7eed commit 2388c3f

File tree

38 files changed

+18
-1062
lines changed

38 files changed

+18
-1062
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ The following sections contain a short description of each service:
4040
The Risk-Management client is a command-line tool built with [Node.js](https://nodejs.org). It allows the
4141
professionals of Lakeside Mutual to periodically download a customer data report which helps them during risk assessment.
4242

43-
- **[Eureka Server](eureka-server)**
44-
[Eureka Server](https://spring.io/guides/gs/service-registration-and-discovery/#initial) provides a service registry. It is a regular Spring Boot application to which all other Spring services can connect to access other services. For example, the Customer Self-Service Backend uses Eureka to connect to the Customer Core. Usage of Eureka is optional.
45-
4643
- **[Spring Boot Admin](spring-boot-admin)**
4744
[Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) is an open source software for managing and monitoring Spring Boot applications. It *is* a Spring Boot application too. Usage within the Lakeside Mutual services is optional and only included for convenience with all security disabled.
4845

@@ -77,7 +74,6 @@ consult the README of the corresponding component:
7774
| [Customer Management Frontend](customer-management-frontend) | 3020 (Web server) |
7875
| [Risk Management Server](risk-management-server) | 50051 (gRPC server) |
7976
| [Risk Management Client](risk-management-client) | - (CLI Client) |
80-
| [Eureka Server](eureka-server) | 8761 (Admin web frontend) |
8177
| [Spring Boot Admin](spring-boot-admin) | 9000 (Web server) |
8278

8379
## Docker

customer-core/pom.xml

-22
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2323
<java.version>21</java.version>
2424

25-
<!-- Spring Dependency Versions -->
26-
<spring-cloud-dependencies.version>2023.0.3</spring-cloud-dependencies.version>
2725
<!-- Other Dependency Versions -->
2826
<domaindrivendesign-library.version>0.2.4</domaindrivendesign-library.version>
2927
<jjwt-api.version>0.12.6</jjwt-api.version>
@@ -38,18 +36,6 @@
3836
<archunit-junit4.version>1.3.0</archunit-junit4.version>
3937
</properties>
4038

41-
<dependencyManagement>
42-
<dependencies>
43-
<dependency>
44-
<groupId>org.springframework.cloud</groupId>
45-
<artifactId>spring-cloud-dependencies</artifactId>
46-
<version>${spring-cloud-dependencies.version}</version>
47-
<type>pom</type>
48-
<scope>import</scope>
49-
</dependency>
50-
</dependencies>
51-
</dependencyManagement>
52-
5339
<dependencies>
5440
<!-- Spring Dependencies -->
5541
<dependency>
@@ -76,14 +62,6 @@
7662
<groupId>org.springframework.boot</groupId>
7763
<artifactId>spring-boot-starter-thymeleaf</artifactId>
7864
</dependency>
79-
<dependency>
80-
<groupId>org.springframework.cloud</groupId>
81-
<artifactId>spring-cloud-starter-config</artifactId>
82-
</dependency>
83-
<dependency>
84-
<groupId>org.springframework.cloud</groupId>
85-
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
86-
</dependency>
8765
<dependency>
8866
<groupId>org.springframework.boot</groupId>
8967
<artifactId>spring-boot-devtools</artifactId>

customer-core/src/main/resources/application-default.properties

-3
This file was deleted.

customer-core/src/main/resources/application-eureka.properties

-3
This file was deleted.

customer-core/src/main/resources/application.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,6 @@ apikey.validkeys=b318ad736c6c844b;999ab497f8ec1052;9b93ebe19e16bbbd
2525
spring.main.allow-bean-definition-overriding=true
2626

2727
# Enable request logging, see the RequestLoggingFilterConfig for details
28-
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG
28+
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG
29+
30+
spring.boot.admin.client.url = http://localhost:9000

customer-management-backend/pom.xml

-4
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@
7979
<groupId>org.springframework.hateoas</groupId>
8080
<artifactId>spring-hateoas</artifactId>
8181
</dependency>
82-
<dependency>
83-
<groupId>org.springframework.cloud</groupId>
84-
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
85-
</dependency>
8682
<dependency>
8783
<groupId>org.springframework.cloud</groupId>
8884
<artifactId>spring-cloud-starter-openfeign</artifactId>

customer-management-backend/src/main/java/com/lakesidemutual/customermanagement/interfaces/configuration/EurekaAuthenticatedRestTemplateClient.java

-34
This file was deleted.

customer-management-backend/src/main/resources/application-default.properties

-3
This file was deleted.

customer-management-backend/src/main/resources/application-eureka.properties

-5
This file was deleted.

customer-management-backend/src/main/resources/application.properties

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,7 @@ spring.jpa.hibernate.ddl-auto=create-drop
2121
server.port = 8100
2222

2323
management.endpoints.web.exposure.include=*
24-
management.info.git.mode=full
24+
management.info.git.mode=full
25+
26+
customercore.baseURL=http://localhost:8110
27+
spring.boot.admin.client.url = http://localhost:9000

customer-self-service-backend/pom.xml

+2-6
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@
7676
<groupId>org.springframework.hateoas</groupId>
7777
<artifactId>spring-hateoas</artifactId>
7878
</dependency>
79-
<dependency>
80-
<groupId>org.springframework.cloud</groupId>
81-
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
82-
</dependency>
8379
<dependency>
8480
<groupId>org.springframework.boot</groupId>
8581
<artifactId>spring-boot-starter-activemq</artifactId>
@@ -93,8 +89,8 @@
9389
<artifactId>activemq-kahadb-store</artifactId>
9490
</dependency>
9591
<dependency>
96-
<groupId>io.github.resilience4j</groupId>
97-
<artifactId>resilience4j-spring-boot3</artifactId>
92+
<groupId>io.github.resilience4j</groupId>
93+
<artifactId>resilience4j-spring-boot3</artifactId>
9894
</dependency>
9995

10096
<!-- Other Dependencies -->

customer-self-service-backend/src/main/java/com/lakesidemutual/customerselfservice/interfaces/configuration/EurekaAuthenticatedRestTemplateClient.java

-34
This file was deleted.

customer-self-service-backend/src/main/resources/application-default.properties

-3
This file was deleted.

customer-self-service-backend/src/main/resources/application-eureka.properties

-5
This file was deleted.

customer-self-service-backend/src/main/resources/application.properties

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,7 @@ management.endpoints.web.exposure.include=*
4040
management.info.git.mode=full
4141

4242
# added to make circuit breaker support work:
43-
spring.main.allow-bean-definition-overriding=true
43+
spring.main.allow-bean-definition-overriding=true
44+
45+
customercore.baseURL=http://localhost:8110
46+
spring.boot.admin.client.url = http://localhost:9000

docker-compose-eureka.yml

-140
This file was deleted.

eureka-server/.gitignore

-26
This file was deleted.
-58.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)