- Updated dependencies
- Updated dependencies
- Updated dependencies
- Use
zstd
as compression for images #94
- Updated dependencies
- Automatic version detection: If multiple versions are found it now uses the "highest" version
- Updated dependencies
- Various minor code optimizations
- [Testcontainers] Added flag
MOCKSERVER_VERSION_SNAPSHOT_ALLOWED
to allow usage of Snapshot Container images - Updated dependencies
- Fix
proxyRemoteHost
being ignored - Improved some log messages
Initial release
Minimalistic fork of mock-server/mockserver, designed for maintainability and working with Testcontainers
- Copied over original code of the following modules with minimalistic dependencies:
- client-java → client
- core → core
- netty → server
- Brought code into a maintainable state
- Removed about 75% of the original code
- Removed everything that is not core functionality:
- Metrics
- MemoryTracing
- Templating-Engines
- all body matching that requires an external lib (XPATH, JSON, XML, OpenAPI, ...)
- Versioncheck
- Persistence of expectations to disk
- Dashboard (contained self-built webfrontend)
- parts of logging
- TLS/SSL MitM (did never work with TLS 1.3+ and HTTP2+ anyway)
- JWT + mDNS auth
- Split configuration into corresponding modules
- Split Logs and Events (e.g. request received) into independent subsystems
- Client no longer messes up logging by reconfiguring JUL dynamically
- Improved performance on various places
- Removed reflective
equals
&hashCode
- Removed reflective
- Slimed down dependencies
- Standalone Server Jar is now 6x smaller (42MB → 6MB)
- Reduced client dependencies by 60% (~42 → 17)
- Updated dependencies (fixes various CVEs)
- [Docker] Use
eclipse-temurin
instead ofdistroless
- The overall image is now roughly 2x smaller
- Compiles now with Java 17+
- No longer catches critical
Errors
such asOutOfMemoryError
orNoClassDefFoundError
- Change all occurrences of
org.mockserver
tosoftware.xdev.mockserver
Fixes the following issues from the original project
- Removed useless/Minimize dependencies of
mockserver-client-java
#1494 - ARM image doesn't include ARM binaries #1568
- Add any Shell to Docker Container #1593
- io.netty 4.1.89.Final is using unsupported JDK internal APIs #1812
- MockServerClient.verify(RequestDefinition requestDefinition, VerificationTimes times) not works correctly after update to 5.14.0 #1524 (Ported fix from @szada92)
- ... and probably many more
Created a fork of testcontainers/mockserver that
- fixes the problem that the docker/containerimage is not usable as
- Testcontainers requires that the used image is always provided by original project
- The launch arguments are slightly different now (due to usage of
eclipse-temurin
instead ofdistroless
as base image)
- If no version/tag is specified it tries to automatically detect the used Mockserver version from the classpath.
This way it should be easier to tackle incompatibilities between client and server.
Preview releases