IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19221


Ignore:
Timestamp:
Aug 26, 2008, 1:28:12 PM (18 years ago)
Author:
bills
Message:

-processedreq chanaged to -updatereq
-processedjob changed to -updatejob

Location:
trunk/pstamp/scripts
Files:
7 edited

Legend:

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

    r18982 r19221  
    146146    my $verbose = shift;
    147147   
    148     my $command = "$pstamptool -processedreq -req_id $req_id -state stop";
     148    my $command = "$pstamptool -updatereq -req_id $req_id -state stop";
    149149    $command   .= " -fault $fault" if $fault;
    150150    $command   .= " -dbname $dbname" if $dbname;
  • trunk/pstamp/scripts/dqueryparse.pl

    r18624 r19221  
    150150
    151151{
    152     my $command = "$pstamptool -processedreq -req_id $req_id -name $req_name -outProduct $product";
     152    my $command = "$pstamptool -updatereq -req_id $req_id -name $req_name -outProduct $product";
    153153    $command .= " -fault $result" if $result;
    154154    $command .= " -dbname $dbname" if $dbname;
  • trunk/pstamp/scripts/pstamp_dorequest.pl

    r16764 r19221  
    106106{
    107107    ## TODO: what about request status
    108     my $command = "$pstamptool -processedreq -req_id $request_id -state stop";
     108    my $command = "$pstamptool -updatereq -req_id $request_id -state stop";
    109109    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    110110        run(command => $command, verbose => $verbosity);
    111111    unless ($success) {
    112         die("Unable to perform pstamptool -processedreq: $error_code");
     112        die("Unable to perform pstamptool -updatereq: $error_code");
    113113    }
    114114}
  • trunk/pstamp/scripts/pstamp_finish.pl

    r18983 r19221  
    217217    # set the request's state to stop
    218218    {
    219         my $command = "$pstamptool -processedreq -req_id $req_id -state stop -fault $request_fault";
     219        my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $request_fault";
    220220        $command   .= " -dbname $dbname" if $dbname;
    221221        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    231231    my $dbname = shift;
    232232
    233     my $command = "$pstamptool -processedreq -req_id $req_id -state stop -fault $fault";
     233    my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $fault";
    234234    $command   .= " -dbname $dbname" if $dbname;
    235235
  • trunk/pstamp/scripts/pstamp_job_run.pl

    r18742 r19221  
    171171# stop the job and set the result value
    172172{
    173     my $command = "$pstamptool -processedjob -job_id $job_id -state stop -fault $jobStatus";
     173    my $command = "$pstamptool -updatejob -job_id $job_id -state stop -fault $jobStatus";
    174174    $command .= " -dbname $dbname" if $dbname;
    175175    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
  • trunk/pstamp/scripts/pstamp_parser_run.pl

    r18587 r19221  
    193193    print STDERR "Unknown request type $request_type found in $uri";
    194194
    195     my $command = "$pstamptool -processedreq -req_id $req_id -state run";
     195    my $command = "$pstamptool -updatereq -req_id $req_id -state run";
    196196    $command   .= " -reqType unknown";
    197197    $command   .= " -fault $PS_EXIT_DATA_ERROR";
     
    240240#
    241241{
    242     my $command = "$pstamptool -processedreq -req_id $req_id -state run";
     242    my $command = "$pstamptool -updatereq -req_id $req_id -state run";
    243243    $command   .= " -reqType $reqType" if $reqType;
    244244    $command   .= " -uri $new_uri" if $new_uri;
  • trunk/pstamp/scripts/request_finish.pl

    r18984 r19221  
    7676    # Since we don't have a req_name there's not much we can do so just the request's state to stop.
    7777    print STDERR "request  $req_id has unknown reqType $req_type\n" if $verbose;
    78     my $command = "$pstamptool -processedreq -req_id $req_id -state stop -fault $PS_EXIT_DATA_ERROR";
     78    my $command = "$pstamptool -updatereq -req_id $req_id -state stop -fault $PS_EXIT_DATA_ERROR";
    7979    $command   .= " -dbname $dbname" if $dbname;
    8080    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.