summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-04-17 13:10:15 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-04-18 02:24:23 -0400
commit64ee66e381069375dc84f49d42114bb0c0c7b877 (patch)
treeb477d6b90d1577cff1deb8241bd8f77b55652edb
parentcca8e17ff1487366072aac8720058fe1465d0ea3 (diff)
Remove unnecessary cast
Remove case in decryptColumn(), which (a) is no longer necessary and (b) throws a ClassNotFoundException when loaded via Aries Blueprint Change-Id: Ie5e748e0d53875bd9f912572e24763bdeb9cb82f Issue-ID: CCSDK-244 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
-rwxr-xr-xsql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java2
-rw-r--r--version.properties2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java b/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java
index dc6f7663..1c0a0087 100755
--- a/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java
+++ b/sql-resource/provider/src/main/java/org/onap/ccsdk/sli/adaptors/resource/sql/SqlResource.java
@@ -441,7 +441,7 @@ public class SqlResource implements SvcLogicResource, SvcLogicJavaPlugin {
return (strValue);
} else {
ResultSet results = null;
- try (Connection conn = ((DBResourceManager) dblibSvc).getConnection();
+ try (Connection conn = dblibSvc.getConnection();
PreparedStatement stmt = conn.prepareStatement("SELECT CAST(AES_DECRYPT(?, ?) AS CHAR(50)) FROM DUAL")) {
stmt.setBytes(1, colValue);
diff --git a/version.properties b/version.properties
index efb7e63b..ebb19b8f 100644
--- a/version.properties
+++ b/version.properties
@@ -5,7 +5,7 @@
release_name=0
sprint_number=2
-feature_revision=0
+feature_revision=1
base_version=${release_name}.${sprint_number}.${feature_revision}