io.github.jhipster.registry.service.dto.ZuulRouteDTO Java Examples
The following examples show how to use
io.github.jhipster.registry.service.dto.ZuulRouteDTO.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RoutesResource.java From flair-registry with Apache License 2.0 | 5 votes |
/** * Fill all Routes with each instance status. */ private void fillStatus(Map<String, RouteVM> routeVMs) { if (routeVMs != null && !routeVMs.isEmpty()) { zuulProperties.getRoutes().values().forEach(oneRoute -> { if (oneRoute instanceof ZuulRouteDTO) { routeVMs.get(oneRoute.getId()).setStatus(((ZuulRouteDTO) oneRoute).getStatus()); } }); } }
Example #2
Source File: RoutesResource.java From jhipster-microservices-example with Apache License 2.0 | 5 votes |
/** * Fill all Routes with each instance status. */ private void fillStatus(Map<String, RouteVM> routeVMs) { if(routeVMs != null && !routeVMs.isEmpty()) { zuulProperties.getRoutes().values().forEach(oneRoute -> { if(oneRoute instanceof ZuulRouteDTO){ routeVMs.get(oneRoute.getId()).setStatus(((ZuulRouteDTO) oneRoute).getStatus()); } }); } }
Example #3
Source File: RoutesResource.java From jhipster-registry with Apache License 2.0 | 5 votes |
/** * Fill all Routes with each instance status. */ private void fillStatus(Map<String, RouteVM> routeVMs) { if (routeVMs != null && !routeVMs.isEmpty()) { zuulProperties.getRoutes().values().forEach(oneRoute -> { if (oneRoute instanceof ZuulRouteDTO) { routeVMs.get(oneRoute.getId()).setStatus(((ZuulRouteDTO) oneRoute).getStatus()); } }); } }