This patch by Pan Jie adds a cache-invalidation test case, how it works:
commit06fa5a0e20a5b0459da14d9df820a93fd3985fe2
authorChris Chabot <chabotc@apache.org>
Sun, 10 May 2009 19:42:59 +0000 (10 19:42 +0000)
committerChris Chabot <chabotc@apache.org>
Sun, 10 May 2009 19:42:59 +0000 (10 19:42 +0000)
tree40ad23da3bd88217f494269e593249b782cb8e5c
parent87ecb63db97fc1ad9432145f91b450820b4bc220
This patch by Pan Jie adds a cache-invalidation test case, how it works:

1. Gadget spec is invalidation.xml, your can add through http://shindig/test/misc/invalidation/invalidation.xml

2. Counter page is count.php, you can access through http://shindig/test/misc/invalidation/count.php
    Page looks like: Count: 6 at time: 2009-05-09 08:20:07

3. Sign page is sign.php. Gadget uses that page for signing oauth argument.

Gadget usage:

Accessing counter page:
- Click makeRequest button.

Invalidate @viewer through jsonrpc:
- Click "jsonrpc invalidate button.

Invalidate through restful api:
- Fill invalidationKeys, oauth consumer key and oauth consumer secret.
- Click "rest invalidate" button.

git-svn-id: https://svn.apache.org/repos/asf/incubator/shindig/trunk@773394 13f79535-47bb-0310-9956-ffa450edef68
php/test/misc/invalidation/count.php [new file with mode: 0644]
php/test/misc/invalidation/invalidation.xml [new file with mode: 0644]
php/test/misc/invalidation/sign.php [new file with mode: 0644]