@Test public void routeShouldContainName() { Route route = routeWithLocation("yass"); Assertions.assertThat(detector.containsComponentName(route)).isTrue(); }
protected boolean containsComponentName(Route route) { return !routeLocationExclusion.matcher(route.getLocation()).matches(); }
ZuulRouteRelationshipDetector implements RelationshipDetector { protected boolean containsComponentName(Route route) { return !routeLocationExclusion.matcher(route.getLocation()).matches(); } }
ZuulRouteRelationshipDetector implements RelationshipDetector { protected boolean containsComponentName(Route route) { return !routeLocationExclusion.matcher(route.getLocation()).matches(); } ZuulRouteRelationshipDetector(RouteLocator routeLocator); }
ZuulRouteRelationshipDetector implements RelationshipDetector { protected boolean containsComponentName(Route route) { return !routeLocationExclusion.matcher(route.getLocation()).matches(); } ZuulRouteRelationshipDetector(RouteLocator routeLocator); @Override Set<Relationship> detect(); }
ZuulRouteRelationshipDetector implements RelationshipDetector { protected boolean containsComponentName(Route route) { return !routeLocationExclusion.matcher(route.getLocation()).matches(); } ZuulRouteRelationshipDetector(RouteLocator routeLocator); @Override Set<Relationship> detect();  }