@Test public void testExecute() throws Exception { configureMocksForSuccessTests(); Map<String, String> result = powerShellScriptAction.execute(LOCALHOST, PORT, HTTPS, USER, PASS, BASIC_AUTH_TYPE, PROXY_HOST, PROXY_PORT, PROXY_USER, PASS, Boolean.TRUE.toString(), X_509_HOSTNAME_VERIFIER_STRICT, TRUST_KEYSTORE, PASS, KERBEROS_CONF_FILE, KERBEROS_LOGIN_CONF_FILE, KERBEROS_SKIP_PORT_FOR_LOOKUP, KEYSTORE, PASS, MAX_ENVELOPE_SIZE, SCRIPT, EMPTY_STRING, MODULES, WINRM_LOCALE_EN_US, OPERATION_TIMEOUT); verifyNew(PowerShellScriptService.class).withNoArguments(); verifyMockInteractions(); assertEquals(resultMock, result); }
@Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) public Map<String, String> execute( @Param(value = INPUT_HOST, required = true) String host, @Param(value = INPUT_PORT) String port, @Param(value = PROTOCOL) String protocol, @Param(value = USERNAME) String username, @Param(value = PASSWORD, encrypted = true) String password, @Param(value = AUTH_TYPE) String authType, @Param(value = PROXY_HOST) String proxyHost, @Param(value = PROXY_PORT) String proxyPort, @Param(value = PROXY_USERNAME) String proxyUsername, @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword, @Param(value = TRUST_ALL_ROOTS) String trustAllRoots, @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier, @Param(value = TRUST_KEYSTORE) String trustKeystore, @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword, @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile, @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile, @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup, @Param(value = KEYSTORE) String keystore, @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword, @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize, @Param(value = INPUT_SCRIPT, required = true) String script, @Param(value = CONFIGURATION_NAME) String configurationName, @Param(value = MODULES) String modules, @Param(value = WINRM_LOCALE) String winrmLocale, @Param(value = OPERATION_TIMEOUT) String operationTimeout ) { try { WSManRequestInputs wsManRequestInputs = new WSManRequestInputs.WSManRequestInputsBuilder() .withHost(host) .withPort(port) .withProtocol(protocol) .withUsername(username) .withPassword(password) .withAuthType(authType) .withScript(script) .withConfigurationName(configurationName) .withKerberosConfFile(kerberosConfFile) .withKerberosLoginConfFile(kerberosLoginConfFile) .withKerberosSkipPortForLookup(kerberosSkipPortForLookup) .withProxyHost(proxyHost) .withProxyPort(proxyPort) .withProxyUsername(proxyUsername) .withProxyPassword(proxyPassword) .withMaxEnvelopeSize(maxEnvelopeSize) .withTrustAllRoots(trustAllRoots) .withX509HostnameVerifier(x509HostnameVerifier) .withKeystore(defaultIfEmpty(keystore, DEFAULT_JAVA_KEYSTORE)) .withKeystorePassword(defaultIfEmpty(keystorePassword, CHANGEIT)) .withTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)) .withTrustPassword(defaultIfEmpty(trustPassword, CHANGEIT)) .withModules(modules) .withWinrmLocale(winrmLocale) .withOperationTimeout(operationTimeout) .build(); Map<String, String> resultMap = new PowerShellScriptService().execute(wsManRequestInputs); verifyScriptExecutionStatus(resultMap); return resultMap; } catch (Exception e) { return getFailureResultsMap(e); } }
PowerShellScriptAction { @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) public Map<String, String> execute( @Param(value = INPUT_HOST, required = true) String host, @Param(value = INPUT_PORT) String port, @Param(value = PROTOCOL) String protocol, @Param(value = USERNAME) String username, @Param(value = PASSWORD, encrypted = true) String password, @Param(value = AUTH_TYPE) String authType, @Param(value = PROXY_HOST) String proxyHost, @Param(value = PROXY_PORT) String proxyPort, @Param(value = PROXY_USERNAME) String proxyUsername, @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword, @Param(value = TRUST_ALL_ROOTS) String trustAllRoots, @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier, @Param(value = TRUST_KEYSTORE) String trustKeystore, @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword, @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile, @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile, @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup, @Param(value = KEYSTORE) String keystore, @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword, @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize, @Param(value = INPUT_SCRIPT, required = true) String script, @Param(value = CONFIGURATION_NAME) String configurationName, @Param(value = MODULES) String modules, @Param(value = WINRM_LOCALE) String winrmLocale, @Param(value = OPERATION_TIMEOUT) String operationTimeout ) { try { WSManRequestInputs wsManRequestInputs = new WSManRequestInputs.WSManRequestInputsBuilder() .withHost(host) .withPort(port) .withProtocol(protocol) .withUsername(username) .withPassword(password) .withAuthType(authType) .withScript(script) .withConfigurationName(configurationName) .withKerberosConfFile(kerberosConfFile) .withKerberosLoginConfFile(kerberosLoginConfFile) .withKerberosSkipPortForLookup(kerberosSkipPortForLookup) .withProxyHost(proxyHost) .withProxyPort(proxyPort) .withProxyUsername(proxyUsername) .withProxyPassword(proxyPassword) .withMaxEnvelopeSize(maxEnvelopeSize) .withTrustAllRoots(trustAllRoots) .withX509HostnameVerifier(x509HostnameVerifier) .withKeystore(defaultIfEmpty(keystore, DEFAULT_JAVA_KEYSTORE)) .withKeystorePassword(defaultIfEmpty(keystorePassword, CHANGEIT)) .withTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)) .withTrustPassword(defaultIfEmpty(trustPassword, CHANGEIT)) .withModules(modules) .withWinrmLocale(winrmLocale) .withOperationTimeout(operationTimeout) .build(); Map<String, String> resultMap = new PowerShellScriptService().execute(wsManRequestInputs); verifyScriptExecutionStatus(resultMap); return resultMap; } catch (Exception e) { return getFailureResultsMap(e); } } }
PowerShellScriptAction { @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) public Map<String, String> execute( @Param(value = INPUT_HOST, required = true) String host, @Param(value = INPUT_PORT) String port, @Param(value = PROTOCOL) String protocol, @Param(value = USERNAME) String username, @Param(value = PASSWORD, encrypted = true) String password, @Param(value = AUTH_TYPE) String authType, @Param(value = PROXY_HOST) String proxyHost, @Param(value = PROXY_PORT) String proxyPort, @Param(value = PROXY_USERNAME) String proxyUsername, @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword, @Param(value = TRUST_ALL_ROOTS) String trustAllRoots, @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier, @Param(value = TRUST_KEYSTORE) String trustKeystore, @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword, @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile, @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile, @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup, @Param(value = KEYSTORE) String keystore, @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword, @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize, @Param(value = INPUT_SCRIPT, required = true) String script, @Param(value = CONFIGURATION_NAME) String configurationName, @Param(value = MODULES) String modules, @Param(value = WINRM_LOCALE) String winrmLocale, @Param(value = OPERATION_TIMEOUT) String operationTimeout ) { try { WSManRequestInputs wsManRequestInputs = new WSManRequestInputs.WSManRequestInputsBuilder() .withHost(host) .withPort(port) .withProtocol(protocol) .withUsername(username) .withPassword(password) .withAuthType(authType) .withScript(script) .withConfigurationName(configurationName) .withKerberosConfFile(kerberosConfFile) .withKerberosLoginConfFile(kerberosLoginConfFile) .withKerberosSkipPortForLookup(kerberosSkipPortForLookup) .withProxyHost(proxyHost) .withProxyPort(proxyPort) .withProxyUsername(proxyUsername) .withProxyPassword(proxyPassword) .withMaxEnvelopeSize(maxEnvelopeSize) .withTrustAllRoots(trustAllRoots) .withX509HostnameVerifier(x509HostnameVerifier) .withKeystore(defaultIfEmpty(keystore, DEFAULT_JAVA_KEYSTORE)) .withKeystorePassword(defaultIfEmpty(keystorePassword, CHANGEIT)) .withTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)) .withTrustPassword(defaultIfEmpty(trustPassword, CHANGEIT)) .withModules(modules) .withWinrmLocale(winrmLocale) .withOperationTimeout(operationTimeout) .build(); Map<String, String> resultMap = new PowerShellScriptService().execute(wsManRequestInputs); verifyScriptExecutionStatus(resultMap); return resultMap; } catch (Exception e) { return getFailureResultsMap(e); } }  }
PowerShellScriptAction { @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) public Map<String, String> execute( @Param(value = INPUT_HOST, required = true) String host, @Param(value = INPUT_PORT) String port, @Param(value = PROTOCOL) String protocol, @Param(value = USERNAME) String username, @Param(value = PASSWORD, encrypted = true) String password, @Param(value = AUTH_TYPE) String authType, @Param(value = PROXY_HOST) String proxyHost, @Param(value = PROXY_PORT) String proxyPort, @Param(value = PROXY_USERNAME) String proxyUsername, @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword, @Param(value = TRUST_ALL_ROOTS) String trustAllRoots, @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier, @Param(value = TRUST_KEYSTORE) String trustKeystore, @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword, @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile, @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile, @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup, @Param(value = KEYSTORE) String keystore, @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword, @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize, @Param(value = INPUT_SCRIPT, required = true) String script, @Param(value = CONFIGURATION_NAME) String configurationName, @Param(value = MODULES) String modules, @Param(value = WINRM_LOCALE) String winrmLocale, @Param(value = OPERATION_TIMEOUT) String operationTimeout ) { try { WSManRequestInputs wsManRequestInputs = new WSManRequestInputs.WSManRequestInputsBuilder() .withHost(host) .withPort(port) .withProtocol(protocol) .withUsername(username) .withPassword(password) .withAuthType(authType) .withScript(script) .withConfigurationName(configurationName) .withKerberosConfFile(kerberosConfFile) .withKerberosLoginConfFile(kerberosLoginConfFile) .withKerberosSkipPortForLookup(kerberosSkipPortForLookup) .withProxyHost(proxyHost) .withProxyPort(proxyPort) .withProxyUsername(proxyUsername) .withProxyPassword(proxyPassword) .withMaxEnvelopeSize(maxEnvelopeSize) .withTrustAllRoots(trustAllRoots) .withX509HostnameVerifier(x509HostnameVerifier) .withKeystore(defaultIfEmpty(keystore, DEFAULT_JAVA_KEYSTORE)) .withKeystorePassword(defaultIfEmpty(keystorePassword, CHANGEIT)) .withTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)) .withTrustPassword(defaultIfEmpty(trustPassword, CHANGEIT)) .withModules(modules) .withWinrmLocale(winrmLocale) .withOperationTimeout(operationTimeout) .build(); Map<String, String> resultMap = new PowerShellScriptService().execute(wsManRequestInputs); verifyScriptExecutionStatus(resultMap); return resultMap; } catch (Exception e) { return getFailureResultsMap(e); } }  @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) Map<String, String> execute(
            @Param(value = INPUT_HOST, required = true) String host,
            @Param(value = INPUT_PORT) String port,
            @Param(value = PROTOCOL) String protocol,
            @Param(value = USERNAME) String username,
            @Param(value = PASSWORD, encrypted = true) String password,
            @Param(value = AUTH_TYPE) String authType,
            @Param(value = PROXY_HOST) String proxyHost,
            @Param(value = PROXY_PORT) String proxyPort,
            @Param(value = PROXY_USERNAME) String proxyUsername,
            @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword,
            @Param(value = TRUST_ALL_ROOTS) String trustAllRoots,
            @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier,
            @Param(value = TRUST_KEYSTORE) String trustKeystore,
            @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword,
            @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile,
            @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile,
            @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup,
            @Param(value = KEYSTORE) String keystore,
            @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword,
            @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize,
            @Param(value = INPUT_SCRIPT, required = true) String script,
            @Param(value = CONFIGURATION_NAME) String configurationName,
            @Param(value = MODULES) String modules,
            @Param(value = WINRM_LOCALE) String winrmLocale,
            @Param(value = OPERATION_TIMEOUT) String operationTimeout
    ); }
PowerShellScriptAction { @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) public Map<String, String> execute( @Param(value = INPUT_HOST, required = true) String host, @Param(value = INPUT_PORT) String port, @Param(value = PROTOCOL) String protocol, @Param(value = USERNAME) String username, @Param(value = PASSWORD, encrypted = true) String password, @Param(value = AUTH_TYPE) String authType, @Param(value = PROXY_HOST) String proxyHost, @Param(value = PROXY_PORT) String proxyPort, @Param(value = PROXY_USERNAME) String proxyUsername, @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword, @Param(value = TRUST_ALL_ROOTS) String trustAllRoots, @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier, @Param(value = TRUST_KEYSTORE) String trustKeystore, @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword, @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile, @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile, @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup, @Param(value = KEYSTORE) String keystore, @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword, @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize, @Param(value = INPUT_SCRIPT, required = true) String script, @Param(value = CONFIGURATION_NAME) String configurationName, @Param(value = MODULES) String modules, @Param(value = WINRM_LOCALE) String winrmLocale, @Param(value = OPERATION_TIMEOUT) String operationTimeout ) { try { WSManRequestInputs wsManRequestInputs = new WSManRequestInputs.WSManRequestInputsBuilder() .withHost(host) .withPort(port) .withProtocol(protocol) .withUsername(username) .withPassword(password) .withAuthType(authType) .withScript(script) .withConfigurationName(configurationName) .withKerberosConfFile(kerberosConfFile) .withKerberosLoginConfFile(kerberosLoginConfFile) .withKerberosSkipPortForLookup(kerberosSkipPortForLookup) .withProxyHost(proxyHost) .withProxyPort(proxyPort) .withProxyUsername(proxyUsername) .withProxyPassword(proxyPassword) .withMaxEnvelopeSize(maxEnvelopeSize) .withTrustAllRoots(trustAllRoots) .withX509HostnameVerifier(x509HostnameVerifier) .withKeystore(defaultIfEmpty(keystore, DEFAULT_JAVA_KEYSTORE)) .withKeystorePassword(defaultIfEmpty(keystorePassword, CHANGEIT)) .withTrustKeystore(defaultIfEmpty(trustKeystore, DEFAULT_JAVA_KEYSTORE)) .withTrustPassword(defaultIfEmpty(trustPassword, CHANGEIT)) .withModules(modules) .withWinrmLocale(winrmLocale) .withOperationTimeout(operationTimeout) .build(); Map<String, String> resultMap = new PowerShellScriptService().execute(wsManRequestInputs); verifyScriptExecutionStatus(resultMap); return resultMap; } catch (Exception e) { return getFailureResultsMap(e); } }  @Action(name = "PowerShell Script Action", outputs = { @Output(RETURN_CODE), @Output(RETURN_RESULT), @Output(STDERR), @Output(SCRIPT_EXIT_CODE), @Output(EXCEPTION) }, responses = { @Response(text = Constants.ResponseNames.SUCCESS, field = RETURN_CODE, value = RETURN_CODE_SUCCESS, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.RESOLVED), @Response(text = Constants.ResponseNames.FAILURE, field = RETURN_CODE, value = RETURN_CODE_FAILURE, matchType = MatchType.COMPARE_EQUAL, responseType = ResponseType.ERROR, isOnFail = true) } ) Map<String, String> execute(
            @Param(value = INPUT_HOST, required = true) String host,
            @Param(value = INPUT_PORT) String port,
            @Param(value = PROTOCOL) String protocol,
            @Param(value = USERNAME) String username,
            @Param(value = PASSWORD, encrypted = true) String password,
            @Param(value = AUTH_TYPE) String authType,
            @Param(value = PROXY_HOST) String proxyHost,
            @Param(value = PROXY_PORT) String proxyPort,
            @Param(value = PROXY_USERNAME) String proxyUsername,
            @Param(value = PROXY_PASSWORD, encrypted = true) String proxyPassword,
            @Param(value = TRUST_ALL_ROOTS) String trustAllRoots,
            @Param(value = X509_HOSTNAME_VERIFIER) String x509HostnameVerifier,
            @Param(value = TRUST_KEYSTORE) String trustKeystore,
            @Param(value = TRUST_PASSWORD, encrypted = true) String trustPassword,
            @Param(value = KERBEROS_CONFIG_FILE) String kerberosConfFile,
            @Param(value = KERBEROS_LOGIN_CONFIG_FILE) String kerberosLoginConfFile,
            @Param(value = KERBEROS_SKIP_PORT_CHECK) String kerberosSkipPortForLookup,
            @Param(value = KEYSTORE) String keystore,
            @Param(value = KEYSTORE_PASSWORD, encrypted = true) String keystorePassword,
            @Param(value = MAX_ENVELOP_SIZE) String maxEnvelopeSize,
            @Param(value = INPUT_SCRIPT, required = true) String script,
            @Param(value = CONFIGURATION_NAME) String configurationName,
            @Param(value = MODULES) String modules,
            @Param(value = WINRM_LOCALE) String winrmLocale,
            @Param(value = OPERATION_TIMEOUT) String operationTimeout
    );  }