|
@@ -9,8 +9,11 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
-@FeignClient(name = "MonitorService",
|
|
|
- url = "http://127.0.0.1:7004",
|
|
|
+@FeignClient(
|
|
|
+ //name = "MonitorService",
|
|
|
+ //url = "http://127.0.0.1:7004",
|
|
|
+ contextId = "MonitorService",
|
|
|
+ value = "simulation-resource-monitor",
|
|
|
path = "/simulation/resource/monitor",
|
|
|
fallback = MonitorServiceFallback.class,
|
|
|
configuration = FeignConfiguration.class)
|