3 #------------------------------------------------------------------
5 # Purpose: Generate a sam wrapper fcl file.
7 # Usage: make_sam_wrapper.sh <job-fcl> <project-url> <consumer-process-id>
11 # 1. This script is invoked with three positional arguments, all
12 # of which are required.
14 # 2. The wrapper fcl file is written to standard output. This
15 # output should normally be captured to a file.
17 # Created: H. Greenlee, 30-Jul-2013
19 #------------------------------------------------------------------
26 echo "Usage: make_sam_wrapper.sh <job-fcl> <project-url> <consumer-process-id>" >&2
38 IFDH_BASE_URI: "http://samweb.fnal.gov:8480/sam/uboone/api"
41 services.CatalogInterface:
43 service_provider: "IFCatalogInterface"
47 services.FileTransfer:
49 service_provider: "IFFileTransfer"
52 source.fileNames: [ "${cpid}" ]