From 92a6005ca084a661349f1534fb14ef75ab899b05 Mon Sep 17 00:00:00 2001 From: Nag Medida Date: Tue, 15 Mar 2016 09:57:48 -0700 Subject: [PATCH] Changed the DB userid,passwords --- .../test/java/com/netflix/paas/rest/test/TestPaasRest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/staash-svc/src/test/java/com/netflix/paas/rest/test/TestPaasRest.java b/staash-svc/src/test/java/com/netflix/paas/rest/test/TestPaasRest.java index d514a26..fe5c2b1 100644 --- a/staash-svc/src/test/java/com/netflix/paas/rest/test/TestPaasRest.java +++ b/staash-svc/src/test/java/com/netflix/paas/rest/test/TestPaasRest.java @@ -62,7 +62,7 @@ public void testCreateDb() { @Test @Ignore public void testCreateTable() { - String storage = "{\"name\": \"unit.mysql\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://localhost:3306/\",\"host\":\"localhost\",\"user\":\"root\",\"password\":\"\",\"replicate\":\"another\"}"; + String storage = "{\"name\": \"unit.mysql\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://localhost:3306/\",\"host\":\"localhost\",\"user\":\"netflix\",\"password\":\"\",\"oss\":\"another\"}"; try { metasvc.writeMetaEntity(EntityType.STORAGE, storage); } catch (StorageDoesNotExistException e) { @@ -163,7 +163,7 @@ public void testInsertRow() { @Test @Ignore public void testInsertRowMySql() { - String storage = "{\"name\": \"unit.mysql\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://localhost:3306/\",\"host\":\"localhost\",\"user\":\"root\",\"password\":\"\",\"replicate\":\"another\"}"; + String storage = "{\"name\": \"unit.mysql\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://localhost:3306/\",\"host\":\"localhost\",\"user\":\"dummy\",\"password\":\"\",\"dummy\":\"another\"}"; try { metasvc.writeMetaEntity(EntityType.STORAGE, storage); } catch (StorageDoesNotExistException e) { @@ -198,7 +198,7 @@ public void testInsertRowMySql() { @Test @Ignore public void testInsertRowMySqlRemote() { - String storage = "{\"name\": \"unit.mysqlremote\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://cde.ceqg1dgfu0mp.us-east-1.rds.amazonaws.com:3306/\",\"host\":\"cde.ceqg1dgfu0mp.us-east-1.rds.amazonaws.com\",\"user\":\"cdeuser\",\"password\":\"cdeuser123\",\"replicate\":\"another\"}"; + String storage = "{\"name\": \"unit.mysqlremote\",\"type\": \"mysql\",\"jdbcurl\": \"jdbc:mysql://test.ceqg1dgfu0mp.useast1.rds.amazonaws.com:3306/\",\"host\":\"test.ceqg1dgfu0mp.useast-1.rds.amazonaws.com\",\"user\":\"dummy\",\"password\":\"dummy\",\"replicate\":\"another\"}"; try { metasvc.writeMetaEntity(EntityType.STORAGE, storage); } catch (StorageDoesNotExistException e) {