@Test(expected = ConfigurationException.class) public void testUnrecognizedMethod() throws ConfigurationException { Dictionary<String, String> properties = new Hashtable<>(); properties.put(METHODS_TO_LOG, "GERT,PUT"); configObject.updated(properties); }
@SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override public synchronized void updated(Dictionary properties) throws ConfigurationException { parseProperties(properties); LOG.info("TSDRRestconfCollectorConfig updated with: {} : {}, {} : {}, {} : {}, {} : {}", METHODS_TO_LOG, methodsToLog, PATHS_TO_LOG, pathsToLog, ADDRESSES_TO_LOG, addressesToLog, CONTENT_TO_LOG, contentToLog); }
TSDRRestconfCollectorConfig implements ManagedService { @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override public synchronized void updated(Dictionary properties) throws ConfigurationException { parseProperties(properties); LOG.info("TSDRRestconfCollectorConfig updated with: {} : {}, {} : {}, {} : {}, {} : {}", METHODS_TO_LOG, methodsToLog, PATHS_TO_LOG, pathsToLog, ADDRESSES_TO_LOG, addressesToLog, CONTENT_TO_LOG, contentToLog); } }
TSDRRestconfCollectorConfig implements ManagedService { @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override public synchronized void updated(Dictionary properties) throws ConfigurationException { parseProperties(properties); LOG.info("TSDRRestconfCollectorConfig updated with: {} : {}, {} : {}, {} : {}, {} : {}", METHODS_TO_LOG, methodsToLog, PATHS_TO_LOG, pathsToLog, ADDRESSES_TO_LOG, addressesToLog, CONTENT_TO_LOG, contentToLog); } @Inject  TSDRRestconfCollectorConfig(); }
TSDRRestconfCollectorConfig implements ManagedService { @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override public synchronized void updated(Dictionary properties) throws ConfigurationException { parseProperties(properties); LOG.info("TSDRRestconfCollectorConfig updated with: {} : {}, {} : {}, {} : {}, {} : {}", METHODS_TO_LOG, methodsToLog, PATHS_TO_LOG, pathsToLog, ADDRESSES_TO_LOG, addressesToLog, CONTENT_TO_LOG, contentToLog); } @Inject  TSDRRestconfCollectorConfig(); @PostConstruct void init(); @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override synchronized void updated(Dictionary properties); Set<String> getMethodsToLog(); Pattern getPathsToLog(); Pattern getAddressesToLog(); Pattern getContentToLog(); }
TSDRRestconfCollectorConfig implements ManagedService { @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override public synchronized void updated(Dictionary properties) throws ConfigurationException { parseProperties(properties); LOG.info("TSDRRestconfCollectorConfig updated with: {} : {}, {} : {}, {} : {}, {} : {}", METHODS_TO_LOG, methodsToLog, PATHS_TO_LOG, pathsToLog, ADDRESSES_TO_LOG, addressesToLog, CONTENT_TO_LOG, contentToLog); } @Inject  TSDRRestconfCollectorConfig(); @PostConstruct void init(); @SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressFBWarnings("RV_RETURN_VALUE_IGNORED_NO_SIDE_EFFECT") @Override synchronized void updated(Dictionary properties); Set<String> getMethodsToLog(); Pattern getPathsToLog(); Pattern getAddressesToLog(); Pattern getContentToLog();  }