IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 2, 2010, 10:03:50 AM (16 years ago)
Author:
bills
Message:

update the stub detectability query scripts to be compatible with the existing
request server workflow.

File:
1 edited

Legend:

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

    r24831 r27578  
    7373
    7474if (!$dbserver) {
    75     my $ipprc = = PS::IPP::Config->new();
     75    my $ipprc = PS::IPP::Config->new();
    7676    $dbserver =  metadataLookupStr($ipprc->{_siteConfig}, 'PS_DBSERVER');
    7777}
     
    9999die "$req_file is version $extver expecting 1" if $extver ne 1;
    100100
     101if (0) {
    101102$out_dir .= "/$req_name";
     103}
    102104if (! -e $out_dir ) {
    103105    mkdir $out_dir or die "cannot create output directory $out_dir";
     
    133135my $result;
    134136{
    135     my $command = "$pstamptool -addjob -req_id $req_id -uri $req_file -outputBase $out_dir";
     137    my $command = "$pstamptool -addjob -req_id $req_id -outputBase $out_dir";
    136138    $command .= " -job_type detect_query -state stop -fault $fault";
    137     $command .= " -rownum 0";
     139    $command .= " -rownum 1";
    138140    $command .= " -dbname $dbname" if $dbname;
    139141    $command .= " -dbserver $dbserver" if $dbserver;
Note: See TracChangeset for help on using the changeset viewer.