fix CbsConfiguration update bug 20/90820/1
authorgrabinsk <maciej.grabinski@nokia.com>
Tue, 2 Jul 2019 14:05:24 +0000 (16:05 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Tue, 2 Jul 2019 14:05:24 +0000 (16:05 +0200)
commitce3730c7286f03375f38215a50af1ae6530a4845
tree1a088ea9827d6575cd264a114cebb2ac74f31ec1
parent768ab8275b35750ebf46411be54e7bd452a95578
fix CbsConfiguration update bug

'CbsConfiguration' bean is statefull. The singleton instance lifespan should match application lifespan.
The problem was bootstrap context (and all it's beans) are destroyed during bootstrap context refresh.

Change-Id: Ib02cd49c37935422d4ca861afee55f621015146e
Issue-ID: DCAEGEN2-1647
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java