Remove CSS code JIRA: TSC-111 Change-Id: Ib74c1d3dfc029c2472b8834ae55ce05c8231d225 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix checkstyle issues to enforce it Fix checkstyle issues to enforce it. Change-Id: I306255919cdfe43208d7c254f2f6455f4126b92f Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
config-manager: final parameters This automatically-generated patch flags all appropriate parameters as final (including caught exceptions). Change-Id: I78de8a8a8f9766a654432e8ba5a0497f06c4438a Signed-off-by: Stephen Kitt <skitt@redhat.com>
Fix checkstyle warnings in config-manager Change-Id: Id8551489d678ebb35908f052a571303fc6c68999 Signed-off-by: Marian Dubai <mdubai@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>
Add support for identity-ref config attributes to config/netconf subsystem Change-Id: I79d5147f1d6bb1acd6b5a374bb76f48b6a3aaf55 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Tomas Olvecky <tolvecky@cisco.com> Signed-off-by: Robert Varga <rovarga@cisco.com>
Add Set<String> getAvailableModuleFactoryQNames() to config-api. Allow querying Config Registry and each transaction for set of qnames belonging to ModuleFactory classes. This is helpful for netconf - allows checking for race conditions between yang store and config-manager. Modify config code generator to add @ModuleQName annotation to each abstract factory class. Change-Id: I6e8f972708883137610c09d274d52aedb1380120 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
Fixes - config-registry registered to OSGi, used modules's factory bundle context for module instance registration. Change-Id: Iaae34d47c7a8515ea68f2d8d3629edd0b073152e Signed-off-by: Milos Fabian <milfabia@cisco.com>
Initial code drop of yang model driven configuration system Configuration system employs two phase commit to validate and push configuration changes to a running system. It allows changing simple attributes, complex transfer objects, and also provides dependency injection between configured modules. Module config-api contains base yang model config.yang, defining language extensions and other elements required by all configuration models. Other than that it contains both apis implemented by config-manager and spis to be implemeted by configuration providers. Since the configuration system is internally driven by JMX, package org.opendaylight.controller.config.api.jmx contains all M(X)Bean interfaces exposed by config-manager. Module config-manager is implementation of config-api. Module config-util contains clients (both JMX and jolokia, which is http based bridge to JMX) of configuration system. Module yang-jmx-generator parses yang models and creates java representation of configuration models and service interfaces. Module yang-jmx-generator-plugin is connector to yangtools yang-maven-plugin that generates skeletons of java files needed by configuration providers. Module yang-test contains example yang file, from which code is being generated. Module yang-jmx-generator-it tests yang-test. Module yang-store-api contains api for a registry of all yang models parsed by yang-jmx-generator. Module yang-store-impl uses OSGi extender pattern to read META-INF/yang/*.yang from all bundles and provides snapshot view of currently available configuration models. Change-Id: Icf3201f9754e4ca28ebce3411d2a667dcd7e75c8 Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>