Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17404102A2 for ; Thu, 5 Sep 2013 17:34:53 +0000 (UTC) Received: (qmail 60346 invoked by uid 500); 5 Sep 2013 17:34:47 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 60020 invoked by uid 500); 5 Sep 2013 17:34:46 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 59894 invoked by uid 99); 5 Sep 2013 17:34:45 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Sep 2013 17:34:45 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4339D90169C; Thu, 5 Sep 2013 17:34:45 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: deathbear@apache.org To: commits@couchdb.apache.org Date: Thu, 05 Sep 2013 17:34:45 -0000 Message-Id: In-Reply-To: <5b1415f0ee274993bc7079fa40f1eb92@git.apache.org> References: <5b1415f0ee274993bc7079fa40f1eb92@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [02/17] git commit: updated refs/heads/1807-Replication to 80a5e6e Remove couchdb_updates files (content already in top-level LICENSE/NOTICE). Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2a5e100a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2a5e100a Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2a5e100a Branch: refs/heads/1807-Replication Commit: 2a5e100a75e0b8c8026d7a7395313258a5a353c4 Parents: 8077516 Author: Dirkjan Ochtman Authored: Wed Aug 7 18:00:37 2013 +0200 Committer: Dirkjan Ochtman Committed: Fri Aug 23 16:32:19 2013 +0200 ---------------------------------------------------------------------- src/couch_dbupdates/LICENSE | 22 ---------------------- src/couch_dbupdates/NOTICE | 6 ------ src/couch_dbupdates/README.md | 32 -------------------------------- 3 files changed, 60 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/2a5e100a/src/couch_dbupdates/LICENSE ---------------------------------------------------------------------- diff --git a/src/couch_dbupdates/LICENSE b/src/couch_dbupdates/LICENSE deleted file mode 100644 index a089916..0000000 --- a/src/couch_dbupdates/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -2009-2012 (c) Benoît Chesneau - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. http://git-wip-us.apache.org/repos/asf/couchdb/blob/2a5e100a/src/couch_dbupdates/NOTICE ---------------------------------------------------------------------- diff --git a/src/couch_dbupdates/NOTICE b/src/couch_dbupdates/NOTICE deleted file mode 100644 index ee00a85..0000000 --- a/src/couch_dbupdates/NOTICE +++ /dev/null @@ -1,6 +0,0 @@ -couch_dbupdates ---------------- - -2012 (c) Benoît Chesneau - -couch_dbupdates is released under the Apache License 2. http://git-wip-us.apache.org/repos/asf/couchdb/blob/2a5e100a/src/couch_dbupdates/README.md ---------------------------------------------------------------------- diff --git a/src/couch_dbupdates/README.md b/src/couch_dbupdates/README.md deleted file mode 100644 index c683102..0000000 --- a/src/couch_dbupdates/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# couch_dbupdates - -`couch_dbupdates` is a simple couchdb modules to receive databases -events in couchdb node. - -It's actually **supported by all the [refuge](http://refuge.io) projects**: - -- [refuge](https://github.com/refuge/refuge) -- [rcouch](https://github.com/refuge/rcouch) -- [rcouch_template](https://github.com/refuge/rcouch_template) - - -## HTTP API - -To get db events, do a GET to `/_db_updates` . - -You can pass an optional query parameters: - -* `feed` The feed can be `longpoll` (default) for longpolling, `eventsource` - for event stream or `continuous` for continuous feed. -* `timeout`: timeout before the longpolling connection close or when the - heartbeat is emitted. -* `heartbeat`: true, or false. an empty line is emittend when the - timeout occurs to maintain the connection active. - - -## Example of usage - - $ curl http://127.0.0.1:5984/_db_updates?feed=continuous - {"type":"created","db_name":"testdb"} - {"type":"updated","db_name":"testdb"} - {"type":"deleted","db_name":"testdb"}