From aab276e679f221b37fc6be37e5dd0ffd72ffc406 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Thu, 23 May 2019 11:50:16 -0500 Subject: El Alto start with 2.1.14 Issue-ID: AAF-834 Change-Id: I35cb2c87889f8ed51527c4cd5cfa79789ccd20b0 Signed-off-by: Instrumental --- auth/auth-cass/JU_ConfigDAOTest.java | Bin 0 -> 20 bytes auth/auth-cass/JU_LocateDAOTest.java | Bin 0 -> 56 bytes auth/auth-cass/JU_NsDAOTest.java | Bin 0 -> 28 bytes auth/auth-cass/JU_OAuthTokenDAOTest.java | Bin 0 -> 61 bytes auth/auth-cass/JU_PermDAOTest.java | Bin 0 -> 32 bytes auth/auth-cass/JU_RoleDAOTest.java | Bin 0 -> 24 bytes auth/auth-cass/JU_UserRoleDAOTest.java | Bin 0 -> 32 bytes auth/auth-cass/pom.xml | 2 +- .../java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java | 7 +++---- 9 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 auth/auth-cass/JU_ConfigDAOTest.java create mode 100644 auth/auth-cass/JU_LocateDAOTest.java create mode 100644 auth/auth-cass/JU_NsDAOTest.java create mode 100644 auth/auth-cass/JU_OAuthTokenDAOTest.java create mode 100644 auth/auth-cass/JU_PermDAOTest.java create mode 100644 auth/auth-cass/JU_RoleDAOTest.java create mode 100644 auth/auth-cass/JU_UserRoleDAOTest.java (limited to 'auth/auth-cass') diff --git a/auth/auth-cass/JU_ConfigDAOTest.java b/auth/auth-cass/JU_ConfigDAOTest.java new file mode 100644 index 00000000..c355c4df Binary files /dev/null and b/auth/auth-cass/JU_ConfigDAOTest.java differ diff --git a/auth/auth-cass/JU_LocateDAOTest.java b/auth/auth-cass/JU_LocateDAOTest.java new file mode 100644 index 00000000..ad7b3a26 Binary files /dev/null and b/auth/auth-cass/JU_LocateDAOTest.java differ diff --git a/auth/auth-cass/JU_NsDAOTest.java b/auth/auth-cass/JU_NsDAOTest.java new file mode 100644 index 00000000..021329a5 Binary files /dev/null and b/auth/auth-cass/JU_NsDAOTest.java differ diff --git a/auth/auth-cass/JU_OAuthTokenDAOTest.java b/auth/auth-cass/JU_OAuthTokenDAOTest.java new file mode 100644 index 00000000..4ab86cdb Binary files /dev/null and b/auth/auth-cass/JU_OAuthTokenDAOTest.java differ diff --git a/auth/auth-cass/JU_PermDAOTest.java b/auth/auth-cass/JU_PermDAOTest.java new file mode 100644 index 00000000..74b7a02c Binary files /dev/null and b/auth/auth-cass/JU_PermDAOTest.java differ diff --git a/auth/auth-cass/JU_RoleDAOTest.java b/auth/auth-cass/JU_RoleDAOTest.java new file mode 100644 index 00000000..06a8e6c9 Binary files /dev/null and b/auth/auth-cass/JU_RoleDAOTest.java differ diff --git a/auth/auth-cass/JU_UserRoleDAOTest.java b/auth/auth-cass/JU_UserRoleDAOTest.java new file mode 100644 index 00000000..56d5b8a4 Binary files /dev/null and b/auth/auth-cass/JU_UserRoleDAOTest.java differ diff --git a/auth/auth-cass/pom.xml b/auth/auth-cass/pom.xml index 2cedf0d3..ee000395 100644 --- a/auth/auth-cass/pom.xml +++ b/auth/auth-cass/pom.xml @@ -17,7 +17,7 @@ org.onap.aaf.authz authparent - 2.1.13-SNAPSHOT + 2.1.14-SNAPSHOT ../pom.xml diff --git a/auth/auth-cass/src/test/java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java b/auth/auth-cass/src/test/java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java index ce32615d..fbd1b813 100644 --- a/auth/auth-cass/src/test/java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java +++ b/auth/auth-cass/src/test/java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java @@ -269,13 +269,12 @@ public class JU_CacheInfoDAO { CacheInfoDAOImpl daoObj=null; try { daoObj = new CacheInfoDAOImpl(trans, cluster, "test",data, createPS); + Date retVal = daoObj.get(trans, "test", 1011); +// assertTrue(retVal.status == 0); + retVal = daoObj.get(trans, "test1", 1011); } catch (APIException | IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); } - Date retVal = daoObj.get(trans, "test", 1011); -// assertTrue(retVal.status == 0); - retVal = daoObj.get(trans, "test1", 1011); } @Test -- cgit 1.2.3-korg