-
Notifications
You must be signed in to change notification settings - Fork 51
Adding in parameters for using a proxy host connection #15
Conversation
|
@vamshi-sfdc Do you recall the name of the validator class? It doesn't jump out at me? |
@pauldavidchristian : Validator classes for the arguments are in the package com.sforce.cd.apexUnit.arguments. Please follow PercentageInputValidator class; you need to implement IParameterValidator for the JCommander framework to execute the validation method for a given command line argument |
@pauldavidchristian : After looking at your validation code, I feel you can use PositiveIntegerValidator validator class . Please use the "validateWith" option in the parameter definition and mention the validator class |
@adarsh-ramakrishna-sfdc Changes are in. Please let me know if you see anything else. |
@@ -110,6 +110,14 @@ private PartnerConnection createConnection() { | |||
config.setUsername(CommandLineArguments.getUsername()); | |||
config.setPassword(CommandLineArguments.getPassword()); | |||
config.setAuthEndpoint(CommandLineArguments.getOrgUrl() + "/services/Soap/u/" + SUPPORTED_VERSION); | |||
|
|||
if (CommandLineArguments.getProxyHost() != null && CommandLineArguments.getProxyPort() !=null ){ | |||
LOG.info("Setting proxy configuraiton to " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a major change.. But Can this be a debug log ?
Adding in parameters for using a proxy host connection
No description provided.