@Test public void testGetCanonicalNamespaceAliasModule() { Assert.assertEquals("/nlp/", getCanonicalNamespace( "com.cinchapi.concourse.nlp.IndexRouter")); Assert.assertEquals("/nlp/translate/", getCanonicalNamespace( "com.cinchapi.concourse.nlp.TranslateRouter")); Assert.assertEquals("/nlp/translate/", getCanonicalNamespace( "com.cinchapi.concourse.router.nlp.http.TranslateRouter")); }
@VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); @Override int compareTo(EndpointContainer other); final Iterable<Endpoint> endpoints(); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); @Override int compareTo(EndpointContainer other); final Iterable<Endpoint> endpoints();  }