Code Review
/
aai
/
esr-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Adjust the entity name
[aai/esr-server.git]
/
esr-mgr
/
src
/
main
/
java
/
org
/
onap
/
aai
/
esr
/
wrapper
/
ThirdpatySdncWrapper.java
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
..
603fcc3
100644
(file)
--- 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
@@
-20,14
+20,14
@@
import java.util.ArrayList;
import javax.ws.rs.core.Response;
import org.onap.aai.esr.entity.rest.RegisterResponse;
import javax.ws.rs.core.Response;
import org.onap.aai.esr.entity.rest.RegisterResponse;
-import org.onap.aai.esr.entity.rest.Third
PartySdncRestData
;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+import org.onap.aai.esr.entity.rest.Third
partySdncRegisterInfo
;
+
//
import org.slf4j.Logger;
+
//
import org.slf4j.LoggerFactory;
public class ThirdpatySdncWrapper {
private static ThirdpatySdncWrapper thirdpatySdncWrapper;
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.
/**
* get ThirdpatySdncWrapper instance.
@@
-40,25
+40,25
@@
public class ThirdpatySdncWrapper {
return thirdpatySdncWrapper;
}
return thirdpatySdncWrapper;
}
- public Response registerThirdpartySdnc(Third
PartySdncRestData
thirdpartySdnc) {
+ public Response registerThirdpartySdnc(Third
partySdncRegisterInfo
thirdpartySdnc) {
//TODO
RegisterResponse result = null;
return Response.ok(result).build();
}
//TODO
RegisterResponse result = null;
return Response.ok(result).build();
}
- public Response updateThirdpartySdnc(Third
PartySdncRestData
thirdpartySdnc) {
+ public Response updateThirdpartySdnc(Third
partySdncRegisterInfo
thirdpartySdnc) {
//TODO
return Response.ok().build();
}
public Response queryThirdpartySdncList() {
//TODO
//TODO
return Response.ok().build();
}
public Response queryThirdpartySdncList() {
//TODO
- ArrayList<Third
PartySdncRestData> thirdpartySdncList = new ArrayList<ThirdPartySdncRestData
>();
+ ArrayList<Third
partySdncRegisterInfo> thirdpartySdncList = new ArrayList<ThirdpartySdncRegisterInfo
>();
return Response.ok(thirdpartySdncList).build();
}
public Response queryThirdpartySdncById(String thirdpartySdncId) {
return Response.ok(thirdpartySdncList).build();
}
public Response queryThirdpartySdncById(String thirdpartySdncId) {
- Third
PartySdncRestData thirdpartySdnc = new ThirdPartySdncRestData
();
+ Third
partySdncRegisterInfo thirdpartySdnc = new ThirdpartySdncRegisterInfo
();
//TODO
return Response.ok(thirdpartySdnc).build();
}
//TODO
return Response.ok(thirdpartySdnc).build();
}