summaryrefslogtreecommitdiff
path: root/NOTICE
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2013-03-04 12:02:24 +0100
committerJan Lehnardt <jan@apache.org>2013-07-22 12:28:51 +0200
commitea18ecdf69290a179570f539f8d0bc8c9529f5a9 (patch)
treec564587e54a88d480dfda436b904c831c8b5526e /NOTICE
parentc40b25dfc69c23e63441af579b7cb9972820038f (diff)
downloadcouchdb-ea18ecdf69290a179570f539f8d0bc8c9529f5a9.tar.gz
Import couch_dbupdates from rcouch.
This creates a new top level API endpoint: `/_db_updates` that returns a line of JSON for each database event along with the database name. A database event is one of `created`, `updated`, `deleted`. The API endpoint supports a `?feed=` parameter with the options: `longpoll`, `continuous` and `eventsource`. A second parameter `timeout=` specifies when the server should close the connection. `longpoll` closes the connection after a single notification. It is the default option. `continuous` keeps a socket open until the specified `timeout` or 60 seconds by default. `heartbeat` decides whether to send a newline character on `timeout` to avoid clients closing the connection prematurely. `eventsource` works like continuous, but sends the data in EventSource format. See http://dev.w3.org/html5/eventsource/ The parameters are modelled after the existing `/_changes` API endpoint. Note that `/_db_updates` does not support resuming of notifications via a sequence ID. This is a port of the existing DbUpdateNotification interface to the HTTP API. Functional changes compared to rcouch: - make _db_updates an admin-only resource Docs: - updated api/misc to include basic info on `/_db_updates` License: Apache 2 license, updated LICENSE. Notice: (c) 2012 Benoit Chesneau, updated NOTICE. Tests: - only manual testing of the various API differences due to complications with asynchronous HTTP requests in the JS test suite and total annoyance of overly complicated ibrowse/httpc modules for writing etap tests. Recommendation to ship this as EXPERIMENTAL until we have tests.
Diffstat (limited to 'NOTICE')
-rw-r--r--NOTICE2
1 files changed, 2 insertions, 0 deletions
diff --git a/NOTICE b/NOTICE
index 8379f97b3..182c26784 100644
--- a/NOTICE
+++ b/NOTICE
@@ -142,4 +142,6 @@ This product also includes the following third-party components:
Copyright 2006-2013 (c) M. Alsup
+ * couch_dbupdates
+ Copyright 2012, BenoƮt Chesneau <benoitc@refuge.io>