Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
REMOVED: changed client definition
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Jan 29, 2024
1 parent c384ad1 commit c1431c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.List;
import java.util.Map;

@FeignClient("BUSCADOR")
@FeignClient(name = "BUSCADOR", configuration = FeignConfig.class, url = "http://lcoalhost:8081")
public interface BuscadorClient {


Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ springdoc.swagger-ui.path=/swagger-ui.html
spring.application.name=operador
# URL of the Eureka service
eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://localhost:8761/eureka}
eureka.client.fetch-registry=true
eureka.instance.prefer-ip-address=true

# Use IP address
#eureka.instance.preferIpAddress=true
#eureka.client.register-with-eureka=false
Expand Down

0 comments on commit c1431c8

Please sign in to comment.