summaryrefslogtreecommitdiffstats
path: root/auth/auth-cass
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-cass')
-rw-r--r--auth/auth-cass/JU_ConfigDAOTest.javabin0 -> 20 bytes
-rw-r--r--auth/auth-cass/JU_LocateDAOTest.javabin0 -> 56 bytes
-rw-r--r--auth/auth-cass/JU_NsDAOTest.javabin0 -> 28 bytes
-rw-r--r--auth/auth-cass/JU_OAuthTokenDAOTest.javabin0 -> 61 bytes
-rw-r--r--auth/auth-cass/JU_PermDAOTest.javabin0 -> 32 bytes
-rw-r--r--auth/auth-cass/JU_RoleDAOTest.javabin0 -> 24 bytes
-rw-r--r--auth/auth-cass/JU_UserRoleDAOTest.javabin0 -> 32 bytes
-rw-r--r--auth/auth-cass/pom.xml2
-rw-r--r--auth/auth-cass/src/test/java/org/onap/aaf/auth/dao/cass/JU_CacheInfoDAO.java7
9 files changed, 4 insertions, 5 deletions
diff --git a/auth/auth-cass/JU_ConfigDAOTest.java b/auth/auth-cass/JU_ConfigDAOTest.java
new file mode 100644
index 00000000..c355c4df
--- /dev/null
+++ b/auth/auth-cass/JU_ConfigDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_LocateDAOTest.java b/auth/auth-cass/JU_LocateDAOTest.java
new file mode 100644
index 00000000..ad7b3a26
--- /dev/null
+++ b/auth/auth-cass/JU_LocateDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_NsDAOTest.java b/auth/auth-cass/JU_NsDAOTest.java
new file mode 100644
index 00000000..021329a5
--- /dev/null
+++ b/auth/auth-cass/JU_NsDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_OAuthTokenDAOTest.java b/auth/auth-cass/JU_OAuthTokenDAOTest.java
new file mode 100644
index 00000000..4ab86cdb
--- /dev/null
+++ b/auth/auth-cass/JU_OAuthTokenDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_PermDAOTest.java b/auth/auth-cass/JU_PermDAOTest.java
new file mode 100644
index 00000000..74b7a02c
--- /dev/null
+++ b/auth/auth-cass/JU_PermDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_RoleDAOTest.java b/auth/auth-cass/JU_RoleDAOTest.java
new file mode 100644
index 00000000..06a8e6c9
--- /dev/null
+++ b/auth/auth-cass/JU_RoleDAOTest.java
Binary files differ
diff --git a/auth/auth-cass/JU_UserRoleDAOTest.java b/auth/auth-cass/JU_UserRoleDAOTest.java
new file mode 100644
index 00000000..56d5b8a4
--- /dev/null
+++ b/auth/auth-cass/JU_UserRoleDAOTest.java
Binary files 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 @@
<parent>
<groupId>org.onap.aaf.authz</groupId>
<artifactId>authparent</artifactId>
- <version>2.1.13-SNAPSHOT</version>
+ <version>2.1.14-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
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