Fix cloud Migration to read update config property 04/74404/1
authorKalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
Fri, 7 Dec 2018 17:10:35 +0000 (12:10 -0500)
committerKalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
Fri, 7 Dec 2018 17:11:54 +0000 (12:11 -0500)
Fix cloud Migration to read update config property

Change-Id: I143f654b62c83aaf19b9c8bd076fb3878967f120
Issue-ID: SO-1299
Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
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);