#!/bin/bash # helpers send_curl_put () { local data=$1 local url=$2 curl -s --capath ${X509_CERT_DIR:-/etc/grid-security/certificates/} --cert $X509_USER_PROXY --key $X509_USER_PROXY -H "Accept: application/json" -H "Content-Type:application/json" -X PUT --data "${data}" "${url}" } # main functions for callout submission_gen_params () { cat < $jobid_file else exit_error "$result_status_info" fi # no MDS portal connection with pilots submission export DISABLEPORTAL=1 } grid_job_kill () { local jobid_file=$1 echo "INFO: Job removal is not yet supported by Gloria Pilots interface" }