Open mariuszs opened 9 years ago
It's needed for the DEV mode. It's starting your stubs in Wiremock.
Ok, but this is included in production/stage too. Maybe we should limit this to dev profile only?
Btw. wiremock is in old version
Ad 1) How do you want to add it to a jar only in dev and test Spring app mode? Ad 2) There is a PR with Wiremock upgrading.
i think we dont need to add this jar to micro-infra jar at all. What we need, is a profile in microservice like DEV with dependency to wiremock.
We've agreed that we could extract Dev mode related stuff to a separate jar and include that ONLY when running the app from Gradle task
Similar situation seems to be with curator-test
:
[INFO] +- com.ofg:micro-infra-spring-base:jar:0.8.19:compile
[INFO] | +- org.aspectj:aspectjweaver:jar:1.8.5:runtime
[INFO] | +- com.ofg:micro-deps-spring-config:jar:0.8.19:compile
[INFO] | | +- com.ofg:micro-deps:jar:0.8.19:compile
[INFO] | | | +- org.apache.curator:curator-x-discovery:jar:2.7.1:compile
[INFO] | | | | +- org.apache.curator:curator-recipes:jar:2.7.1:compile
[INFO] | | | | | \- org.apache.curator:curator-framework:jar:2.7.1:compile
[INFO] | | | | | \- org.apache.curator:curator-client:jar:2.7.1:compile
[INFO] | | | | \- org.apache.zookeeper:zookeeper:jar:3.4.6:compile
[INFO] | | | | +- log4j:log4j:jar:1.2.17:compile
[INFO] | | | | +- jline:jline:jar:0.9.94:compile
[INFO] | | | | \- io.netty:netty:jar:3.7.0.Final:compile
[INFO] | | | +- org.apache.curator:curator-test:jar:2.7.1:compile
[INFO] | | | | +- org.javassist:javassist:jar:3.18.1-GA:compile
(...)
Related to the in memory Zookeeper
Yes, I added it to remember to move curator-test and embedded zookeeper server to that brand new package for dev
mode.
Is
wiremock
dependency required for compile inboot-microservice
?