summaryrefslogtreecommitdiffstats
path: root/wfenginemgrservice/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'wfenginemgrservice/src/main')
-rw-r--r--wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
index f38fe11..2a6ba34 100644
--- a/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
+++ b/wfenginemgrservice/src/main/java/org/onap/workflow/common/RestClient.java
@@ -45,8 +45,7 @@ public class RestClient {
private static final String HTTP = "http";
private static final Logger logger = LoggerFactory.getLogger(RestClient.class);
- //PublicExposureUsedInTest
- public static boolean isTest = false;
+ private static boolean isTest = false;
public enum HttpMethod {
GET, POST, PUT, DELETE
@@ -287,4 +286,12 @@ public class RestClient {
return executeHttpDeleteDeploy(HttpMethod.DELETE, ip, port, url);
}
+ public static boolean getIsTest(){
+ return isTest;
+ }
+
+ public static void setIsTest(boolean arg){
+ isTest = arg;
+ }
+
}