diff options
-rw-r--r-- | activiti-extension/src/main/java/org/onap/workflow/activitiext/common/EnumModuleUrl.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activiti-extension/src/main/java/org/onap/workflow/activitiext/common/EnumModuleUrl.java b/activiti-extension/src/main/java/org/onap/workflow/activitiext/common/EnumModuleUrl.java index a380ffd..45f2957 100644 --- a/activiti-extension/src/main/java/org/onap/workflow/activitiext/common/EnumModuleUrl.java +++ b/activiti-extension/src/main/java/org/onap/workflow/activitiext/common/EnumModuleUrl.java @@ -28,9 +28,7 @@ public class EnumModuleUrl { private static final Logger logger = LoggerFactory.getLogger(EnumModuleUrl.class); - public static String getApiRootDomain() { - return "/openoapi/catalog/v1"; - } + private static final String apiRootDomain="/openoapi/catalog/v1"; public static String getBaseUrl(ServiceType type) { String baseUrl = ""; @@ -47,7 +45,7 @@ public class EnumModuleUrl { baseUrl = publishUrl; }else{ - baseUrl = PropertyUtil.getBasePath() + getApiRootDomain(); + baseUrl = PropertyUtil.getBasePath() + apiRootDomain; } logger.info("baseUrl is" + baseUrl); |