Commit graph

58 commits

Author SHA1 Message Date
jsdelfino
874620b24e Refactor some of the extensions and remove unnecessary namespace prefixes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1126298 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 02:29:02 +00:00
jsdelfino
49b878b1b0 Change ATOM and RSS feed representations to use name value pairs instead of just strings, to allow support for all ATOM and RSS attributes and avoid confusion with non-feed string results.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1079292 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 08:18:07 +00:00
jsdelfino
ec39961fa9 Move virtual host htdocs under their corresponding virtual host contribution directory.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074925 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 20:59:49 +00:00
jsdelfino
7c018c6fb6 Correctly pass query strings through component wiring redirects and improve format of XML and JSON response documents.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074924 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 20:59:35 +00:00
jsdelfino
7a003f5bbf Use a common stylesheet in all samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059769 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 07:26:48 +00:00
jsdelfino
bd31568ed9 Fix incorrect cookie name in sample logout pages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1056189 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 04:32:41 +00:00
jsdelfino
c5e532242f Port REST support improvements to AppEngine Python integration scripts and add a sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053004 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 05:59:31 +00:00
jsdelfino
fe9add6a09 Simplify relay sample a bit.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1053003 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 05:59:24 +00:00
jsdelfino
86fa951ba9 Apply roundtripping fixes from SVN r1052432 to Python and Javascript scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052445 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:35:53 +00:00
jsdelfino
f5f3443357 Add a sample showing how to relay various REST requests.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052433 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:46 +00:00
jsdelfino
aaffeb9983 Refactor some of the Javascript scripts to use a different namespace per script.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1044875 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 18:37:57 +00:00
jsdelfino
5b6af38117 Create a js module for client side javascripts. Move client component script to that module and add a few utility scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1042535 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 07:19:24 +00:00
jsdelfino
8d13a8e4db Add scripts to support 'Require valid-user' and 'Require group' authz configurations separately.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041681 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:19 +00:00
jsdelfino
6f3e045ffe Reset auth cookie before re-auth in login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1041680 13f79535-47bb-0310-9956-ffa450edef68
2010-12-03 03:59:11 +00:00
jsdelfino
14f1ada7b2 Use different servers for cert-based and password-based auth and use event MPMs for tunnel and proxy servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1039840 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 07:17:11 +00:00
jsdelfino
40d310c40e Minor build fixes. Create missing .so links in sample. Unpack httpd-2.3.8-deps.tar.gz. Update EC2 build scripts to use Ubuntu 10.10 64-bit images.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1035553 13f79535-47bb-0310-9956-ffa450edef68
2010-11-16 08:16:41 +00:00
jsdelfino
3ac22b097d Port to HTTPD 2.3.8. Add an auth module to make OpenID, OAuth 1/2 and HTTPD 2.3 Form auth modules play nice together.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034693 13f79535-47bb-0310-9956-ffa450edef68
2010-11-13 07:53:10 +00:00
jsdelfino
034b527d25 Improvements to OAuth and OpenID modules. Store client app in an environment variable. Add support for more OAuth providers. Fix a cookie parsing bug.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1030524 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 16:39:53 +00:00
jsdelfino
0fa885699a Simplify Javascript component reference API a bit. Rename tuscany-ref.js to ref.js. Add a function to declare reference proxy methods.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027835 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 06:57:31 +00:00
jsdelfino
cd59eb1d7f Fix invocation of ip-redirect commands as they need sudo to execute.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1026940 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 03:18:20 +00:00
jsdelfino
a2a2cb76e9 Support python method invocation style on references, ref.func(...) in 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-25 03:18:16 +00:00
jsdelfino
4503cce859 Minor fixes to get all samples working in a target install dir.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024522 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 05:00:08 +00:00
jsdelfino
ac736cca82 Remove unnecessary javaClass hint attribute from JSON objects.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024521 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:59 +00:00
jsdelfino
9558dae78c Renamed frontcache to datacache and add a memo cache that memoizes function applications.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1024519 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 04:59:43 +00:00
jsdelfino
6f23b6edf6 Change content of sample catalogs to show different results when the app is wired to one or another.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999180 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:43:58 +00:00
jsdelfino
6cf128a718 Remove 'javaClass' JSON property as it's not needed anymore.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999176 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 01:18:04 +00:00
jsdelfino
98a4810fb6 Minor change, renamed getcatalog to items.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999159 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 23:30:12 +00:00
jsdelfino
f75296a863 Enable OAuth and OpenID to be used together in the same app. Add a few OpenID providers to test login page.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@993178 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:26:11 +00:00
jsdelfino
2d574d2281 Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the OpenID support and changes to enable it to co-exist with OAuth.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992963 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 07:45:00 +00:00
jsdelfino
e6c5021001 Use secure cookies for OpenID auth sessions. Renamed OpenID memcached config directive to follow HTTPD naming convention.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992962 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 07:44:44 +00:00
jsdelfino
62d5e37461 Configure mod-auth-openid to use memcached instead of sqlite. Remove dependencies on sqlite.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992219 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 06:24:23 +00:00
jsdelfino
de5a3e20aa Support local in-process function proxies between components contributed by a virtual host and the main host.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@988384 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 04:51:25 +00:00
jsdelfino
3c98b27f75 Improve performance by reusing HTTP proxy connections across invocations and using local function proxies instead of HTTP proxies for local wires.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987845 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 05:02:11 +00:00
jsdelfino
b70da6b982 Refactor store-cluster sample components to allow vhosts to share common cache and database components. Minor fixes to config scripts and wiring code to get that combination working.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987844 13f79535-47bb-0310-9956-ffa450edef68
2010-08-22 05:02:05 +00:00
jsdelfino
768a1e33e5 Script fixes to get database working with the HTTPS-enabled store-cluster sample configuration. Also some logging improvements and aggregation of the sample logs using scribe.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987012 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19 04:10:43 +00:00
jsdelfino
16f96409b9 Test Postgresql hot standby + replication and integrated Postgresql database in store-cluster sample. Add a front cache component which can be used to wire a cache component and a database component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985799 13f79535-47bb-0310-9956-ffa450edef68
2010-08-16 06:15:24 +00:00
jsdelfino
d6451b8170 Some refactoring of the HTTP support, tunnel Memcached requests over HTTPS and add HTTPS config to store-cluster sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985561 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:46:26 +00:00
jsdelfino
91bee1de5a Fix HTTPS config scripts to enable SSL certicates, HTTP basic auth, and OpenID to coexist. Add OpenID support to sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@981352 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 01:42:59 +00:00
jsdelfino
9e52793370 Change sample to use a pool of three memcached servers. Add a property to the memcached component to list multiple memcached servers. Replace spaces by tabs in memcached keys as spaces are not allowed in keys.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980010 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:50:21 +00:00
jsdelfino
fe93d86e55 Refactor and cleanup some of the config scripts. Add a sample using mod_proxy_balancer to distribute requests across three servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@980009 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 09:50:12 +00:00
jsdelfino
7ca5198878 Add a test of the password protected python store sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@966096 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 05:28:51 +00:00
jsdelfino
a19a7d3f51 Add more JSON and ATOMPub test cases.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965342 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 02:27:31 +00:00
jsdelfino
c59c7ef6db Support the host property and a /logout URL on WSGI servers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@965145 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 22:44:52 +00:00
jsdelfino
211c686bc6 More changes to get both single and mass dynamic virtual hosting working with HTTP and HTTPS.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961589 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 06:38:07 +00:00
jsdelfino
4b05b5d35a Add support for HTTPD mass dynamic virtual hosting. Components can now be deployed, resolved, wired and invoked within a virtual host.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960847 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:06:07 +00:00
jsdelfino
0389017140 Minor cleanup of config scripts and samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960846 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 09:05:57 +00:00
jsdelfino
c5a55dc9a5 HTTPD configuration changes to properly work behind a proxy or in a cluster.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960383 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:53:29 +00:00
jsdelfino
d3748ed90e Minor fixes to the Ubuntu build scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960382 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:53:25 +00:00
jsdelfino
446b402137 Add utility script to map port 80 to httpd's port.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960381 13f79535-47bb-0310-9956-ffa450edef68
2010-07-04 18:53:20 +00:00
jsdelfino
69c5921fb2 Support user and email properties in WSGI integration.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@959523 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 06:04:47 +00:00