From 577c10b380e795edeae4911a456a95e114a39caa Mon Sep 17 00:00:00 2001 From: sekharhuawei Date: Tue, 18 Aug 2020 17:50:05 +0530 Subject: mso-cnf-adapter sample delete , update api's Issue-ID: SO-3183 Signed-off-by: sekharhuawei Change-Id: If41c7b7a9c2a992801a23561607be285706914cc --- adapters/mso-cnf-adapter/pom.xml | 4 +- .../cnf/exceptions/ApplicationException.java | 66 +++ .../so/adapters/cnf/model/BpmnInstanceRequest.java | 87 ++++ .../onap/so/adapters/cnf/model/ErrorResponse.java | 63 +++ .../onap/so/adapters/cnf/model/InstanceEntity.java | 76 --- .../cnf/model/MulticloudInstanceRequest.java | 87 ++++ .../onap/so/adapters/cnf/rest/CnfAdapterRest.java | 509 +++++++++++++++++++-- .../onap/so/adapters/cnf/util/CNfAdapterUtil.java | 94 ++++ .../onap/so/adapters/cnf/CnfAdapterRestTest.java | 62 +++ 9 files changed, 932 insertions(+), 116 deletions(-) create mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/exceptions/ApplicationException.java create mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/model/BpmnInstanceRequest.java create mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/model/ErrorResponse.java delete mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/model/InstanceEntity.java create mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/model/MulticloudInstanceRequest.java create mode 100644 adapters/mso-cnf-adapter/src/main/java/org/onap/so/adapters/cnf/util/CNfAdapterUtil.java create mode 100644 adapters/mso-cnf-adapter/src/test/java/org/onap/so/adapters/cnf/CnfAdapterRestTest.java (limited to 'adapters') diff --git a/adapters/mso-cnf-adapter/pom.xml b/adapters/mso-cnf-adapter/pom.xml index fb25157a96..0928da084e 100644 --- a/adapters/mso-cnf-adapter/pom.xml +++ b/adapters/mso-cnf-adapter/pom.xml @@ -110,11 +110,11 @@ org.springframework.boot spring-boot-starter-data-jpa - +