summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sdnr/northbound/CMNotify/provider/pom.xml4
-rw-r--r--sdnr/northbound/addCMHandle/provider/pom.xml4
-rw-r--r--sdnr/northbound/oofpcipoc/consumer/pom.xml4
-rw-r--r--sdnr/northbound/oofpcipoc/provider/pom.xml4
-rw-r--r--sdnr/northbound/ranSlice/provider/pom.xml4
-rw-r--r--sdnr/wt/data-provider/dblib/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/sqldb/data/SqlDBDataProvider.java2
6 files changed, 1 insertions, 21 deletions
diff --git a/sdnr/northbound/CMNotify/provider/pom.xml b/sdnr/northbound/CMNotify/provider/pom.xml
index 8b9c0f7a9..3a65a16cf 100644
--- a/sdnr/northbound/CMNotify/provider/pom.xml
+++ b/sdnr/northbound/CMNotify/provider/pom.xml
@@ -36,10 +36,6 @@
<name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
- <properties>
- <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
diff --git a/sdnr/northbound/addCMHandle/provider/pom.xml b/sdnr/northbound/addCMHandle/provider/pom.xml
index 2ad5999a4..53f98acd6 100644
--- a/sdnr/northbound/addCMHandle/provider/pom.xml
+++ b/sdnr/northbound/addCMHandle/provider/pom.xml
@@ -36,10 +36,6 @@
<name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
- <properties>
- <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
diff --git a/sdnr/northbound/oofpcipoc/consumer/pom.xml b/sdnr/northbound/oofpcipoc/consumer/pom.xml
index b57bc4d8b..8a75e3261 100644
--- a/sdnr/northbound/oofpcipoc/consumer/pom.xml
+++ b/sdnr/northbound/oofpcipoc/consumer/pom.xml
@@ -36,10 +36,6 @@
<name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
- <properties>
- <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
- </properties>
-
<dependencyManagement>
<dependencies>
<dependency>
diff --git a/sdnr/northbound/oofpcipoc/provider/pom.xml b/sdnr/northbound/oofpcipoc/provider/pom.xml
index 7b020a555..6154d7b51 100644
--- a/sdnr/northbound/oofpcipoc/provider/pom.xml
+++ b/sdnr/northbound/oofpcipoc/provider/pom.xml
@@ -36,10 +36,6 @@
<name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
- <properties>
- <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
diff --git a/sdnr/northbound/ranSlice/provider/pom.xml b/sdnr/northbound/ranSlice/provider/pom.xml
index 064308de9..9510264a2 100644
--- a/sdnr/northbound/ranSlice/provider/pom.xml
+++ b/sdnr/northbound/ranSlice/provider/pom.xml
@@ -36,10 +36,6 @@
<name>ccsdk-features :: sdnr-northbound :: ${project.artifactId}</name>
- <properties>
- <ccsdk.sli.version>1.5.0-SNAPSHOT</ccsdk.sli.version>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.onap.ccsdk.features.sdnr.northbound</groupId>
diff --git a/sdnr/wt/data-provider/dblib/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/sqldb/data/SqlDBDataProvider.java b/sdnr/wt/data-provider/dblib/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/sqldb/data/SqlDBDataProvider.java
index cabe6bed0..cb66fc6fb 100644
--- a/sdnr/wt/data-provider/dblib/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/sqldb/data/SqlDBDataProvider.java
+++ b/sdnr/wt/data-provider/dblib/src/main/java/org/onap/ccsdk/features/sdnr/wt/dataprovider/database/sqldb/data/SqlDBDataProvider.java
@@ -512,7 +512,7 @@ public class SqlDBDataProvider extends HtDatabaseEventsService implements Databa
query = String.format("INSERT INTO `%s` (`id`,`desc`) VALUES ('%s','%s')", this.controllerTableName,
this.controllerId, "");
LOG.trace(query);
- try { data.close(); } catch (SQLException ignore) { }
+ try { if(data!=null){data.close();} } catch (SQLException ignore) { }
return this.dbClient.write(query);
} else {
LOG.trace("controllerId already set");