@Test (expectedExceptions = java.lang.IllegalArgumentException.class ) public void testInvalidSchemeURI() throws URISyntaxException { URI clientURI = new URI("hdfs: ConfigClientUtils.buildConfigKeyPath(clientURI, mockConfigStore); }
public static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs) { checkMatchingSchemeAndAuthority(configKeyURI, cs); URI relative = cs.getStoreURI().relativize(configKeyURI); return getConfigKeyPath(relative.getPath()); }
ConfigClientUtils { public static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs) { checkMatchingSchemeAndAuthority(configKeyURI, cs); URI relative = cs.getStoreURI().relativize(configKeyURI); return getConfigKeyPath(relative.getPath()); } }
ConfigClientUtils { public static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs) { checkMatchingSchemeAndAuthority(configKeyURI, cs); URI relative = cs.getStoreURI().relativize(configKeyURI); return getConfigKeyPath(relative.getPath()); }  }
ConfigClientUtils { public static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs) { checkMatchingSchemeAndAuthority(configKeyURI, cs); URI relative = cs.getStoreURI().relativize(configKeyURI); return getConfigKeyPath(relative.getPath()); }  static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs); static URI buildUriInClientFormat(ConfigKeyPath configKeyPath, ConfigStore cs, boolean returnURIWithAuthority); static Collection<URI> buildUriInClientFormat(Collection<ConfigKeyPath> configKeyPaths, ConfigStore cs,
      boolean returnURIWithAuthority); static ConfigKeyPath getConfigKeyPath(String input); static List<ConfigKeyPath> getConfigKeyPath(List<String> input); static boolean isAncestorOrSame(URI descendant, URI ancestor); static boolean stringSame(String l, String r); static boolean isAncestorOrSame(ConfigKeyPath descendant, ConfigKeyPath ancestor); static Optional<Config> getOptionalRuntimeConfig(Properties properties); }
ConfigClientUtils { public static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs) { checkMatchingSchemeAndAuthority(configKeyURI, cs); URI relative = cs.getStoreURI().relativize(configKeyURI); return getConfigKeyPath(relative.getPath()); }  static ConfigKeyPath buildConfigKeyPath(URI configKeyURI, ConfigStore cs); static URI buildUriInClientFormat(ConfigKeyPath configKeyPath, ConfigStore cs, boolean returnURIWithAuthority); static Collection<URI> buildUriInClientFormat(Collection<ConfigKeyPath> configKeyPaths, ConfigStore cs,
      boolean returnURIWithAuthority); static ConfigKeyPath getConfigKeyPath(String input); static List<ConfigKeyPath> getConfigKeyPath(List<String> input); static boolean isAncestorOrSame(URI descendant, URI ancestor); static boolean stringSame(String l, String r); static boolean isAncestorOrSame(ConfigKeyPath descendant, ConfigKeyPath ancestor); static Optional<Config> getOptionalRuntimeConfig(Properties properties);  }