IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 23, 2011, 1:46:37 PM (15 years ago)
Author:
bills
Message:

For get_image jobs store bundles in nebulous. Keep track of the files in new table pstampFile.
Delete them when cleaning up the request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_job_run.pl

    r31508 r32785  
    8888my $mdcParser = PS::IPP::Metadata::Config->new; # Parser for metadata config files
    8989
     90my $params = read_params_file($outputBase);
     91
    9092my $jobStatus;
    9193if ($jobType eq "stamp") {
    92     my $params = read_params_file($outputBase);
    9394
    9495    my $argString;
     
    272273} elsif ($jobType eq "get_image") {
    273274
    274     my $uri = "";
     275    my $pstamp_bundle_root = metadataLookupStr($ipprc->{_siteConfig}, "PSTAMP_BUNDLE_ROOT");
     276    my $imagedb = $params->{imagedb};
     277
    275278    my $command = "$pstamp_get_image_job --job_id $job_id --output_base $outputBase --rownum $rownum";
     279    $command .= " --bundleroot $pstamp_bundle_root" if $pstamp_bundle_root;
     280    $command .= " --imagedb $imagedb" if $imagedb;
    276281    $command .= " --dbname $dbname" if $dbname;
    277282    $command .= " --dbserver $dbserver" if $dbserver;
Note: See TracChangeset for help on using the changeset viewer.