Skip to content

Commit 543be3a

Browse files
authored
Merge pull request #2529 from adobe/test-coverage-and-improvements
Test coverage and improvements
2 parents 133d2db + e15c7a8 commit 543be3a

File tree

18 files changed

+110
-15
lines changed

18 files changed

+110
-15
lines changed

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
#
2+
# Copyright 2017-2025 Adobe.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
117
repos:
218
- repo: https://github.com/gherynos/pre-commit-java
319
rev: v0.6.16

CHANGELOG.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Whenever a 3rd party library is updated, S3Mock will update it's MINOR version.
88
* [PLANNED - 5.x - RELEASE TBD](#planned---5x---release-tbd)
99
* [Planned changes](#planned-changes)
1010
* [CURRENT - 4.x - THIS VERSION IS UNDER ACTIVE DEVELOPMENT](#current---4x---this-version-is-under-active-development)
11-
* [4.7.0 - PLANNED](#470---planned)
11+
* [4.8.0 - PLANNED](#480---planned)
12+
* [4.7.0](#470)
1213
* [4.6.0](#460)
1314
* [4.5.1](#451)
1415
* [4.5.0](#450)
@@ -147,7 +148,7 @@ Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Jav
147148

148149
**The current major version 4 will receive new features, dependency updates and bug fixes on a continuous basis.**
149150

150-
## 4.7.0 - PLANNED
151+
## 4.8.0 - PLANNED
151152
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
152153

153154
* Features and fixes
@@ -159,6 +160,27 @@ Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Jav
159160
* Version updates (build dependencies)
160161
* TBD
161162

163+
## 4.7.0
164+
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
165+
166+
* Features and fixes
167+
* Fix store property overrides for "com.adobe.testing.s3mock.store" properties. (Fixes #2524)
168+
* Refactorings
169+
* Enable Spring Boot Actuator in "debug" and "trace" profiles.
170+
* Enable [Spring Test Profiler](https://github.com/PragmaTech-GmbH/spring-test-profiler) during test runs.
171+
* Version updates (deliverable dependencies)
172+
* Bump spring-boot.version from 3.5.3 to 3.5.4
173+
* Bump aws-v2.version from 2.31.77 to 2.32.7
174+
* Bump aws.version from 1.12.787 to 1.12.788
175+
* Bump commons-io:commons-io from 2.19.0 to 2.20.0
176+
* Bump alpine from 3.22.0 to 3.22.1 in /docker
177+
* Version updates (build dependencies)
178+
* Bump aws.sdk.kotlin:s3-jvm from 1.4.109 to 1.4.125
179+
* Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.0 to 3.6.1
180+
* Bump org.mockito.kotlin:mockito-kotlin from 5.4.0 to 6.0.0
181+
* Bump step-security/harden-runner from 2.12.2 to 2.13.0
182+
* Bump github/codeql-action from 3.29.2 to 3.29.4
183+
162184
## 4.6.0
163185
Version 4.x is JDK17 LTS bytecode compatible, with Docker and JUnit / direct Java integration.
164186

Makefile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
#
2+
# Copyright 2017-2025 Adobe.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
117
.PHONY: build verify install
218
.DEFAULT_GOAL := build
319

build-config/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>com.adobe.testing</groupId>
2323
<artifactId>s3mock-parent</artifactId>
24-
<version>4.6.1-SNAPSHOT</version>
24+
<version>4.7.0-SNAPSHOT</version>
2525
</parent>
2626

2727
<artifactId>s3mock-build-config</artifactId>

docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.6.1-SNAPSHOT</version>
25+
<version>4.7.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock-docker</artifactId>

integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.6.1-SNAPSHOT</version>
25+
<version>4.7.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock-integration-tests</artifactId>

pom.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<groupId>com.adobe.testing</groupId>
2323
<artifactId>s3mock-parent</artifactId>
24-
<version>4.6.1-SNAPSHOT</version>
24+
<version>4.7.0-SNAPSHOT</version>
2525
<packaging>pom</packaging>
2626

2727
<name>S3Mock - Parent</name>
@@ -87,7 +87,7 @@
8787

8888
<aws.version>1.12.788</aws.version>
8989

90-
<aws-kotlin.version>1.4.119</aws-kotlin.version>
90+
<aws-kotlin.version>1.4.125</aws-kotlin.version>
9191

9292
<commons-codec.version>1.15</commons-codec.version>
9393
<commons-compress.version>1.27.1</commons-compress.version>
@@ -131,6 +131,7 @@
131131
<testcontainers.version>1.21.3</testcontainers.version>
132132
<testng.version>7.11.0</testng.version>
133133
<xmlunit-assertj3.version>2.10.3</xmlunit-assertj3.version>
134+
<spring-test-profiler.version>0.0.5</spring-test-profiler.version>
134135
</properties>
135136

136137
<dependencyManagement>
@@ -321,6 +322,12 @@
321322
<artifactId>mockito-core</artifactId>
322323
<scope>test</scope>
323324
</dependency>
325+
<dependency>
326+
<groupId>digital.pragmatech.testing</groupId>
327+
<artifactId>spring-test-profiler</artifactId>
328+
<version>${spring-test-profiler.version}</version>
329+
<scope>test</scope>
330+
</dependency>
324331
</dependencies>
325332
</dependencyManagement>
326333

server/pom.xml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.adobe.testing</groupId>
2424
<artifactId>s3mock-parent</artifactId>
25-
<version>4.6.1-SNAPSHOT</version>
25+
<version>4.7.0-SNAPSHOT</version>
2626
</parent>
2727

2828
<artifactId>s3mock</artifactId>
@@ -122,7 +122,7 @@
122122
<dependency>
123123
<groupId>org.springframework.boot</groupId>
124124
<artifactId>spring-boot-starter-actuator</artifactId>
125-
<scope>test</scope>
125+
<optional>true</optional>
126126
</dependency>
127127
<dependency>
128128
<groupId>org.springframework.boot</groupId>
@@ -149,6 +149,11 @@
149149
<artifactId>mockito-kotlin</artifactId>
150150
<scope>test</scope>
151151
</dependency>
152+
<dependency>
153+
<groupId>digital.pragmatech.testing</groupId>
154+
<artifactId>spring-test-profiler</artifactId>
155+
<scope>test</scope>
156+
</dependency>
152157
</dependencies>
153158

154159
<build>

server/src/main/resources/application-debug.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ spring.mvc.log-request-details=true
2222

2323
# Enable JMX when debugging
2424
spring.jmx.enabled=true
25+
spring.jmx.unique-names=true
2526

2627
# Enable all actuator endpoints when debugging
28+
management.endpoints.web.discovery.enabled=true
29+
management.endpoints.jmx.exposure.include=*
2730
management.endpoints.web.exposure.include=*
31+
management.endpoints.access.default=unrestricted
32+
management.endpoint.health.show-details=always

server/src/main/resources/application-trace.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ spring.mvc.log-request-details=true
2121

2222
# Enable JMX when debugging
2323
spring.jmx.enabled=true
24+
spring.jmx.unique-names=true
2425

2526
# Enable all actuator endpoints when debugging
27+
management.endpoints.web.discovery.enabled=true
28+
management.endpoints.jmx.exposure.include=*
2629
management.endpoints.web.exposure.include=*
30+
management.endpoints.access.default=unrestricted
31+
management.endpoint.health.show-details=always

0 commit comments

Comments
 (0)