From c26725705441e5e0039a0bdf8ce9b3aa3b52b7e3 Mon Sep 17 00:00:00 2001 From: lukegleeson Date: Mon, 4 Jul 2022 10:09:35 +0100 Subject: Fix: cps-ncmp-rest-stub implement new methods Override getModuleDefinitionsByCmHandleId Override getModuleReferencesByCmHandle Issue-ID: CPS-1094 Signed-off-by: lukegleeson Change-Id: I3e4f91602f338e6f22eaf89212cf31a1e7af0c33 --- .../rest/stub/controller/NetworkCmProxyStubController.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'cps-ncmp-rest-stub/src/main/java') diff --git a/cps-ncmp-rest-stub/src/main/java/org/onap/cps/ncmp/rest/stub/controller/NetworkCmProxyStubController.java b/cps-ncmp-rest-stub/src/main/java/org/onap/cps/ncmp/rest/stub/controller/NetworkCmProxyStubController.java index 45408b0ebf..d8e48be07a 100644 --- a/cps-ncmp-rest-stub/src/main/java/org/onap/cps/ncmp/rest/stub/controller/NetworkCmProxyStubController.java +++ b/cps-ncmp-rest-stub/src/main/java/org/onap/cps/ncmp/rest/stub/controller/NetworkCmProxyStubController.java @@ -34,8 +34,10 @@ import javax.validation.constraints.NotNull; import lombok.extern.slf4j.Slf4j; import org.onap.cps.ncmp.rest.api.NetworkCmProxyApi; import org.onap.cps.ncmp.rest.model.CmHandleQueryParameters; +import org.onap.cps.ncmp.rest.model.RestModuleDefinition; import org.onap.cps.ncmp.rest.model.RestModuleReference; import org.onap.cps.ncmp.rest.model.RestOutputCmHandle; +import org.onap.cps.ncmp.rest.model.RestOutputCmHandleCompositeState; import org.onap.cps.ncmp.rest.model.RestOutputCmHandlePublicProperties; import org.springframework.beans.factory.annotation.Value; import org.springframework.core.io.ClassPathResource; @@ -95,6 +97,16 @@ public class NetworkCmProxyStubController implements NetworkCmProxyApi { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); } + @Override + public ResponseEntity getCmHandleStateByCmHandleId(final String cmHandle) { + return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); + } + + @Override + public ResponseEntity> getModuleDefinitionsByCmHandleId(final String cmHandle) { + return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); + } + @Override public ResponseEntity> getModuleReferencesByCmHandle(final String cmHandleId) { return new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED); -- cgit 1.2.3-korg