Commit graph

398 commits

Author SHA1 Message Date
jsdelfino
d7069b5a2e Improve app hosting management app, restructure UI and refactor REST services and data model to use an SQL database.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428193 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 07:41:53 +00:00
jsdelfino
9e1b9e7314 Add support for HTTP patch and application of patch scripts to server and data store components.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428192 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 07:41:14 +00:00
jsdelfino
157ca678de Improve handling of nested lists, trees, null and floating point values.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428191 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 07:41:02 +00:00
jsdelfino
36adc76235 Changes to get successful C++11 based build. Code cleanup, dependency upgrades, and const + inline optimizations in components, samples, and app hosting server.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1420007 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 06:13:02 +00:00
jsdelfino
86b1de8553 More changes to port to C++11, adjust to use the new JSON support, and cleanup rest of the modules.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1419987 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 04:03:29 +00:00
jsdelfino
5f29c3b769 Use Jansson to read/write JSON instead of Mozilla SpiderMonkey.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1419986 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 03:55:19 +00:00
jsdelfino
ae0b7c0063 Port kernel to C++11 and refactor some of the core modules. Convert functors to lambdas, and add C++ const, noexcept and inline annotations to get more efficient generated code.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1419985 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 03:51:03 +00:00
giorgio
c9bfccc353 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1381061 13f79535-47bb-0310-9956-ffa450edef68 2012-09-05 08:31:30 +00:00
jsdelfino
6ab0d6faaa Upgrade to HTTPD 2.4.2, APR 1.4.6, Memcached 1.4.13, Python 2.7.3, Ubuntu 12.04, and Mac OS X 10.7.4.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361918 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:48:21 +00:00
jsdelfino
574ccee478 Minor memory management, performance, and tracing improvements.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361917 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:48:11 +00:00
jsdelfino
419f903ff4 Add a timeout property to the CURL HTTP clients.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361916 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:47:59 +00:00
jsdelfino
11522a4b90 Add an HTTPD auth provider allowing the authentication logic to be implemented by a component, and cleanup the SSL and mod-security config a bit.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361915 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:47:49 +00:00
jsdelfino
f82576588f Improve caching support and some of the navigations in the hosting environment.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361914 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:47:37 +00:00
jsdelfino
b07f87a11b Fix server config of server-status and proxy balancer-manager pages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343580 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 07:37:39 +00:00
jsdelfino
5e4d964310 Fix PyObject reference counting bugs causing memory violations in the Python component implementation. Build Python runtime from source with pydebug to diagnose memory issues.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343550 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 06:05:43 +00:00
jsdelfino
136d9fa1c8 Refactor sample app definitions into proper ATOM entries.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343439 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 00:17:18 +00:00
jsdelfino
a7a8f4f9c9 Improvements to the hosted composite management app. Simplify and optimize the Web UI a bit. Add test cases and fix some of the logic in the management components.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343316 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 16:49:36 +00:00
jsdelfino
7519724a17 Cleanup sample and test HTML pages. Remove crlf, fix links to the Javascript scripts, and remove unused CSS stylesheets.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343140 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 04:39:44 +00:00
jsdelfino
4a28afdf7a Database support optimizations. Use PgBouncer to pool connections. Track and manage WAL archives to optimize space and speed up database replication setup.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343139 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 04:39:28 +00:00
jsdelfino
f278315081 Improve error reporting with a reason code. Improve debug and audit logging. Fix test scripts to cleanup state from previous builds and correctly report test errors.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343138 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 04:39:18 +00:00
jsdelfino
10753b34f3 Cleanup Scribe log output and add ability to log to a firehose Unix fifo pipe.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1311137 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 06:22:16 +00:00
jsdelfino
5cc3ef4b52 Enable administrative access using basic auth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1311136 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 06:22:06 +00:00
jsdelfino
a6d8c8ff0c Add more fine grain debug options and remove overhead in debug log macros when logging is turned off.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:24:05 +00:00
jsdelfino
86b27d2bb7 Add scripts to configure multiple load balancers on a proxy server.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308247 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:23:56 +00:00
jsdelfino
13c04a6f47 Detach Memcached and Pgsql from terminal when logging with a logger like Scribe. Add a Scribe status command.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308246 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:23:51 +00:00
jsdelfino
58693003da Automatically reconnect to a Memcached server after a disconnection.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308245 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:23:44 +00:00
jsdelfino
54b61a4f65 Support multiple Auth modules in a single server or proxy config. Minor fixes to the OAuth2 module to comply with the spec.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308244 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:23:35 +00:00
jsdelfino
63bcfde17b Minor cleanup of README, INSTALL, and remove an obsolete sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1301985 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 19:46:47 +00:00
jsdelfino
46753b6278 Upgrade to newer version of CURL and integrate its SMTP support.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1301969 13f79535-47bb-0310-9956-ffa450edef68
2012-03-17 18:10:05 +00:00
jsdelfino
6f1d9dd9f4 Add options to use mmap or electric fence to check memory accesses, and fix a few memory access violations.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294008 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:26:59 +00:00
jsdelfino
352462dacc Add missing <?xml?> tag to test ATOM entry document.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294007 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:26:54 +00:00
jsdelfino
a07d4945c1 Fix mapping between repeating XML elements, S-expression lists, and JSON array cells.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294006 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:26:51 +00:00
jsdelfino
1a01ce4fe5 Fixes to the hosting module to correctly store ATOM feeds instead of raw collections and work with the sqldb component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291136 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 07:20:38 +00:00
jsdelfino
3479cfa158 Rename some of the utility programs and add them to the install target.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291135 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 07:20:27 +00:00
jsdelfino
4f245967cb Optimize server modules a bit. Pass individual config elements instead of the whole server config. Load target composite once into the request. Enable loading of shared component implementations from the main contribution.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291134 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 07:20:22 +00:00
jsdelfino
8fdc6a6dc4 Refactor auth configuration to allow HTTP and HTTPS virtual hosts to use different auth mechanisms, and refactor log configuration to make it easier to use.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291133 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 07:20:15 +00:00
jsdelfino
f4c4803ce0 Refactor server hosting module, rename it and move it under a hosting dir, and refactor its datastore components into a single component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1237740 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:56:11 +00:00
jsdelfino
1b10f18fce Add an app property which can be used to retrieve the current app name.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1237738 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:54:15 +00:00
jsdelfino
32ae33c773 Change samples to use standard example.com domain name.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1237737 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 15:54:12 +00:00
jsdelfino
d907c6fe64 Add a partitioner component, which combined with a selector component can be used to implement data partitioning, sharding, or data access load balancing for example.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1231822 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 03:49:08 +00:00
jsdelfino
c3cc3ea6b1 Fix error with logging command in memcached and sqldb start / stop scripts. Adjust test scripts, add new parameter required by memcached start / stop scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1231821 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 03:49:01 +00:00
jsdelfino
85d3307d76 Add external configuration of Memcached and PostgreSQL logging, to allow the logs to be piped to Scribe or the HTTPD log rotation program.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1225904 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 19:52:29 +00:00
jsdelfino
681567b281 Use HTTPD ap_log_error instead of stderr to log when running inside HTTPD, to get log piping and rotation to work.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1222604 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 08:18:38 +00:00
jsdelfino
c9dc8128f1 Fix calculation of composite path when configured with an absolute path.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1221832 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 18:31:55 +00:00
jsdelfino
0093665342 Fix PostgreSQL download URL and add it to the default build scripts on Ubuntu and Mac OS X.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1221567 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 02:26:01 +00:00
jsdelfino
38eceb6155 Turn ProxyPreserveHost off as it causes backend HTTPD servers to redirect requests instead of accepting them.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1220537 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:55:01 +00:00
jsdelfino
3ac8ca7868 Add ability to configure an HTTPS proxy with load balancing over a set of HTTP backend servers and get OAuth authentication working with that topology.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1220526 13f79535-47bb-0310-9956-ffa450edef68
2011-12-18 20:19:11 +00:00
jsdelfino
b8580fd78a Change htpasswd conf from MD5 to DES as the MD5 version isn't recognized on Mac OS X.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1214044 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 03:35:23 +00:00
jsdelfino
f50225bacd Change memcached component configuration syntax to use spaces instead of commas between memcached addresses.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1214043 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 03:35:21 +00:00
jsdelfino
f0ae609332 Minor build script updates. Add missing --enable-libcloud build option and upgrade to PostgreSQL 9.1.2.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1214042 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 03:35:17 +00:00