fixing url parameters to be lower case

This commit is contained in:
Murali Reddy 2011-11-18 12:49:02 -08:00
parent 5539dfd783
commit b6782183d9
3 changed files with 15 additions and 15 deletions

View File

@ -161,17 +161,17 @@ public class F5BigIpResource implements ServerResource {
throw new ConfigurationException("Unable to find password");
}
_publicInterface = (String) params.get("publicInterface");
_publicInterface = (String) params.get("publicinterface");
if (_publicInterface == null) {
throw new ConfigurationException("Unable to find public interface");
}
_privateInterface = (String) params.get("privateInterface");
_privateInterface = (String) params.get("privateinterface");
if (_privateInterface == null) {
throw new ConfigurationException("Unable to find private interface");
}
_numRetries = NumbersUtil.parseInt((String) params.get("numRetries"), 1);
_numRetries = NumbersUtil.parseInt((String) params.get("numretries"), 1);
_guid = (String)params.get("guid");
if (_guid == null) {

View File

@ -315,26 +315,26 @@ public class JuniperSrxResource implements ServerResource {
throw new ConfigurationException("Unable to find password");
}
_publicInterface = (String) params.get("publicInterface");
_publicInterface = (String) params.get("publicinterface");
if (_publicInterface == null) {
throw new ConfigurationException("Unable to find public interface.");
}
_usageInterface = (String) params.get("usageInterface");
_usageInterface = (String) params.get("usageinterface");
_privateInterface = (String) params.get("privateInterface");
_privateInterface = (String) params.get("privateinterface");
if (_privateInterface == null) {
throw new ConfigurationException("Unable to find private interface.");
}
_publicZone = (String) params.get("publicZone");
_publicZone = (String) params.get("publiczone");
if (_publicZone == null) {
throw new ConfigurationException("Unable to find public security zone.");
_publicZone = "untrust";
}
_privateZone = (String) params.get("privateZone");
_privateZone = (String) params.get("privatezone");
if (_privateZone == null) {
throw new ConfigurationException("Unable to find private security zone.");
_privateZone = "trust";
}
_guid = (String)params.get("guid");
@ -342,9 +342,9 @@ public class JuniperSrxResource implements ServerResource {
throw new ConfigurationException("Unable to find the guid");
}
_numRetries = NumbersUtil.parseInt((String) params.get("numRetries"), 1);
_numRetries = NumbersUtil.parseInt((String) params.get("numretries"), 1);
_timeoutInSeconds = NumbersUtil.parseInt((String) params.get("timeoutInSeconds"), 300);
_timeoutInSeconds = NumbersUtil.parseInt((String) params.get("timeout"), 300);
_objectNameWordSep = "-";

View File

@ -122,17 +122,17 @@ public class NetscalerResource implements ServerResource {
throw new ConfigurationException("Unable to find password");
}
_publicInterface = (String) params.get("publicInterface");
_publicInterface = (String) params.get("publicinterface");
if (_publicInterface == null) {
throw new ConfigurationException("Unable to find public interface");
}
_privateInterface = (String) params.get("privateInterface");
_privateInterface = (String) params.get("privateinterface");
if (_privateInterface == null) {
throw new ConfigurationException("Unable to find private interface");
}
_numRetries = NumbersUtil.parseInt((String) params.get("numRetries"), 2);
_numRetries = NumbersUtil.parseInt((String) params.get("numretries"), 2);
_guid = (String)params.get("guid");
if (_guid == null) {