diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/conf/Config.java | 2 | ||||
-rw-r--r-- | service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/constant/Constant.java | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/conf/Config.java b/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/conf/Config.java index b37e1b9..0481101 100644 --- a/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/conf/Config.java +++ b/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/conf/Config.java @@ -69,6 +69,6 @@ public class Config { } public static String getOpenstackPrefix() { - return prps.getProperty("openstack_prefix"); + return prps.getProperty(Constant.OPENSTACK_PREFIX); } } diff --git a/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/constant/Constant.java b/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/constant/Constant.java index e246b16..f103c30 100644 --- a/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/constant/Constant.java +++ b/service/src/main/java/org/onap/vfc/nfvo/multivimproxy/common/constant/Constant.java @@ -102,7 +102,9 @@ public class Constant { public static final String GLOBAL_CUSTOMER_ID = "global-customer-id"; public static final String SERVICE_TYPE = "service-type"; - + + public static final String OPENSTACK_PREFIX = "openstack_prefix"; + public static final int HTTP_BAD_REQUEST = 400; public static final int HTTP_CREATED = 201; |