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
Adding Junits in ONAP-PDP-REST
[policy/engine.git]
/
ONAP-PDP-REST
/
src
/
main
/
java
/
org
/
onap
/
policy
/
pdp
/
rest
/
api
/
services
/
PAPServices.java
diff --git
a/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PAPServices.java
b/ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PAPServices.java
index
57a80b5
..
9ab4252
100644
(file)
--- a/
ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PAPServices.java
+++ b/
ONAP-PDP-REST/src/main/java/org/onap/policy/pdp/rest/api/services/PAPServices.java
@@
-53,9
+53,9
@@
public class PAPServices {
private int responseCode = 0;
private static String environment = "DEVL";
private int responseCode = 0;
private static String environment = "DEVL";
- p
rivate
static Boolean junit = false;
+ p
ublic
static Boolean junit = false;
private static List<String> paps = null;
private static List<String> paps = null;
- private static final Object papResourceLock = new Object();
+
private static final Object papResourceLock = new Object();
private String operation = null;
private String requestMethod = null;
private String encoding = null;
private String operation = null;
private String requestMethod = null;
private String encoding = null;
@@
-96,6
+96,10
@@
public class PAPServices {
}
return result;
}
}
return result;
}
+
+ public static void setPaps(List<String> paps) {
+ PAPServices.paps = paps;
+ }
public int getResponseCode() {
return responseCode;
public int getResponseCode() {
return responseCode;