diennea / carapaceproxy

A Distributed Java Reverse Proxy
Apache License 2.0
24 stars 8 forks source link

Upgrade to WireMock 3 #485

Open NiccoMlt opened 4 months ago

NiccoMlt commented 4 months ago

To leverage a better support to HTTP/2 by WireMock (i.e., the ability to choose whether to enable or disable it from configuration), we should upgrade to at least WireMock 3.5.1, either org.wiremock:wiremock or org.wiremock:wiremock-standalone.

Sadly, it brings in com.jayway.jsonpath:json-path:jar:2.9.0, that brings in net.minidev:json-smart:jar:2.5.0, but because org.herddb:herddb-mock is shading some classes from these libraries, we get:

java.lang.IncompatibleClassChangeError: class com.jayway.jsonpath.spi.mapper.JsonSmartMappingProvider can not implement com.jayway.jsonpath.spi.mapper.MappingProvider, because it is not an interface (com.jayway.jsonpath.spi.mapper.MappingProvider is in unnamed module of loader 'app')
NiccoMlt commented 1 month ago

We can also consider other tools: