Changeset 23935
- Timestamp:
- Apr 20, 2009, 12:50:54 PM (17 years ago)
- Location:
- trunk/Nebulous/nebclient
- Files:
-
- 12 edited
- 3 copied
-
. (modified) (1 prop)
-
.cvsignore (copied) (copied from branches/neb_distrib_20081210/Nebulous/nebclient/.cvsignore )
-
nebulous.wsdl (modified) (1 diff)
-
src/.cvsignore (copied) (copied from branches/neb_distrib_20081210/Nebulous/nebclient/src/.cvsignore )
-
src/nebclient.c (modified) (4 diffs)
-
src/nebclient.h (modified) (1 diff)
-
src/nebulous.h (modified) (4 diffs)
-
src/soapC.c (modified) (6 diffs)
-
src/soapClient.c (modified) (3 diffs)
-
src/soapServer.c (modified) (2 diffs)
-
src/soapStub.h (modified) (3 diffs)
-
tests/.cvsignore (copied) (copied from branches/neb_distrib_20081210/Nebulous/nebclient/tests/.cvsignore )
-
tests/tap (modified) (2 props)
-
tests/tap/bootstrap.sh (modified) (1 diff)
-
tests/tap/src (modified) (1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/nebclient
- Property svn:mergeinfo changed
/branches/eam_branches/eam_branch_20090303/Nebulous/nebclient (added) merged: 23225 /branches/jhoblitt/Nebulous/nebclient (added) merged: 12604 /branches/neb_distrib_20081210/Nebulous/nebclient (added) merged: 20900,20986,23536,23729
- Property svn:mergeinfo changed
-
trunk/Nebulous/nebclient/nebulous.wsdl
r20988 r23935 125 125 126 126 <message name="delete_instanceRequest"> 127 <part name="key" type="xsd:string" /> 127 128 <part name="uri" type="xsd:string" /> 128 129 </message> -
trunk/Nebulous/nebclient/src/nebclient.c
r21461 r23935 253 253 } 254 254 255 if (!nebDeleteInstance(server, locations->URI[0])) {255 if (!nebDeleteInstance(server, key, locations->URI[0])) { 256 256 nebObjectInstancesFree(locations); 257 257 … … 633 633 634 634 for (int i = 0; i < locations->n; i++) { 635 if (!nebDeleteInstance(server, locations->URI[i])) {635 if (!nebDeleteInstance(server, key, locations->URI[i])) { 636 636 nebSetErr(server, "can not delete instance"); 637 637 nebObjectInstancesFree(locations); … … 749 749 } 750 750 751 bool nebDeleteInstance(nebServer *server, const char * URI)751 bool nebDeleteInstance(nebServer *server, const char *key, const char *URI) 752 752 { 753 753 int response; … … 770 770 771 771 if (soap_call_ns1__delete_USCOREinstance(server->soap, server->endpoint, 772 NULL, (char *)URI, &response) != SOAP_OK) {772 NULL, (char *)key, (char *)URI, &response) != SOAP_OK) { 773 773 nebFree(filename); 774 774 -
trunk/Nebulous/nebclient/src/nebclient.h
r21462 r23935 282 282 bool nebDeleteInstance( 283 283 nebServer *server, ///< nebServer object 284 const char *key, ///< storage object key (name) 284 285 const char *URI ///< URL of instance to remove 285 286 ); -
trunk/Nebulous/nebclient/src/nebulous.h
r23688 r23935 1 1 /* src/nebulous.h 2 2 Generated by wsdl2h 1.2.12 from nebulous.wsdl and typemap.dat 3 2009-04- 03 00:34:43GMT3 2009-04-20 22:15:21 GMT 4 4 Copyright (C) 2001-2008 Robert van Engelen, Genivia Inc. All Rights Reserved. 5 5 This part of the software is released under one of the following licenses: … … 808 808 NULL, // char *action = NULL selects default action for this operation 809 809 // request parameters: 810 char* key, 810 811 char* uri, 811 812 // response parameters: … … 819 820 struct soap *soap, 820 821 // request parameters: 822 char* key, 821 823 char* uri, 822 824 // response parameters: … … 831 833 //gsoap ns1 service method-action: delete_USCOREinstance urn:Nebulous/Server/SOAP#delete_instance 832 834 int ns1__delete_USCOREinstance( 835 char* key, ///< Request parameter 833 836 char* uri, ///< Request parameter 834 837 int *result ///< Response parameter -
trunk/Nebulous/nebclient/src/soapC.c
r23688 r23935 12 12 #endif 13 13 14 SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.12 2009-04- 03 00:34:43GMT")14 SOAP_SOURCE_STAMP("@(#) soapC.c ver 2.7.12 2009-04-20 22:15:22 GMT") 15 15 16 16 … … 1344 1344 { 1345 1345 (void)soap; (void)a; /* appease -Wall -Werror */ 1346 soap_default_string(soap, &a->key); 1346 1347 soap_default_string(soap, &a->uri); 1347 1348 } … … 1350 1351 { 1351 1352 (void)soap; (void)a; /* appease -Wall -Werror */ 1353 soap_serialize_string(soap, &a->key); 1352 1354 soap_serialize_string(soap, &a->uri); 1353 1355 } … … 1365 1367 if (soap_element_begin_out(soap, tag, soap_embedded_id(soap, id, a, SOAP_TYPE_ns1__delete_USCOREinstance), type)) 1366 1368 return soap->error; 1369 if (soap_out_string(soap, "key", -1, &a->key, "")) 1370 return soap->error; 1367 1371 if (soap_out_string(soap, "uri", -1, &a->uri, "")) 1368 1372 return soap->error; … … 1380 1384 SOAP_FMAC3 struct ns1__delete_USCOREinstance * SOAP_FMAC4 soap_in_ns1__delete_USCOREinstance(struct soap *soap, const char *tag, struct ns1__delete_USCOREinstance *a, const char *type) 1381 1385 { 1386 size_t soap_flag_key = 1; 1382 1387 size_t soap_flag_uri = 1; 1383 1388 if (soap_element_begin_in(soap, tag, 0, type)) … … 1391 1396 for (;;) 1392 1397 { soap->error = SOAP_TAG_MISMATCH; 1398 if (soap_flag_key && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 1399 if (soap_in_string(soap, "key", &a->key, "xsd:string")) 1400 { soap_flag_key--; 1401 continue; 1402 } 1393 1403 if (soap_flag_uri && (soap->error == SOAP_TAG_MISMATCH || soap->error == SOAP_NO_TAG)) 1394 1404 if (soap_in_string(soap, "uri", &a->uri, "xsd:string")) -
trunk/Nebulous/nebclient/src/soapClient.c
r23688 r23935 10 10 #endif 11 11 12 SOAP_SOURCE_STAMP("@(#) soapClient.c ver 2.7.12 2009-04- 03 00:34:43GMT")12 SOAP_SOURCE_STAMP("@(#) soapClient.c ver 2.7.12 2009-04-20 22:15:21 GMT") 13 13 14 14 … … 700 700 } 701 701 702 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delete_USCOREinstance(struct soap *soap, const char *soap_endpoint, const char *soap_action, char * uri, int *result)702 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delete_USCOREinstance(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *key, char *uri, int *result) 703 703 { struct ns1__delete_USCOREinstance soap_tmp_ns1__delete_USCOREinstance; 704 704 struct ns1__delete_USCOREinstanceResponse *soap_tmp_ns1__delete_USCOREinstanceResponse; … … 708 708 soap_action = "urn:Nebulous/Server/SOAP#delete_instance"; 709 709 soap->encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; 710 soap_tmp_ns1__delete_USCOREinstance.key = key; 710 711 soap_tmp_ns1__delete_USCOREinstance.uri = uri; 711 712 soap_begin(soap); -
trunk/Nebulous/nebclient/src/soapServer.c
r23688 r23935 10 10 #endif 11 11 12 SOAP_SOURCE_STAMP("@(#) soapServer.c ver 2.7.12 2009-04- 03 00:34:43GMT")12 SOAP_SOURCE_STAMP("@(#) soapServer.c ver 2.7.12 2009-04-20 22:15:21 GMT") 13 13 14 14 … … 643 643 || soap_end_recv(soap)) 644 644 return soap->error; 645 soap->error = ns1__delete_USCOREinstance(soap, soap_tmp_ns1__delete_USCOREinstance. uri, &soap_tmp_int);645 soap->error = ns1__delete_USCOREinstance(soap, soap_tmp_ns1__delete_USCOREinstance.key, soap_tmp_ns1__delete_USCOREinstance.uri, &soap_tmp_int); 646 646 if (soap->error) 647 647 return soap->error; -
trunk/Nebulous/nebclient/src/soapStub.h
r23198 r23935 283 283 struct ns1__delete_USCOREinstance 284 284 { 285 char *key; /* optional element of type xsd:string */ 285 286 char *uri; /* optional element of type xsd:string */ 286 287 }; … … 432 433 SOAP_FMAC5 int SOAP_FMAC6 ns1__find_USCOREinstances(struct soap*, char *key, char *volume, struct ns1__find_USCOREinstancesResponse *_param_3); 433 434 434 SOAP_FMAC5 int SOAP_FMAC6 ns1__delete_USCOREinstance(struct soap*, char * uri, int *result);435 SOAP_FMAC5 int SOAP_FMAC6 ns1__delete_USCOREinstance(struct soap*, char *key, char *uri, int *result); 435 436 436 437 SOAP_FMAC5 int SOAP_FMAC6 ns1__stat_USCOREobject(struct soap*, char *key, struct ns1__stat_USCOREobjectResponse *_param_4); … … 467 468 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__find_USCOREinstances(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *key, char *volume, struct ns1__find_USCOREinstancesResponse *_param_3); 468 469 469 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delete_USCOREinstance(struct soap *soap, const char *soap_endpoint, const char *soap_action, char * uri, int *result);470 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__delete_USCOREinstance(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *key, char *uri, int *result); 470 471 471 472 SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns1__stat_USCOREobject(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *key, struct ns1__stat_USCOREobjectResponse *_param_4); -
trunk/Nebulous/nebclient/tests/tap
- Property svn:ignore
-
old new 1 .in 1 configure 2 Makefile.in 3 config.log 4 depcomp 5 config.status 6 config.guess 7 ltmain.sh 8 config.sub 9 autom4te.cache 10 libtool 11 missing 12 aclocal.m4 2 13 Makefile 3 Makefile.in 4 aclocal.m4 5 autom4te.cache 6 config.log 7 config.status 8 configure 9 libtool 10 *.bb 11 *.bbg 12 *.da 13 gmon.out 14 install-sh 15 src/Makefile.in 16 src/stamp-h1 17 src/config.h 18 src/config.h.in 19 src/.deps 20 src/Makefile
-
- Property svn:mergeinfo changed
/branches/neb_distrib_20081210/Nebulous/nebclient/tests/tap (added) merged: 20900,23536,23729
- Property svn:ignore
-
trunk/Nebulous/nebclient/tests/tap/bootstrap.sh
r23934 r23935 2 2 3 3 set -x 4 aclocal 19 -I /usr/local/share/aclocal || aclocal|| exit 15 autoheader 259|| autoheader || exit 16 libtoolize 15-c -f || libtoolize -c -f || glibtoolize -c -f || exit 17 automake 19-a -c || automake -a -c || exit 18 autoconf 259|| autoconf || exit 14 aclocal || exit 1 5 autoheader || autoheader || exit 1 6 libtoolize -c -f || libtoolize -c -f || glibtoolize -c -f || exit 1 7 automake -a -c || automake -a -c || exit 1 8 autoconf || autoconf || exit 1 -
trunk/Nebulous/nebclient/tests/tap/src
- Property svn:ignore
-
old new 1 .deps2 .libs3 Makefile4 1 Makefile.in 5 libtap.la 6 tap.lo 2 ignore 3 stamp-h1 7 4 config.h 8 5 config.h.in 9 stamp-h1 10 *.bb 11 *.bbg 12 *.da 13 gmon.out 6 .deps 7 Makefile 8 .libs
-
- Property svn:ignore
Note:
See TracChangeset
for help on using the changeset viewer.
