Remove CSS code JIRA: TSC-111 Change-Id: Ib74c1d3dfc029c2472b8834ae55ce05c8231d225 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix checkstyle reported by odlparent-3.0.0 Change-Id: I08c548fbbbef8527ad7b037b0def33d3c1c09bf6 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Fix checkstyle issues to enforce it Fix checkstyle issues to enforce it. Change-Id: I8ea15ab059b1ffa3de79737cf2ca0763f2455139 Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Bug 6859 - Binding generator v1 refactoring Based on transfer of Binding generator v1 from Yangtools project to MDSAL in past, we need to finalize this process by refactoring package naming: org.opendaylight.yangtools -> org.mdsal.binding org.opendaylight.yangtools.sal -> org.mdsal.binding Refactoring changes in MDSAL, see: https://git.opendaylight.org/gerrit/#/c/52107 By using of Binding generator v1, this change needs to be addressed in Controller project. - refactoring itself - add META-INF to gitignore Change-Id: Ib7ec1b39466c0c814459bcbc2adce437b2a0ca64 Signed-off-by: Jakub Toth <jatoth@cisco.com> Signed-off-by: Robert Varga <rovarga@cisco.com>
Mechanical code cleanup (config) * Remove unnecessary type specifiers (use Java 7 <>) * Remove unnecessary "extends Object" declarations * Remove unnecessary semi-colons * Merge identical catch blocks * Remove redundant modifiers: - enum constructors are private by default - interface properties are public static final by default - interface methods are public abstract by default - interfaces are abstract by default - inner interfaces are static by default - inner classes in interfaces are public static by default Change-Id: Iefd8363a5eb120fdd43a4632b9e3db0e7e347dba Signed-off-by: Stephen Kitt <skitt@redhat.com>
Modify ModuleInfoBundleTracker to track RESOLVED bundles (round 2) My first patch https://git.opendaylight.org/gerrit/#/c/27138/ didn't do well with the feature tests due the BundleContext bust wait so it was reverted. I went back to my original solution to confgure the ModuleInfoBundleTracker to track RESOLVED and ModuleFactoryBundleTracker to track ACTIVE. Originally when I tried that I had some failure due to the ModuleFactory not loaded yet but I don't remember exactly what. This patch seems to work fine - I've restarted karaf several times and also ran the tsdr features tests several times successfully. Originally I did the first patch in stable/lithium so maybe something else has changed in master or the way I did it wasn't right. Since the initial yang module info's are now processed synchronously when the BundleTracker is opened, I modified the ModuleInfoBundleTracker to ensure it doesn't propagate runtime ex's. This would disrupt the BundleTracker and the ConfigManagerActivator - if one module had an issue the config manager wouldn't start. For every YangModuleInfo scraped, it registers it with the ModuleInfoRegistry. The backing impl is RefreshingSCPModuleInfoRegistry which causes a new SchemaContext to be created from the current yang models (via updateService). This isn't efficient - on startup, we'll get all YangModuleInfo's in quick succession so, optimially, it should build the SchemaContext once after open is complete. This is what the GlobalBundleScanningSchemaServiceImpl does. To accomplish this, I removed the call to updateService from RefreshingSCPModuleInfoRegistry#registerModuleInfo - it is now specifically called by ModuleInfoBundleTracker. This means the ModuleInfoBundleTracker now references RefreshingSCPModuleInfoRegistry instead of the ModuleInfoRegistry interface which makes it less clean. Any other way would require changes to the ModuleInfoRegistry interface, which I didn't want to do, or extending the interface which I didn't think that was worth the effort. The RefreshingSCPModuleInfoRegistry is only used by ModuleInfoBundleTracker. Change-Id: I20213ce8bd1dfc5109f3ef223cec8048bec92e12 Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
BUG-4367: Use SchemaSourceProvider to retrieve sources for yang - Not using schema context to provide the sources anymore. - Transform the modules into capabilities in YangStoreService instead of requiring the listeners to do so Change-Id: I39a144c7472f7944cca01eeff273058aa2fe7d7a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Fix license header violations in controller Change-Id: I78161e69d30773bb4d8e7943316cd988e1a7b81b Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Decouple config and netconf subsystems. Extract a common mapping for config pusher and config subsystem netconf Add a ConfigPersisterFacade for XML that allows reads/writes from/to config subsystem using XML format Push notifications from YangStoreService to NetconfNotificationManager instead of using custom listeners Migrate netconf features from controller features, untangle features Change-Id: I71e4ca6e0258e0b1f0d6c19119f93eb9d68b7bca Signed-off-by: Tomas Cere <tcere@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Ed Warnicke <hagbard@gmail.com>