Class SshExecutionHelperService
java.lang.Object
org.qubership.atp.mia.service.execution.SshExecutionHelperService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecutes a ssh command, searches file into logs with regexp and downloads this file.Executes a ssh command, searches files on server with find + regexp and downloads files from server.executeCommandAndGenerateFile(Command command) Generates a file from ethalon, uploads it on server and executes ssh command.Executes a ssh command and transfers files on server.executeCommandAndUploadFile(Command command) Uploads file from input on server, executes command.executeSingleCommand(Command command) Executes single SSH command.Generates a event files from ethalon, uploads files on server, executes a ssh command.voiduploadFilesAndDownloadResults(Command command) Generates a files from ethalon, uploads files on server, executes a ssh command, downloads result files.
-
Constructor Details
-
SshExecutionHelperService
public SshExecutionHelperService()
-
-
Method Details
-
executeSingleCommand
Executes single SSH command. -
executeCommandAndGenerateFile
Generates a file from ethalon, uploads it on server and executes ssh command. -
executeCommandAndUploadFile
Uploads file from input on server, executes command. -
generateEventFilesAndExecuteCommand
Generates a event files from ethalon, uploads files on server, executes a ssh command. -
executeCommandAndCheckFileOnServer
Executes a ssh command, searches file into logs with regexp and downloads this file. -
executeCommandAndTransferFileOnServer
Executes a ssh command and transfers files on server. -
executeCommandAndDownloadFilesFromServer
Executes a ssh command, searches files on server with find + regexp and downloads files from server. -
uploadFilesAndDownloadResults
Generates a files from ethalon, uploads files on server, executes a ssh command, downloads result files. -
resetCache
public void resetCache()
-