Bug 4035: Invert dependency binding-impl -> binding-config Dependency between sal-binding-broker-impl and sal-binding-config was inverted in order to ease split-off and to provide config wiring outside of implementation. This is required for separation of MD-SAL Binding implementation into MD-SAL Project. Change-Id: Id18567b2c51045461ed12500fe5cb2f324f55b0c Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
BUG 3067: Added support for blocking if schema is not available. Codecs are able to send specific exception, which describes reason of failure for codec failing. If the reason is missing schema (not yet loaded) we catch it and retry serialization after schema context is upgraded. User thread will be blocked maximally for 5 seconds after that it will be unblocked. Change-Id: I3494702eae644b495211a1a34c074e268c2f5f46 Signed-off-by: Tony Tkacik <ttkacik@cisco.com> (cherry picked from commit 6aba3ef282f86a84920fa5a7ccf21c91d459806b)
Bug 3148 - Fixed binding.api.NotificationListener support Change-Id: I5017e502a23f9cdb7d35dc393e84db7c2989f491 Signed-off-by: Tony Tkacik <ttkacik@cisco.com> (cherry picked from commit 9ca4deb2c87a332baefb4b58e264d544362b30f5)
Bug 3135 - Fixed support for InterestListener InterestListener was one of undocumented beta MD-SAL APIs which was not intented for public support, but accidentally was public since Hydrogen and as it turned out other Opendaylight projects started to using it. Added support to affected components in order to still support this API even when using new Notification Broker. Change-Id: I060474f68a6c37ed05b262a9b46923f668ca3c8b Signed-off-by: Tony Tkacik <ttkacik@cisco.com> (cherry picked from commit 96246098ccbe56af4f688d93dfffc9fdf62713ab)
Moved legacy Notification implementation to compat package. Change-Id: Iba88a62c1d0327c69a16004b123cb0e5749f8ea8 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Replaced Helium Notification Broker with new Notifcation Broker. Change-Id: I01b249b0e7d412d0075f7bb0727e146c2e109fc7 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Renamed Binding DOM Adapters to share same naming convention. Renamed Forwarded* classes to BindingDOM*Adapter which better describes what implementations are doing. These are implementation classes and are not part of public API contract outside of sal-binding-broker-impl, so this should not affect any users. Change-Id: I1c3b5f275daa38c82215ca3ba8b8170990e9ac43 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Bug 2364: Migrated Binding MD-SAL to not use composites nodes Bidning MD-SAL is fully migrated to be adapter on top of NormalizedNode MD-SAL. This migration once all legacy classes are removed will provide easier-to-read more maintanable code of Binding MD-SAL. Change-Id: I1df6cda4bd6035ac5e01e1285f8aab4201dcc86d Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Bug 2578 - Added Binding Adapters for new Notification Broker Implement and integrate Binding to DOM Notification adapters * implemented forwarded notification broker * added simple test for forwarded notification broker * added configuration of new modules and services to md-sal config Change-Id: I259c971f0dc61bc1b00cbaad2956c3d8b37ff780 Signed-off-by: Jan Hajnar <jhajnar@cisco.com>
Bug 865: Changed Config subsystem module for ForwardedBindingDataBroker. Implementation of new Bidning Data Broker was wired to deprecated APIs and used broker to discover dependencies which did not allowed for full-fledged customized wiring. Reworked configuration to explicitly allow injection of each required depenency and to not use deprecated APIs for dependency injection. Change-Id: Iccbb20ee4bb1df380f5fc4a3a1bbc5748dcc5a38 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Remove dead code in RuntimeMappingModule RuntimeMappingModule.RuntimeGeneratedMappingServiceProxy is private and not used locally. Remove it, as it also uses deprecated classes -- thus eliminating quite a few eclipse warnings. Change-Id: Ica5d11dfceb34435af30811c79f9c2bd194575a8 Signed-off-by: Robert Varga <rovarga@cisco.com>
Prefer InstanceIdentifier imports InstanceIdentifier/YangInstanceIdentifier are now separate, so we can import them at the same time. Do precisely that. Change-Id: I54a5cd49ef7b8584a5b09a12ab97e132fb92cb57 Signed-off-by: Robert Varga <rovarga@cisco.com>
Revert "Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write path"" This reverts commit be2b35105f8e10ada7d73f4523a5a931c57323b3, reinstating the new codecs, with hopefully all the users able to cope. Change-Id: I1cd50e71d92a32ded32e78310f3c958e76d0bdbd Signed-off-by: Robert Varga <rovarga@cisco.com>
Revert "BUG-1425: Integrated new Binding to Normalized Node codec for write path" This reverts commit eb2bd48a9148a4fbeae292ffd03e30083c2ff024. Change-Id: Ic8183f6620c51d8a4a87a38af1e9a554e7f9016a Signed-off-by: Ed Warnicke <eaw@cisco.com>
BUG-1425: Integrated new Binding to Normalized Node codec for write path Integrated binding to normalized node codec for write path to datastore, for deserialization legacy codecs are still used. This patch requires https://git.opendaylight.org/gerrit/9795 to be merged in YANGTools before. Removed private dead data broker code from MD-SAL. Change-Id: I162c84f7da8330d94992122de3af19e76c1e41d2 Signed-off-by: Tony Tkacik <ttkacik@cisco.com> Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-868: Migrate to SchemaContextListener SchemaServiceListener is deprecated, SchemaContextListener is its new name. The class hierarchy allows for incremental migration. Change-Id: I15d495d805eb7a08c3bcd3ab0cf8b5a8d2797db5 Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1092: adjust to YangInstanceIdentifier This is a compation to I1e30a0df93d8bfb891d047c58abcb117d4006c76, adjusting the components to use the new name. Change-Id: I615763240581e850f7752f82e44d752c8fceb169 Signed-off-by: Robert Varga <rovarga@cisco.com>
Bug 488: Removed BundleContext usage for registering to DOM Components. Change-Id: I8598d0bd8cd3396ea666c9e3d39ead6b155d1af4 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Bug 629: Make BindingDataBroker to be visible. Inroduced support for injecting and retrieving new BindingDataBroker via config-subsystem, OSGI. Note: This patch does not provide access to BindingDataBroker is still not available via Consumer/Provider context. Change-Id: Iaa7e65aeeb873c38fded2fecb45e2f0dca1e7714 Signed-off-by: Tony Tkacik <ttkacik@cisco.com>