public static String extractApproximateZone ( String host ) { String [ ] split = StringUtils . split ( host , "." ) ; return split == null ? host : split [ 1 ] ; }
Approximates Eureka zones from a host name . This method approximates the zone to be everything after the first . in the host name .