Changeset 471 for trunk/zoo-project/zoo-services
- Timestamp:
- May 10, 2014, 4:23:03 PM (11 years ago)
- Location:
- trunk/zoo-project/zoo-services
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/gdal/profile/cgi-env/GdalExtractProfile.zcfg
r106 r471 6 6 statusSupported = true 7 7 serviceType = C 8 serviceProvider = gdal_profile_service.zo8 serviceProvider = profile_service.zo 9 9 <MetaData> 10 10 title = My Demo -
trunk/zoo-project/zoo-services/qrencode/Makefile
r385 r471 5 5 6 6 cgi-env/qrencode.zo: qrenc-service.c 7 g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} ${MACOS_LD_FLAGS}7 g++ -DZOO_SERVICE_PROVIDER ${CFLAGS} -shared -fpic -o cgi-env/qrencode.zo ./qrenc-service.c -lqrencode ${GDAL_LIBS} -lpng ${MACOS_LD_FLAGS} 8 8 9 9 clean: -
trunk/zoo-project/zoo-services/qrencode/cgi-env/QREncode.zcfg
r385 r471 29 29 <LiteralData> 30 30 dataType = string 31 <Default /> 31 <Default> 32 value=000000 33 </Default> 32 34 </LiteralData> 33 35 [bgcolor] … … 38 40 <LiteralData> 39 41 dataType = string 40 <Default /> 42 <Default> 43 value=ffffff 44 </Default> 41 45 </LiteralData> 42 46 [size] … … 47 51 <LiteralData> 48 52 dataType = integer 49 <Default /> 53 <Default> 54 value=3 55 </Default> 50 56 </LiteralData> 51 57 </DataInputs> -
trunk/zoo-project/zoo-services/utils/status/service.c
r467 r471 104 104 */ 105 105 char *tmpStr=getStatus(atoi(tmpMap->value)); 106 fprintf(stderr,"DEBUG: %s \n",tmpStr); 106 107 if(tmpStr!=NULL && strncmp(tmpStr,"-1",2)!=0){ 107 108 char *tmpStr1=strdup(tmpStr); … … 121 122 setMapInMaps(outputs,"Result","value",(char*)xmlbuff); 122 123 xmlFree(xmlbuff); 123 free(tmpStr);124 124 free(tmpStr1); 125 125 free(tmpStr0); … … 154 154 int i=0; 155 155 while(i<100){ 156 char tmp[4];157 156 char message[10]; 158 sprintf(tmp,"%i",i);159 map* tmpMap=NULL;160 tmpMap=getMapFromMaps(conf,"lenv","sid");161 if(tmpMap!=NULL)162 fprintf(stderr,"Status %s %s\n",tmpMap->value,tmp);163 157 sprintf(message,"Step %d",i); 164 setMapInMaps(conf,"lenv","status",tmp); 165 setMapInMaps(conf,"lenv","message",message); 166 updateStatus(conf); 158 updateStatus(conf,i,message); 167 159 #ifndef WIN32 168 160 sleep(1); … … 172 164 i+=5; 173 165 } 174 set MapInMaps(outputs,"Result","value","\"Running long process successfully\"");166 setOutputValue(outputs,"Result","\"Long process run successfully\"",-1); 175 167 return SERVICE_SUCCEEDED; 176 168 }
Note: See TracChangeset
for help on using the changeset viewer.