X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=esr-mgr%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fesr%2Fwrapper%2FThirdpatySdncWrapper.java;h=b06b1f7023bfae616ea74e601de8ff8b187b6682;hb=9fccad8f53ef43026a8632bfb6eabc32849a8c46;hp=d88c9aedeced8be9bf6441e68a0fa30083d2e4ac;hpb=fa6dd60a45a093205ae55065f6de044c91493e60;p=aai%2Fesr-server.git diff --git a/esr-mgr/src/main/java/org/onap/aai/esr/wrapper/ThirdpatySdncWrapper.java b/esr-mgr/src/main/java/org/onap/aai/esr/wrapper/ThirdpatySdncWrapper.java index d88c9ae..b06b1f7 100644 --- a/esr-mgr/src/main/java/org/onap/aai/esr/wrapper/ThirdpatySdncWrapper.java +++ b/esr-mgr/src/main/java/org/onap/aai/esr/wrapper/ThirdpatySdncWrapper.java @@ -19,15 +19,15 @@ import java.util.ArrayList; import javax.ws.rs.core.Response; -import org.onap.aai.esr.entity.rest.RegisterResponse; -import org.onap.aai.esr.entity.rest.ThirdPartySdncRestData; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; +import org.onap.aai.esr.entity.rest.CommonRegisterResponse; +import org.onap.aai.esr.entity.rest.ThirdpartySdncRegisterInfo; +//import org.slf4j.Logger; +//import org.slf4j.LoggerFactory; public class ThirdpatySdncWrapper { private static ThirdpatySdncWrapper thirdpatySdncWrapper; - private static final Logger LOG = LoggerFactory.getLogger(ThirdpatySdncWrapper.class); +// private static final Logger LOG = LoggerFactory.getLogger(ThirdpatySdncWrapper.class); /** * get ThirdpatySdncWrapper instance. @@ -40,25 +40,25 @@ public class ThirdpatySdncWrapper { return thirdpatySdncWrapper; } - public Response registerThirdpartySdnc(ThirdPartySdncRestData thirdpartySdnc) { + public Response registerThirdpartySdnc(ThirdpartySdncRegisterInfo thirdpartySdnc) { //TODO - RegisterResponse result = null; + CommonRegisterResponse result = null; return Response.ok(result).build(); } - public Response updateThirdpartySdnc(ThirdPartySdncRestData thirdpartySdnc) { + public Response updateThirdpartySdnc(ThirdpartySdncRegisterInfo thirdpartySdnc) { //TODO return Response.ok().build(); } public Response queryThirdpartySdncList() { //TODO - ArrayList thirdpartySdncList = new ArrayList(); + ArrayList thirdpartySdncList = new ArrayList(); return Response.ok(thirdpartySdncList).build(); } public Response queryThirdpartySdncById(String thirdpartySdncId) { - ThirdPartySdncRestData thirdpartySdnc = new ThirdPartySdncRestData(); + ThirdpartySdncRegisterInfo thirdpartySdnc = new ThirdpartySdncRegisterInfo(); //TODO return Response.ok(thirdpartySdnc).build(); }