Skip to content

Commit 47c8fa5

Browse files
authored
Merge pull request #51 from PublicisSapient/develop
Develop
2 parents 33b9359 + 197ea73 commit 47c8fa5

File tree

46 files changed

+228
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+228
-26
lines changed

argocd/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@
7171
<artifactId>spring-boot-configuration-processor</artifactId>
7272
<optional>true</optional>
7373
</dependency>
74+
<dependency>
75+
<groupId>org.springframework.boot</groupId>
76+
<artifactId>spring-boot-starter-actuator</artifactId>
77+
<exclusions>
78+
<exclusion>
79+
<groupId>com.fasterxml.jackson.core</groupId>
80+
<artifactId>jackson-databind</artifactId>
81+
</exclusion>
82+
</exclusions>
83+
</dependency>
7484
<dependency>
7585
<groupId>com.fasterxml.jackson.core</groupId>
7686
<artifactId>jackson-databind</artifactId>

argocd/src/main/java/com/publicissapient/kpidashboard/argocd/config/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
public class WebSecurityConfig {
2727
@Bean
2828
public WebSecurityCustomizer webSecurityCustomizer() {
29-
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*");
29+
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*", "/actuator/health");
3030
}
3131
}

argocd/src/main/resources/application.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,8 @@ togglz.feature-enums=com.publicissapient.kpidashboard.common.feature.FeatureEnum
4646
togglz.console.use-management-port=false
4747
togglz.console.enabled=true
4848
togglz.console.path=/togglz-console
49-
togglz.console.secured=false
49+
togglz.console.secured=false
50+
51+
#Spring boot actuator properties
52+
management.endpoints.web.exposure.include=health
53+
management.endpoint.health.show-details=never

azure-boards/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,16 @@
264264
<artifactId>spring-boot-test</artifactId>
265265
<scope>test</scope>
266266
</dependency>
267+
<dependency>
268+
<groupId>org.springframework.boot</groupId>
269+
<artifactId>spring-boot-starter-actuator</artifactId>
270+
<exclusions>
271+
<exclusion>
272+
<groupId>com.fasterxml.jackson.core</groupId>
273+
<artifactId>jackson-databind</artifactId>
274+
</exclusion>
275+
</exclusions>
276+
</dependency>
267277
<dependency>
268278
<groupId>org.junit.jupiter</groupId>
269279
<artifactId>junit-jupiter-api</artifactId>

azure-boards/src/main/java/com/publicissapient/kpidashboard/azure/config/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ public class WebSecurityConfig {
3131

3232
@Bean
3333
public WebSecurityCustomizer webSecurityCustomizer() {
34-
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*");
34+
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*", "/actuator/health");
3535
}
3636
}

azure-boards/src/main/resources/application.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,8 @@ togglz.feature-enums=com.publicissapient.kpidashboard.common.feature.FeatureEnum
9292
togglz.console.use-management-port=false
9393
togglz.console.enabled=true
9494
togglz.console.path=/togglz-console
95-
togglz.console.secured=false
95+
togglz.console.secured=false
96+
97+
#Spring boot actuator properties
98+
management.endpoints.web.exposure.include=health
99+
management.endpoint.health.show-details=never

azure-pipeline/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,16 @@
8484
<artifactId>spring-core</artifactId>
8585
<version>6.1.3</version>
8686
</dependency>
87+
<dependency>
88+
<groupId>org.springframework.boot</groupId>
89+
<artifactId>spring-boot-starter-actuator</artifactId>
90+
<exclusions>
91+
<exclusion>
92+
<groupId>com.fasterxml.jackson.core</groupId>
93+
<artifactId>jackson-databind</artifactId>
94+
</exclusion>
95+
</exclusions>
96+
</dependency>
8797
<dependency>
8898
<groupId>commons-io</groupId>
8999
<artifactId>commons-io</artifactId>

azure-pipeline/src/main/java/com/publicissapient/kpidashboard/azurepipeline/config/WebSecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
public class WebSecurityConfig {
3131
@Bean
3232
public WebSecurityCustomizer webSecurityCustomizer() {
33-
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*");
33+
return web -> web.ignoring().requestMatchers("/processor/run", "/togglz-console/*", "/actuator/health");
3434
}
3535
}

azure-pipeline/src/main/resources/application.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,8 @@ togglz.feature-enums=com.publicissapient.kpidashboard.common.feature.FeatureEnum
4949
togglz.console.use-management-port=false
5050
togglz.console.enabled=true
5151
togglz.console.path=/togglz-console
52-
togglz.console.secured=false
52+
togglz.console.secured=false
53+
54+
#Spring boot actuator properties
55+
management.endpoints.web.exposure.include=health
56+
management.endpoint.health.show-details=never

azure-repo/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,16 @@
103103
<artifactId>spring-boot-configuration-processor</artifactId>
104104
<optional>true</optional>
105105
</dependency>
106+
<dependency>
107+
<groupId>org.springframework.boot</groupId>
108+
<artifactId>spring-boot-starter-actuator</artifactId>
109+
<exclusions>
110+
<exclusion>
111+
<groupId>com.fasterxml.jackson.core</groupId>
112+
<artifactId>jackson-databind</artifactId>
113+
</exclusion>
114+
</exclusions>
115+
</dependency>
106116
<dependency>
107117
<groupId>org.projectlombok</groupId>
108118
<artifactId>lombok</artifactId>

0 commit comments

Comments
 (0)