Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency org.mock-server:mockserver-client-java to v5.15.0 #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 24, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mock-server:mockserver-client-java (source) 5.12.0 -> 5.15.0 age adoption passing confidence

Release Notes

jamesdbloom/mockservice (org.mock-server:mockserver-client-java)

v5.15.0

Added
  • an image tag that allows container to run as root
  • HTTP2 protocol support for mocking
  • ability to proxy multiple binary messages without waiting for response
  • support to disallow loading of specific class in javascript templates
  • support to disallow specific text in javascript templates
  • support to disallow loading of any class in velocity templates
  • support to disallow specific text in velocity templates
  • support to disallow specific text in mustache templates
  • support to velocity templates to load files via $import.read(...)
Changed
  • improved error message for not valid HTTP requests that are not being proxied
  • improved error message when client doesn't trust MockServer's CA
Fixed
  • references to globally-scoped values within Ingress template
  • fixed error passing configuration in MockServerClient
  • fixed handling of additional content-type parameter and special characters in the content-type such as '+'
  • removed invalid extra content-encoding header add when forwarding if content-encoding was not present

v5.14.0

Added
  • added support for json serialisation and de-serialisation java date time
  • support for server urls in OpenAPI specification, by adding server url path as path prefix to operations
  • improved documentation of clear functionality and type parameter and added examples
  • local ip and port exposed to callbacks and log, useful when bound on multiple ports
  • ability to match on content-encoding header
  • added support for custom HTTP methods (via assumeAllRequestsAreHttp)
Changed
  • used helm release name in K8s resources to avoid conflicts for multiple deployments in same namespace (without extra values being set)
  • tlsMutualAuthenticationCertificateChain is used if configured, even if tlsMutualAuthenticationRequired is false, so clients can choose correct certificate for optional client auth
Fixed
  • error matching header or parameters using array schema
  • updated Ingress apiVersion in helm chart to non deprecated value
  • removed the jdk14 slf4j bindings from the shaded and no-dependencies jars
  • fixed NullPointerException and added more context information for match failures
  • fixed NullPointerException during matcher logging
  • fixed override logic for query and path parameters
  • fixed verification of path parameters with multiple path parameter expectations
  • fixed matching for array parameters using OpenAPI or a schema based parameter matcher
  • resolved errors matching path by regex against expectations with path parameters
  • resolved error with some deleted logs still appearing in the dashboard
  • Content-Length is not added if a mock response set Transfer-Encoding

v5.13.2

Fixed
  • fixed artefact name in no-dependencies pom which caused issue with gradle builds
  • added support for yml in addition to yaml for yaml files

v5.13.1

Added
  • simplified JSON format accepted for headers and other multi-value maps by allowing single values to be used as value list
  • added warning message when content-length in expectation response is shorter than the body length
  • improved log output for multimap failures, especially when using schema matcher (i.e. with OpenAPI) for parameters, headers, etc
  • added support for endpoints examples in addition to existing schemas examples in an OpenAPI specifications
Changed
  • improved error messages from main method
  • always serialise default fields for StringBody and JsonBody when retrieving recorded expectations for consistency even when the charset changes
  • allow (and ignore) additional timestamp field for expectation JSON to support record request and responses to be submitted as JSON expectations
  • upgraded JVM version in docker (and helm) to 17
  • reduced memory footprint from log and simplified calculation of maximum log size
  • use JVM trust store in addition to MockServer CA for MockServerClient to allow control plane requests to go via proxies or load balancers that terminate TLS
Fixed
  • allow callback which is nested inside initializer class for maven plugin initializer
  • fixed HttpClassCallback static builder signature
  • improved parsing of media type parameters to handle parameter values with equal symbol
  • fixed serialising certificate chain to dashboard UI
  • used absolute URI form for requests to an HTTP proxy as per rfc2068 section 5.1.2
  • removed content-length and other hop by hop response headers for forward actions
  • fixed handling of headers and parameters specified without any values
  • fixed logLevel in MockServer instance Configuration, so it now sets the SystemProperty read by the logging configuration
  • fixed parallel execution of MockServerExtension to prevent port bind errors
  • fixed error parsing body parameters containing '/'
  • removed external references to schema specification to remove required network connectivity
  • fixed docker latest tag by worked around bug in sonatype not updating the LATEST metadata for snapshots
  • fixed partial deletion of expectations from watched file initialiser
  • resolved small memory leak during proxy authentication
  • updated verify by expectation id so it uses expectation match log events instead of the request matcher from the expectation

v5.13.0

Added
  • added support for configuring log level via properties file
  • allow proactively initialisation of TLS so dynamic TLS CA key pair is created at start up
  • added control plane authorisation using mTLS
  • added control plane authorisation using JWT
  • added support for control plane JWTs supplier to client
  • added support for control plane JWT authorisation to specify required audience, matching claims and required claims
  • added control plane authorisation using both JWT and mTLS
  • added property to control maximum number of requests to return in verification failure, defaults to 10
  • added field to verifications to control maximum number of requests to return in verification failure, defaults to configuration property - item above
  • added remote address field to http requests that can be used by class or method callbacks
  • exposed remote address (i.e. client address) to method and class callbacks, logs and dashboard
  • exposed client certificate chain to method and class callbacks, logs and dashboard
  • added simpler mustache style response templates (in addition to existing javascript and velocity support)
  • added response template variables and functions for date, uuid, random, xPath and jsonPath for mustache
  • added response template variables for date, uuid and random for velocity
  • added response template variables for date, uuid and random for javascript
  • added path parameters, remote address and client certificate chain to response template model
  • added support for EMCAScript 6 in JavaScript response templates for Java versions between 9 and 15
  • added support for numerous velocity tools for example for JSON and XML parsing to velocity response templates
Changed
  • included Bouncy Castle now used by default to resolve issues with modules in Java 16+ and backwards compatibility for Java 8
  • improved configuration for dynamically creating CA so the directory is defaulted if not set and log output is clearer
  • improved UI handling of match failures with a because section and more complex log events
  • improved log configuration during startup when loading of properties file
  • simplified support for multiline regex by allow . to match newlines
  • improved regex matching by support Unicode (instead of US-ASCII) and native case-insensitive matching
  • improved performance of negative matches by reducing the number of regex matches when not matching
  • disabled privilege escalation in helm chart
  • added setting of command line flags (i.e. serverPort) via system properties and properties file in addition to environment variables
  • improved log output for command line flags, environment variables and system properties
  • removed deprecated configuration properties for forward proxying
  • changed docker distroless base image to distroless image for nonroot user
  • changed docker distroless base image for snapshot to distroless image for debugging
  • changed client to launch dashboard in HTTP (not HTTPS) to avoid issues with self-signed certificates
  • simplified the body field for response template model
  • improved XML matching by ignoring element order
  • improved security by change CORS defaults to more secure values that prevent cross-site requests by default
Fixed
  • worked around JDK error 'flip()Ljava/nio/ByteBuffer; does not exist in class java.nio.ByteBuffer'
  • null pointer exception when serialising string bodies with non string content types (i.e. image/png)
  • disabled native TLS for netty to improve TLS resilience
  • fixed handling of circular references in OpenAPI specifications to be as gracefully as possible

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link

github-actions bot commented Jun 24, 2022

Unit Test Results

0 tests   - 3   0 ✔️  - 3   0s ⏱️ -2s
0 suites  - 2   0 💤 ±0 
0 files    - 2   0 ±0 

Results for commit 7496631. ± Comparison against base commit f738d54.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch from e4ea401 to c9f4e68 Compare June 26, 2022 18:54
@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch 2 times, most recently from 233258f to fefb934 Compare July 3, 2022 20:41
@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch from fefb934 to 0aff274 Compare August 22, 2022 09:31
@renovate renovate bot changed the title Update dependency org.mock-server:mockserver-client-java to v5.13.2 Update dependency org.mock-server:mockserver-client-java to v5.14.0 Aug 22, 2022
@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch from 0aff274 to 7496631 Compare March 11, 2023 16:33
@renovate renovate bot changed the title Update dependency org.mock-server:mockserver-client-java to v5.14.0 Update dependency org.mock-server:mockserver-client-java to v5.15.0 Mar 11, 2023
@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch 2 times, most recently from ca4832a to f819287 Compare May 21, 2023 02:29
@github-actions
Copy link

github-actions bot commented May 21, 2023

Test Results

2 tests   - 1   1 ✔️  - 2   0s ⏱️ -3s
2 suites ±0   0 💤 ±0 
2 files   ±0   1 +1 

For more details on these failures, see this check.

Results for commit 2e08c7a. ± Comparison against base commit 6319abc.

This pull request removes 2 and adds 1 tests. Note that renamed tests count towards both.
org.ethelred.minecraft.webhook.MonitorSpec ‑ backup complete with space in filename
org.ethelred.minecraft.webhook.MonitorSpec ‑ player connected
org.ethelred.minecraft.webhook.MonitorSpec ‑ initializationError

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the renovate/org.mock-server-mockserver-client-java-5.x branch from f819287 to 2e08c7a Compare May 26, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants