Please enable JavaScript.
Coggle requires JavaScript to display documents.
Pre/Post Scripts, ADM, RepositoryManager, ScriptExecution, This has to be…
-
ADM
AS
-
main.py
spawns the IDLE session
APPBACKUPASSETS
Call run_pre_scripts
Prepare the pre scripts command, call run_scripts,
Should be responsible for monitoring the script and timeout.
Wrap the required parameters, call run_command()
-
Maintain a dictionary with assetId:Pre_script_execution_status
This dictionary will be used to decide if the post scripts have to be run or not. The runConditions/JobConditions parameter will let us know the conditions during which the post script has to be run.
-
After pre script execution of assets, Trigger backupAssets() addon call
-
If the session status is SUCCESS, wait for post script execution of all assets, then update the status of the session. This will depend on 'waitForCompletion' flag set by the backup/restore api payload.
-
-
-
-
-