Pre-requisite:
1. Have a VM with RHEL8.4 installed.
2. Run Fuse on Karaf on this VM
Step 1: Edit the attached esb_exit_testing.sh script. Update
hostName="<<VM address where Fuse7.10 is running>>"
Update "scp -r" line in the script such that it can copy esb_exit_testing_remote.sh on the remote VM where Fuse is running.
Step 2: Edit the attached esb_exit_testing_remote.sh script.
Update FUSE_HOME=<<Fuse installation location>>
Update BACKUP_DIR=<<Any directory where logs can be stored>>
Under jasypt function update the location for the fuse bin directory:
cd <<Fuse home direcotry>>/bin
Step 3: From the local machine execute the esb_exit_testing.sh script.
This script will copy the esb_exit_testing_remote.sh to the fuse server
It will ssh to that server and execute the esb_exit_testing_remote.sh script there.
While executing the jasyptTest function, the function will exit with the "Exit 1" code.
But it stays on the fuse server and does not come back to the local machine.
If this same script is executed on RHEL7.4 server, the cursor comes back to the local machine.