JAVA-20166 Migrating spring-date-eclipselink (#13959)

* JAVA-20166 Migrating spring-date-eclipselink

* JAVA-20166 Fix failed tests address already bind

* JAVA-20166 Migrating spring-date-couchbase-2

* JAVA-20166 Replace with optional instead of returning null

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
This commit is contained in:
timis1
2023-05-19 09:53:28 +03:00
committed by GitHub
parent e49e57ef8a
commit 9c4473d687
40 changed files with 266 additions and 220 deletions

View File

@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
import com.baeldung.cloud.openfeign.defaulterrorhandling.config.FeignConfig;
import com.baeldung.cloud.openfeign.defaulterrorhandling.model.Product;
@FeignClient(name = "product-client", url = "http://localhost:8084/product/", configuration = FeignConfig.class)
@FeignClient(name = "product-client", url = "http://localhost:8088/product/", configuration = FeignConfig.class)
public interface ProductClient {
@RequestMapping(value = "{id}", method = RequestMethod.GET)

View File

@@ -34,8 +34,8 @@ public class ProductClientUnitTest {
@Before
public void startWireMockServer() {
wireMockServer = new WireMockServer(8084);
configureFor("localhost", 8084);
wireMockServer = new WireMockServer(8088);
configureFor("localhost", 8088);
wireMockServer.start();
}