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:
@@ -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)
|
||||
|
||||
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user