IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18546


Ignore:
Timestamp:
Jul 15, 2008, 10:12:23 AM (18 years ago)
Author:
bills
Message:

adapt this test program to changes in dsreg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_new_request.sh

    r16899 r18546  
    55#
    66# create a postage stamp request file and add it to the data store
    7 # This is a simple prototype for testing purposes only
     7
     8# This is a simple program for testing purposes only and not
     9# part of the postage stamp server
    810
    911# TODO: use getopt and take these configuration variables as command
     
    3638request_file=${fileset_id}.fits
    3739
    38 pstamprequest ${dir_path}/${request_file} -project gpc1 -user_tag pstamp $*
     40pstamprequest ${dir_path}/${request_file} -req_name $fileset_id $*
    3941status=$?
    4042if [[ $status != 0 ]] ; then
     
    4547
    4648# Invoke the data store registration script
    47 echo $request_file\|psrequest | dsreg --add --type PSREQUEST --product $PRODUCT --fileset $fileset_id
     49echo $request_file\|\|\|psrequest\| | dsreg --add $fileset_id --type PSREQUEST --product $PRODUCT  --list -
    4850
    4951status=$?
Note: See TracChangeset for help on using the changeset viewer.