aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter/src
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2019-04-10 17:38:18 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-10 17:38:18 +0000
commit45a9add1e79bad75405e5b93d614201ceabdd0d6 (patch)
treea2903118ce438be641233c5c928fbe18a58cdf11 /adapters/mso-catalog-db-adapter/src
parentcace90c7b774f6d80e4b9e2a4fdf0cac192f1096 (diff)
parent7476b99cbff0989b1187364dff65ef37bb57510e (diff)
Merge "Re-commit some changes which were lost"
Diffstat (limited to 'adapters/mso-catalog-db-adapter/src')
-rw-r--r--adapters/mso-catalog-db-adapter/src/main/java/db/migration/R__CloudConfigMigration.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/adapters/mso-catalog-db-adapter/src/main/java/db/migration/R__CloudConfigMigration.java b/adapters/mso-catalog-db-adapter/src/main/java/db/migration/R__CloudConfigMigration.java
index 053c6da1cb..469a7ad7e4 100644
--- a/adapters/mso-catalog-db-adapter/src/main/java/db/migration/R__CloudConfigMigration.java
+++ b/adapters/mso-catalog-db-adapter/src/main/java/db/migration/R__CloudConfigMigration.java
@@ -69,21 +69,6 @@ public class R__CloudConfigMigration implements JdbcMigration, MigrationInfoProv
CloudConfig cloudConfig = null;
- String tableQuery = "SELECT * FROM identity_services";
- int totalRetries = 20;
- boolean tableExists = false;
- int count = 1;
- while (!tableExists && count != totalRetries) {
- try (Statement stmt = connection.createStatement();) {
- stmt.executeQuery(tableQuery);
- tableExists = true;
- } catch (SQLException e) {
- count++;
- // Wait 5 mintues
- Thread.sleep(300000);
- }
- }
-
// Try the override file
String configLocation = System.getProperty("spring.config.additional-location");
if (configLocation != null) {