Deterministic startup for resourceSourceMappings 82/72082/4
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Tue, 6 Nov 2018 15:07:17 +0000 (10:07 -0500)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 8 Nov 2018 19:43:41 +0000 (19:43 +0000)
commitbddf0b12e80a8722972153dd3fcdc15db06da9f8
tree8904e75898f9536e20ce8d265dbf23a833b1db7c
parent346dab0d6bf95e7d90934a28c774555a182a06f0
Deterministic startup for resourceSourceMappings

also fix a typo in property name

resourceSourceMappings is required for loading the resources
(templates, DDs, blueprint), but the bean initializing its values
was getting instantiated after the resources loading process, ending
 up failing loading the resources.

Mkaing DataBaseInitService dependent on the ApplicationRegistrationService
bean will force SpringBoot to have the dependsOn bean loaded before the one
declaring the dependency.

Change-Id: I573a7706212dd411a284ec7b57c9373d7d6ff376
Issue-ID: CCSDK-650
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/ApplicationRegistrationService.java
ms/controllerblueprints/modules/service/src/main/java/org/onap/ccsdk/apps/controllerblueprints/service/DataBaseInitService.java
ms/neng/src/main/docker/startService.sh