summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-scheme/script-test.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-10-25Support python method invocation style on references, ref.func(...) in ↵jsdelfino1-2/+2
addition to ref('func', ...). Minor cleanup of the various samples, renamed gettotal to total and getcatalog to items, for consistency with the python sample. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20Remove unnecessary javaClass hint attribute from JSON objects.jsdelfino1-3/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024521 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13Move samples to samples directory.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@943805 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11Minor fixes to server and python evaluator to get python store working. ↵jsdelfino1-3/+3
Some changes to python and scheme store test cases to simplify them a bit and make them consistent. Enabled a few more server test combinations. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897785 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06Added test/store-python test case, renamed test/store-script to ↵jsdelfino1-0/+0
store-scheme, started to convert the store test code to python. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896331 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06Minor cleanup, removed unnecessary references to GC pools.jsdelfino1-5/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896327 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05Fixed shopping cart delete function. Map HTTP delete with no path info to a ↵jsdelfino1-3/+3
deleteall function, to distinguish delete of a resource and delete of the whole collection of resources. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895970 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05Refactored eval module to avoid confusion with the python eval module.jsdelfino1-9/+9
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895952 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Performance improvements when running both in multi-threaded and pre-forked ↵jsdelfino1-31/+25
HTTPD. Changed memory management to use Apache APR pools instead of ref counting pointers as it's much faster and easier to integrate with the Python and Ruby interpreters. Changed to use simple pool-based string and stream implementations instead of the STL ones, which cause a lots of mutex locks in a multi-threaded environment. Added build options to compile with threading and profiling. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895165 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Cleaning up SVN structure, moving sca trunk to sca-cpp/trunk.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880633 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Added test cases and scripts to test the HTTP binding support. Refactored ↵jsdelfino1-18/+10
httpd module and added a wiring httpd module. Implementation of the store demo prepared for ApacheCon. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01Minor refactoring of read/write functions and primitive procs. Added ↵jsdelfino1-5/+3
functions to help store data in memcached. Fixes to HTTP support and more tests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831640 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01Improved memory management using APR memory pools, changed frame allocation ↵jsdelfino1-13/+21
in eval library to support forward references and fixed memory leak in XML parsing code. Also simplified a bit the printing of lists to make them easier to read. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831639 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26Added test cases to make check build target. Changed store-script to interop ↵jsdelfino1-20/+25
with java store sample. Added reference support to http module. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Some fixes to the JSON and httpd support. Added support for Atom. Adjusted ↵jsdelfino1-9/+25
store test. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826545 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11Added support for JSON-RPC to httpd module. Fixed issues with double numbers ↵jsdelfino1-4/+29
in json.hpp. Added store .html and .js files to store test case. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823982 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Refactored store tests and moved them under test/. Simplified the script ↵jsdelfino1-5/+13
evaluation logic a little, added an apply procedure and support for variable lists of args. Added a test case that assembles the store app using a script. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821425 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Added a variant of store that implements the business logic as a set of ↵jsdelfino1-0/+50
functions stringed together instead of classes, to help see how that style can help simplify the component assembly process. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819222 13f79535-47bb-0310-9956-ffa450edef68