Skip to content

Commit 1a9f04d

Browse files
author
Ivan Franchin
committed
Remove Actuator dependency as it is not essential to the project
1 parent 1eda8dc commit 1a9f04d

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

author-book-api/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
<springdoc-openapi.version>2.7.0</springdoc-openapi.version>
3030
</properties>
3131
<dependencies>
32-
<dependency>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-starter-actuator</artifactId>
35-
</dependency>
3632
<dependency>
3733
<groupId>org.springframework.boot</groupId>
3834
<artifactId>spring-boot-starter-data-jpa</artifactId>

author-book-api/src/main/java/com/ivanfranchin/authorbookapi/restapi/config/SwaggerConfig.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,4 @@ public OpenAPI customOpenAPI() {
2323
public GroupedOpenApi customApi() {
2424
return GroupedOpenApi.builder().group("api").pathsToMatch("/api/**").build();
2525
}
26-
27-
@Bean
28-
public GroupedOpenApi actuatorApi() {
29-
return GroupedOpenApi.builder().group("actuator").pathsToMatch("/actuator/**").build();
30-
}
3126
}

author-book-api/src/main/resources/application.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ management:
4141
endpoint: http://${ZIPKIN_HOST:localhost}:${ZIPKIN_PORT:9411}/api/v2/spans
4242

4343
springdoc:
44-
show-actuator: true
4544
swagger-ui:
46-
groups-order: DESC
4745
disable-swagger-default-url: true
4846

4947
logging:

book-review-api/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@
2525
<url/>
2626
</scm>
2727
<dependencies>
28-
<dependency>
29-
<groupId>org.springframework.boot</groupId>
30-
<artifactId>spring-boot-starter-actuator</artifactId>
31-
</dependency>
3228
<dependency>
3329
<groupId>org.springframework.boot</groupId>
3430
<artifactId>spring-boot-starter-data-mongodb</artifactId>

0 commit comments

Comments
 (0)