diff options
Diffstat (limited to 'bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java')
-rw-r--r-- | bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java index 80d064249b..1f774f5be7 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/adapter/vnf/VnfVolumeAdapterRestProperties.java @@ -22,36 +22,36 @@ package org.onap.so.client.adapter.vnf; import java.net.MalformedURLException; import java.net.URL; - import org.onap.so.bpmn.core.UrnPropertiesReader; import org.onap.so.client.adapter.rest.AdapterRestProperties; public class VnfVolumeAdapterRestProperties implements AdapterRestProperties { - protected static final String authProp = "mso.adapters.po.auth"; - protected static final String keyProp = "mso.msoKey"; - protected static final String endpointProp = "mso.adapters.volume-groups.rest.endpoint"; - - public VnfVolumeAdapterRestProperties() { - } - - @Override - public String getAuth() { - return UrnPropertiesReader.getVariable(authProp); - } - @Override - public String getKey() { - return UrnPropertiesReader.getVariable(keyProp); - } - @Override - public URL getEndpoint() throws MalformedURLException { - return new URL(UrnPropertiesReader.getVariable(endpointProp)); - } - - @Override - public String getSystemName() { - return "MSO"; - } + protected static final String authProp = "mso.adapters.po.auth"; + protected static final String keyProp = "mso.msoKey"; + protected static final String endpointProp = "mso.adapters.volume-groups.rest.endpoint"; + + public VnfVolumeAdapterRestProperties() {} + + @Override + public String getAuth() { + return UrnPropertiesReader.getVariable(authProp); + } + + @Override + public String getKey() { + return UrnPropertiesReader.getVariable(keyProp); + } + + @Override + public URL getEndpoint() throws MalformedURLException { + return new URL(UrnPropertiesReader.getVariable(endpointProp)); + } + + @Override + public String getSystemName() { + return "MSO"; + } } |