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
Added Junits for POLICY-SDK-APP controllers
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
java
/
org
/
onap
/
policy
/
controller
/
DashboardController.java
diff --git
a/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DashboardController.java
b/POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DashboardController.java
index
adb91ec
..
d1483a2
100644
(file)
--- a/
POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DashboardController.java
+++ b/
POLICY-SDK-APP/src/main/java/org/onap/policy/controller/DashboardController.java
@@
-74,12
+74,19
@@
import com.fasterxml.jackson.databind.ObjectMapper;
@RequestMapping({"/"})
public class DashboardController extends RestrictedBaseController{
private static final Logger policyLogger = FlexLogger.getLogger(DashboardController.class);
@RequestMapping({"/"})
public class DashboardController extends RestrictedBaseController{
private static final Logger policyLogger = FlexLogger.getLogger(DashboardController.class);
- @Autowired
- SystemLogDbDao systemDAO;
-
@Autowired
CommonClassDao commonClassDao;
@Autowired
CommonClassDao commonClassDao;
+
+ @Autowired
+ SystemLogDbDao systemDAO;
+ public void setCommonClassDao(CommonClassDao commonClassDao) {
+ this.commonClassDao = commonClassDao;
+ }
+ public void setSystemLogDbDao(SystemLogDbDao systemDAO){
+ this.systemDAO = systemDAO;
+ }
+
private int pdpCount;
private PDPGroupContainer pdpConatiner;
private ArrayList<Object> pdpStatusData;
private int pdpCount;
private PDPGroupContainer pdpConatiner;
private ArrayList<Object> pdpStatusData;