IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24831 for trunk/PS-IPP-PStamp


Ignore:
Timestamp:
Jul 16, 2009, 5:14:07 PM (17 years ago)
Author:
bills
Message:

updates to the postage stamp server to allow the postage stamp server's
database to be located on a different mysql server than the ipp.
Also some updates towards compatability with the current ipp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r23292 r24831  
    210210        my $base;
    211211
    212         next if ($img_type eq "warp" and $image->{ignored});
     212        next if $image->{fault};
     213        next if ($img_type ne "raw") and $image->{quality};
    213214
    214215        if ($base_name) {
     
    542543    my $project_name = shift;
    543544    my $dbname = shift;
     545    my $dbserver = shift;
    544546    die "project is not defined" if !$project_name;
    545547
     
    555557    my $command = "$pstamptool -project -name $project_name";
    556558    $command .= " -dbname $dbname" if defined $dbname;
     559    $command .= " -dbserver $dbserver" if defined $dbserver;
    557560    # run the tool and parse the output
    558561    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.