Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
PDP notification fixes
[policy/engine.git]
/
ONAP-PDP-REST
/
src
/
main
/
java
/
org
/
onap
/
policy
/
pdp
/
rest
/
XACMLPdpServlet.java
diff --git
a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpServlet.java
b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpServlet.java
index
1e1b94d
..
d57e884
100644
(file)
--- a/
ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpServlet.java
+++ b/
ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/XACMLPdpServlet.java
@@
-216,6
+216,8
@@
public class XACMLPdpServlet extends HttpServlet implements Runnable {
synchronized(pdpEngineLock) {
pdpEngine = engine;
}
synchronized(pdpEngineLock) {
pdpEngine = engine;
}
+ // Notification will be Sent Here.
+ XACMLPdpLoader.sendNotification();
}
//
// Logging stuff....
}
//
// Logging stuff....
@@
-1228,6
+1230,8
@@
public class XACMLPdpServlet extends HttpServlet implements Runnable {
newStatus.addLoadWarning("Unable to save configuration: " + e.getMessage());
}
}
newStatus.addLoadWarning("Unable to save configuration: " + e.getMessage());
}
}
+ // Notification will be Sent Here.
+ XACMLPdpLoader.sendNotification();
} else {
newStatus.setStatus(Status.LAST_UPDATE_FAILED);
}
} else {
newStatus.setStatus(Status.LAST_UPDATE_FAILED);
}