Eventually consistent external materialized views. (Note: Originally a fork of https://github.com/kirasystems/views)
Go to file
2014-07-24 03:26:15 -04:00
doc first commit; subscription code and view init code pulled out and tested; DE-specific code stripped 2014-06-06 19:58:08 +09:00
src/views Update transaction code. 2014-07-24 03:26:15 -04:00
test/views restructures broadcast-deltas to handle multiple persistence models properly 2014-07-09 16:41:08 +09:00
.gitignore replaces pre-checks with simple table intersection check; moved some functions from core to deltas; adds tests for delta calculations (more to come) 2014-06-30 20:45:38 +09:00
LICENSE first commit; subscription code and view init code pulled out and tested; DE-specific code stripped 2014-06-06 19:58:08 +09:00
project.clj Update transaction code. 2014-07-24 03:26:15 -04:00
README.md better testing documentation; adds basic subscription functionality back to base-subscribed-views; beginning of bulk update functionality; moved all database table creation into SQL script 2014-06-10 12:12:21 +09:00

views

Eventually consistent external materialized views for SQL databases.

Design

TODO

Usage

TODO

Testing

You will need to set up the test db to run the tests:

$ psql -Upostgres < test/views/test_db.sql
CREATE ROLE
CREATE DATABASE
$

This will create a role views_user and a database owned by that user called views_test.

(You can change the database settings if you'd like by editing that file and checking the config in test/views/fixtures.clj.)

Then, to run all tests in the repl:

user=> (require '[views.all-tests :as at])
user=> (at/run-all-tests)

License

Copyright © 2014 DiligenceEngine

Authors Dave Della Costa (https://github.com/ddellacosta) and Alex Hudek (https://github.com/akhudek)

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.