summaryrefslogtreecommitdiffstats
path: root/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java
diff options
context:
space:
mode:
Diffstat (limited to 'juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java')
-rw-r--r--juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java
index 325be7a..bf43464 100644
--- a/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java
+++ b/juju/juju-vnfmadapter/Juju-vnfmadapterService/service/src/main/java/org/onap/vfc/nfvo/vnfm/gvnfm/jujuvnfmadapter/common/SwitchController.java
@@ -31,7 +31,7 @@ public class SwitchController {
* turn debug model
*/
private static boolean debugModel = false;
- public static String vnfmServiceUrl = null;
+ private static String vnfmServiceUrl = null;
public SwitchController() { //NOSONAR
//Constructor
@@ -52,4 +52,10 @@ public class SwitchController {
SwitchController.debugModel = debugModel;
}
+ public static void setVnfmServiceUrl(String inVnfmServiceUrl) {
+ SwitchController.vnfmServiceUrl = inVnfmServiceUrl;
+ }
+ public static String getVnfmServiceUrl() {
+ return SwitchController.vnfmServiceUrl;
+ }
}