From 0500d5dbb363e74983d758288f1ac53ae763683d Mon Sep 17 00:00:00 2001 From: "Masal, Sushil (sm588m)" Date: Sun, 13 Aug 2017 19:10:02 +0530 Subject: Create and store Dependency model from Tosca Updated asdc listerner bundle to create dependency model from tosca artifact reveived from SDC.This dependency model will be in JSON format and will be stored to ASDC_ARTIFACT table as new artifact. Also ASDC_REFERENCE table will be updated to with new artifact details. This commit also include bug fix for MDSALStore to handle all http code for successful rest calls Issue ID: APPC-32 Change-Id: Iaef6cdee67475917968a4bcdec131cd1bc4c4f41 Signed-off-by: Masal, Sushil (sm588m) --- .../appc-asdc-listener-bundle/pom.xml | 61 ++++++++++++++++------ 1 file changed, 46 insertions(+), 15 deletions(-) (limited to 'appc-asdc-listener/appc-asdc-listener-bundle/pom.xml') diff --git a/appc-asdc-listener/appc-asdc-listener-bundle/pom.xml b/appc-asdc-listener/appc-asdc-listener-bundle/pom.xml index 35b9b3180..316cfdda0 100644 --- a/appc-asdc-listener/appc-asdc-listener-bundle/pom.xml +++ b/appc-asdc-listener/appc-asdc-listener-bundle/pom.xml @@ -9,7 +9,8 @@ - 1.12 + 2.8.1 + 1.15 appc-asdc-listener-bundle @@ -39,11 +40,11 @@ test - org.powermock - powermock-module-junit4 - 1.6.2 - test - + org.powermock + powermock-module-junit4 + 1.6.2 + test + org.powermock powermock-api-mockito @@ -127,12 +128,6 @@ gson - - org.openecomp.sdc.common - openecomp-tosca-datatype - ${toscalib.version} - - org.apache.velocity velocity @@ -155,16 +150,51 @@ ietf-yang-types ${odl.ietf-yang-types.version} + + + org.openecomp.appc + appc-dg-dependency-model + ${project.version} + com.fasterxml.jackson.dataformat jackson-dataformat-yaml - ${jackson.yml.version} + ${jackson-yaml-version} + + + org.openecomp.appc + appc-dg-domain-model-lib + ${project.version} + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson-yaml-version} + + + com.fasterxml.jackson.core + jackson-databind + ${jackson-yaml-version} + + + com.fasterxml.jackson.core + jackson-core + ${jackson-yaml-version} + + + org.yaml + snakeyaml + ${snakeyaml.version} + org.mockito mockito-core - + + + + @@ -201,7 +231,8 @@ sdc-distribution-client,snakeyaml, saClientLibrary,cambriaClient,saToolkit, - functionaljava,httpcore,httpclient,gson; + functionaljava,httpcore,httpclient,gson,appc-dg-dependency-model,appc-dg-domain-model-lib, + jackson-core,jackson-databind,jackson-annotations,jackson-dataformat-yaml; scope=compile|runtime;inline=false true -- cgit 1.2.3-korg