Ignore:
Timestamp:
Aug 7, 2017, 2:56:24 PM (7 years ago)
Author:
djay
Message:

Update the source code for HPC support. Automatically adding nested outputs for the HPC support (should this be available for every support?). Add capability to store the metadata in the Collection DataBase?. Addition of the zcfg2sql to import any existing ZCFG file into the Collection DB. Add the support to invoke a callback (for history purpose) in case a [callback] section contains at least one parameter defined (url). Add support to convert maps and map to JSON (for callback use only by now). Fix some memory leaks (some are still there).

File:
1 edited

Legend:

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

    r822 r839  
    597597          setMapArray(res,"value",nb,out1->name);
    598598        }
    599 
    600599        nb++;
    601600        result=out1->name;
     
    806805         */
    807806        if(tmpIoType!=NULL){
    808           map* tmpCheck=getMap(tmpIoType->content,"useMapServer");
    809           if(tmpCheck!=NULL){
     807          map* tmpCheck=getMap(tmpIoType->content,"useMapserver");
     808          if(tmpCheck!=NULL && strncasecmp(tmpCheck->value,"true",4)==0){
    810809            // Get the default value
    811810            tmpIoType=getIoTypeFromElement(tmpInputs,tmpInputs->name,NULL);
     
    841840      }
    842841    }
    843     /*if(tmpInputs->child!=NULL){
     842    if(tmpInputs->child!=NULL){
    844843      tmpInputss=tmpInputs->next;
    845844      tmpInputs=tmpInputs->child;
     
    848847        out1s=tmpMaps;
    849848      }
    850       }else*/
    851       tmpInputs=tmpInputs->next;
     849    }
     850    tmpInputs=tmpInputs->next;
    852851  }
    853852  if(tmpInputss!=NULL){
     
    980979    if(isRunning(conf,pid)>0){
    981980      if(strncasecmp(req,"GetResult",strlen(req))==0){
    982         errorException (conf, _("The result for the requested JobID has not yet been generated. "),
     981        errorException (conf, _("The result for the requested JobID has not yet been generated. (1)"),
    983982                        "ResultNotReady", pid);
    984983        return;
     
    10121011          return;
    10131012        }else{
    1014           errorException (conf, _("The result for the requested JobID has not yet been generated. "),
     1013          errorException (conf, _("The result for the requested JobID has not yet been generated. (2)"),
    10151014                          "ResultNotReady", pid);
    10161015          freeMap(&statusInfo);
     
    10341033        }
    10351034    }
     1035    free(sid);
    10361036    printStatusInfo(conf,statusInfo,req);
    10371037    freeMap(&statusInfo);
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