Remove CSS code JIRA: TSC-111 Change-Id: Ib74c1d3dfc029c2472b8834ae55ce05c8231d225 Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Fix compilation after mdsal implementation movement MDSAL's generator has moved its implementation classes and interfaces, fix this up. Change-Id: Ie2607800b67affda966cd0fafb05437263ee9379 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Adjust to yangtools-2.0.0 changes Change-Id: Ib86747e5ed19c0c00bb46b8d7e4936f4d90c4364 Signed-off-by: Robert Varga <robert.varga@pantheon.tech> Signed-off-by: Stephen Kitt <skitt@redhat.com>
Remove explicit default super-constructor calls The default constructor is called by default (hence its name), no need to call it explicitly. Change-Id: I0f4ac3bf4a1d582b7a9d50beeaa1de6d2f107499 Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
yang-jmx-generator: use lambdas This series of patches uses lambdas instead of anonymous classes for functional interfaces when possible. Lambdas are replaced with method references when appropriate. Change-Id: Ica1ba9d37edbd25421b8fabac5cb1567608e1fb6 Signed-off-by: Stephen Kitt <skitt@redhat.com>
Bug 6859: Binding generator v1 refactoring based on https://git.opendaylight.org/gerrit/#/c/53140/, make sure Controller compiles Change-Id: I0d16ef9a278983f94166ea427174a479dac86581 Signed-off-by: Martin Ciglan <mciglan@cisco.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>
Fix javadocs and enable doclint This eliminates the doclint suppression and fixes up javadoc, so they work with Java 8 out of the box. Change-Id: I7294f0dcd570e3e3c445e54cc8989078175d05d7 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-865: remove use of QName.cachedReference() QName.intern() is the replacement, use that instead. Change-Id: Iec80feb66561575491a437dbd06d2709a5e7183d Signed-off-by: Robert Varga <rovarga@cisco.com>
Add registerToOsgi flag to ServiceInterfaceAnnotation Added a flag to the ServiceInterfaceAnnotation to allow disabling OSGi service registration. This is needed for blueprint bundles that have already registered the service and also need to create the module and service in the config system for compatibility support. Change-Id: Ic12d2cdcf6de77ee043a708c76502f8bc36a4717 Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
BUG 4930 & BUG 4017: Allow multiple refine statements in MXBean generation Stops enforcing a single refine statement when generating MXBean's. Change-Id: I2f07fc23b355b1871170a00baf52db34f5e6eb66 Signed-off-by: Tomas Cere <tcere@cisco.com>
BUG-4638: fix typedef types This adds the fix for model.util.type type structure, which differs for leaf types with default value. Change-Id: Ibefebda88d5a6876a72b1ff1ebdf0cb639135a07 Signed-off-by: Robert Varga <rovarga@cisco.com>
Cache config QNameModules Use pre-instantiated and cached QNames, so we do not end up wasting space unnecessarily. Change-Id: I7ff7b9a098fbf182770d07ccbd0b9bb60334fb82 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-2453 (De)Serialize enum values as defined in yang Netconf endpoint for config subsystem did not (de)serialize enum values properly It assumed the enum constants are identical in yang and in generated binding Change-Id: If46c770a49653348201cd5d5c9303b5207048252 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Fix checkstyle violations caused by checkstyle 6.1.1 Change-Id: I84f356707f97184ae8708e429c6b440db8bd632f Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Improve JavaAttribute performance Instead of performing Arrays.copyOf(), use the .clone() method, which is guaranteed to return a shallow copy. Change-Id: Ided53e90693b28f924c056189abd7257647fe079 Signed-off-by: Robert Varga <rovarga@cisco.com>
Remove dead code The moduleIdentity reference is checked for non-null in a preceding condition, so the entire branch is provably dead. Also removes string concatenation. Change-Id: I8c2ad967af53a5216359677b8d7e3975294c942b Signed-off-by: Robert Varga <rovarga@cisco.com>
Remove string concatenation in preconditions Preconditions support String.format()-style arguments, the use of which actually makes them faster, as the singular string need not be constructed if it's not used. Change-Id: Ib60bf458e2ef57df71fa6d2820af0110632cb37f Signed-off-by: Robert Varga <rovarga@cisco.com>
Make check methods static The check methods do not have to have access to the object, so make them static, making the interactions a bit more clear. Change-Id: I954fbfe95d727532c17a5bf20b5d9434da40d27f Signed-off-by: Robert Varga <rovarga@cisco.com>
Allow rpc definition for RuntimeMXBeans to come from groupings Change-Id: I796b43e8a4b01277bcb0c73f5ac86bc710839061 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>