Merge "Fix cloud Migration to read update config property"
authorRob Daugherty <rd472p@att.com>
Mon, 10 Dec 2018 13:55:39 +0000 (13:55 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 10 Dec 2018 13:55:39 +0000 (13:55 +0000)
adapters/mso-openstack-adapters/src/main/java/db/migration/R__CloudConfigMigration.java

index 6339616..257ad3c 100644 (file)
@@ -67,7 +67,7 @@ public class R__CloudConfigMigration implements JdbcMigration , MigrationInfoPro
         CloudConfig cloudConfig = null;
 
         // Try the override file
-        String configLocation = System.getProperty("spring.config.location");
+        String configLocation = System.getProperty("spring.config.additional-location");
         if (configLocation != null) {
             try (InputStream stream = new FileInputStream(Paths.get(configLocation).normalize().toString())) {
                 cloudConfig = loadCloudConfig(stream);