synapse-product/tests
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on
synapse

This is necessary for replicating the data in synapse to be visible to a
separate service because presence and typing notifications aren't stored
in a database so won't be visible to another process.

This API can be used to either get the raw data by requesting the tables
themselves or to just receive notifications for updates by following the
streams meta-stream.

Returns updates for each table requested a JSON array of arrays with a
row for each row in the table.

Each table is prefixed by a header row with the: name of the table,
current stream_id position for the table, number of rows, number of
columns and the names of the columns.
This is followed by the rows that have been added to the server since
the requester last asked.

The API has a timeout and is hooked up to the notifier so that a slave
can long poll for updates.
2016-03-01 14:49:41 +00:00
..
api Test Filter.filter_rooms 2016-02-19 17:55:28 +00:00
appservice Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
config Check that the disable_registration config key is handled correctly 2016-02-22 16:01:29 +00:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
handlers Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
metrics Add a test for TreeCache.__contains__ 2016-02-22 15:22:38 +00:00
replication Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
rest Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
storage Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
util Add a test for TreeCache.__contains__ 2016-02-22 15:22:38 +00:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Cache dns lookups, and use the cache if we fail to lookup servers later 2016-01-20 11:34:09 +00:00
test_state.py copyrights 2016-01-07 04:26:29 +00:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
utils.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00