Remove logback related stuff as discussed on https://lists.opendaylight.org/pipermail/odlparent-dev/2017-July/001262.html ' Change-Id: I09146cd363d1ab706143bc12c8b1e37aa96c8723 Signed-off-by: Michael Vorburger <vorburger@redhat.com>
logback-config: final parameters This automatically-generated patch flags all appropriate parameters as final (including caught exceptions). Change-Id: I3570e5fe57776a24c4ab84de8bdf9b0e09cc0a95 Signed-off-by: Stephen Kitt <skitt@redhat.com>
Fix breakage introduced by logback bump This is an ugly fix to adjust for changes in logmack 1.1.9. Change-Id: I424687fe757e5d7cb4525b5954d283f762a0d011 Signed-off-by: Robert Varga <rovarga@cisco.com>
Fix resource leaks in test cases Close AutoCloseable objects created in test cases that were not being closed. Add mock calls for close() methods that now need to be stubbed. Change-Id: Iab057a3a1850d024f02656eb1ae82c6fb1486030 Signed-off-by: Gary Wu <gary.wu1@huawei.com>
BUG 2839: Config: remove dependencies on commons-io Migrated commons-io users to guava and custom solutions when there were no alternatives in guava. Change-Id: I399030df1fbd7ea6e40b2591346802068e32f681 Signed-off-by: Tomas Cere <tcere@cisco.com>
Fix checkstyle warnings in logback-config Change-Id: I36c4cbd8df84c047bc83ec62d0fd6c09326f3822 Signed-off-by: Marian Dubai <mdubai@cisco.com>
Migrade JUnitMatchers references With JUnit 4.11 JUnitMatchers.containsString() has been deprecated in favor of org.hamcrest.CoreMatchers.containsString(). Same goes for hasItem(). Change-Id: Ie11616588b126110579e92bfb4b72de022bf211c Signed-off-by: Robert Varga <rovarga@cisco.com>
Do not use deprecated destroyConfigBean in config tests Replace org.opendaylight.controller.config.util.ConfigTransactionJMXClient destroyConfigBean with destroyModule in tests. Test resource leaks in FixedThreadPoolConfigBeanTest. Change-Id: If3847d3cb9211d9e830006400c258dad9e6ffb35 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Resolve Bug:681 - Fix config module registration to Service Registry. Rework OSGi service registration during second phase commit: only service references will be registered into SR, instead of old behaviour when each module's service interfaces were used. Only one key-value entry is persisted in registration: {name: name of service reference} . Change-Id: I25249fe8f9e51570cd3ea963e91145b7e44da57d Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Modify config-api exceptions, bump config and netconf to 0.2.5-SNAPSHOT. Change ConflictingVersionException and ValidationException to be checked instead of runtime exceptions. Fix ConfigPusher's ConflictVersionException handling that was introduced when IOException was used to wrap RuntimeException. Small fixes in netconf, more refactoring of exception handling will be needed there. Maros Marsalek: Rebase commit + fix compliation issue in ShutdownTest Change-Id: Iab89de6ef6ced0de0a267470f860912ae3c56892 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Add logback as a default config module. Change-Id: Idd15449925dc20cfc731d97ee8cef5c42a5a4d80 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Clean all unused and redundant imports in controller. Enable verification of unused and redundant imports via checkstyle. Rename checkstyle configuration file because it no longer checks only for tabs. Change-Id: Id94a92fbc8a79aba01a4177aec3d80a2b3394508 Signed-off-by: Alissa Bonas <abonas@redhat.com>
logback-config: added support for FileAppender and TimeBasedRollingPolicy Change-Id: I7cc8b1a6fca10a988dea42dfd7331fe252caf870 Signed-off-by: Milos Fabian <milfabia@cisco.com>
Inital code drop of logback-config. This module bridges logback configuration over config-subsystem, allowing to reconfigure logback via JMX. Change-Id: I52644b628d384d8ca015885cc9f016f4429238d4 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>