Skip to content
Snippets Groups Projects
Commit 3b8dac8b authored by Michael Davis's avatar Michael Davis
Browse files

[ssi] Adds stub to retrieve workflow in orchestration script

Sets retrieve workflow in eos_wfe_scripts back to the old cta command
for now. Try to get simple test to work first.
parent 5564c5b1
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ eos attr set sys.workflow.closew.default="bash:shell:cta XrdSecPROTOCOL=${CTA_Xr
eos attr set sys.workflow.archived.default="bash:shell:cta eos file tag <eos::wfe::path> +<eos::wfe::cxattr:CTA_TapeFsId>" ${CTA_WF_DIR}
# Set the worfklow rule for retrieving file from tape.
eos attr set sys.workflow.sync::prepare.default="bash:shell:cta XrdSecPROTOCOL=${CTA_XrdSecPROTOCOL} XrdSecSSSKT=${CTA_KT} ${CTA_BIN} retrieve --user <eos::wfe::rusername> --group <eos::wfe::rgroupname> --id <eos::wfe::fxattr:sys.archiveFileId> --dsturl '<eos::wfe::turl>\&eos.ruid=0\&eos.rgid=0\&eos.injection=1\&eos.workflow=CTA_retrieve' --diskfilepath <eos::wfe::path> --diskfileowner <eos::wfe::username> --diskfilegroup <eos::wfe::groupname> --recoveryblob:base64 <eos::wfe::base64:metadata> --stderr" ${CTA_WF_DIR}
eos attr set sys.workflow.sync::prepare.default="bash:shell:eoscta_stub XrdSecPROTOCOL=${CTA_XrdSecPROTOCOL} XrdSecSSSKT=${CTA_KT} ${CTA_BIN} retrieve --user <eos::wfe::rusername> --group <eos::wfe::rgroupname> --id <eos::wfe::fxattr:sys.archiveFileId> --dsturl '<eos::wfe::turl>\&eos.ruid=0\&eos.rgid=0\&eos.injection=1\&eos.workflow=CTA_retrieve' --diskfilepath <eos::wfe::path> --diskfileowner <eos::wfe::username> --diskfilegroup <eos::wfe::groupname> --recoveryblob:base64 <eos::wfe::base64:metadata> --stderr" ${CTA_WF_DIR}
# Set the workflow rule for the closew event of the CTA_retrieve workflow.
# Using the CTA_retrieve workflow will prevent the default workflow from
......
......@@ -16,7 +16,8 @@ if test $# -ne 9; then
exit ${EINVAL}
fi
CTA_BIN=/usr/bin/eoscta_stub
#CTA_BIN=/usr/bin/eoscta_stub
CTA_BIN=/usr/bin/cta
WF_TAG="$1"
RUSERNAME="$2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment