Pass error message through on vertex add 33/38633/3
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>
Mon, 26 Mar 2018 18:27:47 +0000 (14:27 -0400)
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>
Tue, 27 Mar 2018 17:24:57 +0000 (13:24 -0400)
Change-Id: I55bc4aaa8fdb31900d8a62d846bdd9d70764610c
Issue-ID: AAI-945
Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
pom.xml
src/main/java/org/onap/crud/dao/champ/ChampDao.java

diff --git a/pom.xml b/pom.xml
index c022668..52009f5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -101,7 +101,7 @@ limitations under the License.
         <dependency>
           <groupId>org.onap.aai.logging-service</groupId>
           <artifactId>common-logging</artifactId>
-          <version>1.1.0</version>
+          <version>1.2.2</version>
         </dependency>
            <dependency>
                  <groupId>org.glassfish.jersey.core</groupId>
@@ -116,22 +116,22 @@ limitations under the License.
                <dependency>
           <groupId>org.onap.aai.event-client</groupId>
           <artifactId>event-client-dmaap</artifactId>
-          <version>1.2.0</version>
+          <version>1.2.1</version>
         </dependency>
         <dependency>
           <groupId>org.onap.aai.aai-common</groupId>
           <artifactId>aai-schema</artifactId>
-          <version>1.2.1-SNAPSHOT</version>
+          <version>1.2.1</version>
         </dependency>
         <dependency>
             <groupId>org.onap.aai.aai-common</groupId>
             <artifactId>aai-utils</artifactId>
-            <version>1.2.0</version>
+            <version>1.2.1</version>
         </dependency>
         <dependency>
             <groupId>org.onap.aai.aai-common</groupId>
             <artifactId>aai-core</artifactId>
-            <version>1.2.1-SNAPSHOT</version>
+            <version>1.2.1</version>
             <exclusions>
                 <exclusion>
                     <groupId>*</groupId>
@@ -143,7 +143,7 @@ limitations under the License.
         <dependency>
             <groupId>org.onap.aai.aai-common</groupId>
             <artifactId>aai-auth</artifactId>
-            <version>1.2.0</version>
+            <version>1.2.1</version>
         </dependency>
 
         <dependency>
index 18d4946..344d797 100644 (file)
@@ -260,7 +260,7 @@ public class ChampDao implements GraphDao {
     } else {
       // We didn't create a vertex with the supplied type, so just throw an
       // exception.
-      throw new CrudException("Failed to create vertex", Response.Status.fromStatusCode(getResult.getResultCode()));
+      throw new CrudException("Failed to create vertex: " + getResult.getFailureCause(), Response.Status.fromStatusCode(getResult.getResultCode()));
     }
   }