Code Review
/
aai
/
gizmo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Config to be able to route GET through datarouter
[aai/gizmo.git]
/
src
/
main
/
java
/
org
/
onap
/
crud
/
service
/
CrudAsyncGraphDataService.java
diff --git
a/src/main/java/org/onap/crud/service/CrudAsyncGraphDataService.java
b/src/main/java/org/onap/crud/service/CrudAsyncGraphDataService.java
index
b3e7551
..
5e264b5
100644
(file)
--- a/
src/main/java/org/onap/crud/service/CrudAsyncGraphDataService.java
+++ b/
src/main/java/org/onap/crud/service/CrudAsyncGraphDataService.java
@@
-84,12
+84,21
@@
public class CrudAsyncGraphDataService extends AbstractGraphDataService {
public static Integer getRequestTimeOut() {
return requestTimeOut;
}
public static Integer getRequestTimeOut() {
return requestTimeOut;
}
+
+ public CrudAsyncGraphDataService(GraphDao dao,
+ EventPublisher asyncRequestPublisher,
+ EventConsumer asyncResponseConsumer) throws CrudException {
+ this(dao,dao,asyncRequestPublisher,asyncResponseConsumer);
+ }
public CrudAsyncGraphDataService(GraphDao dao,
public CrudAsyncGraphDataService(GraphDao dao,
+ GraphDao daoForGet,
EventPublisher asyncRequestPublisher,
EventConsumer asyncResponseConsumer) throws CrudException {
EventPublisher asyncRequestPublisher,
EventConsumer asyncResponseConsumer) throws CrudException {
- super(dao);
+ super();
+ this.dao = dao;
+ this.daoForGet = daoForGet;
requestTimeOut = DEFAULT_REQUEST_TIMEOUT;
try {
requestTimeOut = DEFAULT_REQUEST_TIMEOUT;
try {
@@
-443,5
+452,4
@@
public class CrudAsyncGraphDataService extends AbstractGraphDataService {
+ " , operation: " + event.getOperation().toString() + " , result: "
+ response.getResult() + " , error: " + response.getErrorMessage());
}
+ " , operation: " + event.getOperation().toString() + " , result: "
+ response.getResult() + " , error: " + response.getErrorMessage());
}
-
}
\ No newline at end of file
}
\ No newline at end of file