Wait for schemas when transforming BA->NormalizedNode 61/27661/2
authorMaros Marsalek <mmarsale@cisco.com>
Wed, 30 Sep 2015 14:22:53 +0000 (16:22 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Fri, 2 Oct 2015 15:21:35 +0000 (15:21 +0000)
commit967aafaff5cdf01e86fcacde893b7e30e5c3ca7f
tree2d2ebb13b30d944f0a3306e78659e204bffcad03
parenta02922ec1d2c45766fa8f4c85574f39ea0167966
Wait for schemas when transforming BA->NormalizedNode

If the transformation fails due to missing schema, codec tries to wait for
the models to become available. The assumption is that if there already are
the BA classes, its likely that the schemas will follow shortly.

This improvement should fix possible race conditions during ODL startup.

Change-Id: I101b77d6ca8f247c271bed0a18fff20de43c24bf
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/BindingToNormalizedNodeCodec.java