@Test public void validTagCharacters() throws Exception { AtlasRegistryService service = new AtlasRegistryService(); AtlasRegistry registry = (AtlasRegistry) service.getRegistry(); AtlasConfig config = (AtlasConfig) registry.config(); Assert.assertEquals("-._A-Za-z0-9", config.validTagCharacters()); service.stop(); }
Registry getRegistry() { if (registry == null) { LOGGER.info("DI framework does not support @PostConstruct, attempting to start service"); try { start(); } catch (Exception e) { throw new IllegalStateException("failed to start registry service", e); } } return registry; }
AtlasRegistryService extends AbstractService { Registry getRegistry() { if (registry == null) { LOGGER.info("DI framework does not support @PostConstruct, attempting to start service"); try { start(); } catch (Exception e) { throw new IllegalStateException("failed to start registry service", e); } } return registry; } }
AtlasRegistryService extends AbstractService { Registry getRegistry() { if (registry == null) { LOGGER.info("DI framework does not support @PostConstruct, attempting to start service"); try { start(); } catch (Exception e) { throw new IllegalStateException("failed to start registry service", e); } } return registry; } AtlasRegistryService(); }
AtlasRegistryService extends AbstractService { Registry getRegistry() { if (registry == null) { LOGGER.info("DI framework does not support @PostConstruct, attempting to start service"); try { start(); } catch (Exception e) { throw new IllegalStateException("failed to start registry service", e); } } return registry; } AtlasRegistryService();  }
AtlasRegistryService extends AbstractService { Registry getRegistry() { if (registry == null) { LOGGER.info("DI framework does not support @PostConstruct, attempting to start service"); try { start(); } catch (Exception e) { throw new IllegalStateException("failed to start registry service", e); } } return registry; } AtlasRegistryService();   }