●
●
●
○
○
●
●
●
●
●
○
○
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
●
eureka:
client:
enabled: false
●
.put("commonsscriptsync.ribbon.listOfServers", format("localhost:%d", mockserverPort))
.build().forEach(System::setProperty);
●
●
●
●
requestAuth = request()
.withPath("/oauth/token")
.withMethod("POST");
getMockServerContainerClient()
.when(requestAuth)
.respond(response()
.withHeader("Content-Type", "application/json;charset=utf-8")
.withBody(readFromResources("integration/microservices/cloud_auth_response.json")));
●
●
●
●
●
Integration tests with testcointainers library.
Integration tests with testcointainers library.