Ignore:
Timestamp:
Nov 21, 2017, 10:24:14 AM (6 years ago)
Author:
djay
Message:

HPC support update. Add inputs for create options in Gdal_Dem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/prototype-v0/zoo-project/zoo-kernel/server_internal.c

    r850 r854  
    2626#include "service_internal.h"
    2727#include "response_print.h"
     28#include "service_callback.h"
    2829#include "mimetypes.h"
    2930#ifndef WIN32
     
    444445          if(cSize!=NULL){
    445446            length=atoi(cSize->value);
    446           }
     447          }else
     448            length=strlen(cValue->value);
    447449          writeFile(val,cValue->value,length);
    448450          setMapArray(cMap,"cache_file",k,val);
     
    466468        free(val);
    467469      }
     470      addToMap(inputs->content,"byValue","true");
    468471    }
    469472    inputs=inputs->next;
     
    980983    if(isRunning(conf,pid)>0){
    981984      if(strncasecmp(req,"GetResult",strlen(req))==0){
    982         errorException (conf, _("The result for the requested JobID has not yet been generated. (1)"),
     985        errorException (conf, _("The result for the requested JobID has not yet been generated. The service is currently running."),
    983986                        "ResultNotReady", pid);
    984987        return;
     
    10081011          printf("%s",result);
    10091012          fflush(stdout);
     1013          free(sid);
    10101014          freeMap(&statusInfo);
    10111015          free(statusInfo);
     1016          free(result);
    10121017          return;
    10131018        }else{
    1014           errorException (conf, _("The result for the requested JobID has not yet been generated. (2)"),
     1019          errorException (conf, _("The result for the requested JobID has not yet been generated. The service ends but it still needs to produce the outputs."),
    10151020                          "ResultNotReady", pid);
    10161021          freeMap(&statusInfo);
     
    11041109    removeService(conf,pid);
    11051110#endif
     1111    /*
     1112      fprintf(stderr,"************************* %s %d \n\n",__FILE__,__LINE__);
     1113      invokeCallback(conf,NULL,NULL,7,1);
     1114      fprintf(stderr,"************************* %s %d \n\n",__FILE__,__LINE__);
     1115    */
    11061116    map* statusInfo=createMap("JobID",pid);
    11071117    addToMap(statusInfo,"Status","Dismissed");
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png