Skip to content

Commit 84b5510

Browse files
committed
⬆️ auth-cert: Upgrade spring boot 4.x.
1 parent ef5d9b9 commit 84b5510

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

auth-cert/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
<artifactId>cert-common</artifactId>
1313
<version>${project.version}</version>
1414
</dependency>
15+
<dependency>
16+
<groupId>org.springframework.boot</groupId>
17+
<artifactId>spring-boot-web-server</artifactId>
18+
</dependency>
1519
<dependency>
1620
<groupId>org.springframework.boot</groupId>
1721
<artifactId>spring-boot-starter-test</artifactId>

auth-cert/src/main/java/com/ubiqube/etsi/mano/auth/cert/config/SslServletCustomier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import org.springframework.boot.ssl.DefaultSslBundleRegistry;
2222
import org.springframework.boot.ssl.SslBundles;
2323
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
24-
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
24+
import org.springframework.boot.web.server.servlet.ConfigurableServletWebServerFactory;
2525

2626
/**
2727
* Set our customized provider. Add Component on it to enable it.

auth-cert/src/main/java/module-info.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
/**
22
* Copyright (C) 2019-2025 Ubiqube.
33
*
4-
* This program is free software: you can redistribute it and/or modify
5-
* it under the terms of the GNU General Public License as published by
6-
* the Free Software Foundation, either version 3 of the License, or
7-
* (at your option) any later version.
4+
* This program is free software: you can redistribute it and/or modify it under
5+
* the terms of the GNU General Public License as published by the Free Software
6+
* Foundation, either version 3 of the License, or (at your option) any later
7+
* version.
88
*
9-
* This program is distributed in the hope that it will be useful,
10-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12-
* GNU General Public License for more details.
9+
* This program is distributed in the hope that it will be useful, but WITHOUT
10+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11+
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12+
* details.
1313
*
14-
* You should have received a copy of the GNU General Public License
15-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
14+
* You should have received a copy of the GNU General Public License along with
15+
* this program. If not, see <https://www.gnu.org/licenses/>.
1616
*/
1717
module com.ubiqube.etsi.mano.auth.cert {
1818
requires com.ubiqube.etsi.mano.auth.cert.common;
@@ -22,6 +22,7 @@
2222
requires org.bouncycastle.pkix;
2323
requires io.swagger.v3.oas.models;
2424
requires spring.boot;
25+
requires spring.boot.web.server;
2526
requires spring.security.web;
2627
requires java.sql;
2728
requires org.slf4j;

auth-cert/src/test/java/com/ubiqube/etsi/mano/auth/cert/config/SslServletCustomierTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import org.junit.jupiter.api.extension.ExtendWith;
2323
import org.mockito.Mock;
2424
import org.mockito.junit.jupiter.MockitoExtension;
25-
import org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory;
25+
import org.springframework.boot.web.server.servlet.ConfigurableServletWebServerFactory;
2626

2727
@ExtendWith(MockitoExtension.class)
2828
class SslServletCustomierTest {

0 commit comments

Comments
 (0)