├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── Dockerfile ├── LICENSE.md ├── README.md ├── docker-compose.test.yml ├── examples ├── README.md ├── artists_insertAndStream.js ├── docker-compose.yml ├── package.json └── replSet.sh ├── lib ├── adapter.js ├── adapters │ └── mongodb.js ├── events-reader-checkpoint-writer.js ├── events-reader.js ├── harvester.js ├── includes.js ├── jsonapi-error.js ├── route.js ├── route.method.js ├── send-error.js ├── sse.js └── validation.js ├── package.json └── test ├── app.js ├── associations.spec.js ├── authorization.spec.js ├── bodyParserConfiguration.spec.js ├── chaining.spec.js ├── checkpoint-writer.spec.js ├── config.js ├── customHarvesterInstance.spec.js ├── deletes.spec.js ├── events-reader.spec.js ├── exportPermissions.spec.js ├── filters.spec.js ├── fixtures ├── collars.js ├── foobars.js ├── immutables.js ├── index.js ├── people.js ├── pets.js └── readers.js ├── global.spec.js ├── immutable.spec.js ├── includes.spec.js ├── jsonapi_error.spec.js ├── limits.spec.js ├── mocha.opts ├── multiSSE.spec.js ├── paging.spec.js ├── readOnly.spec.js ├── remoteIncludes.spec.js ├── resources.spec.js ├── restricted.spec.js ├── roles.spec.js ├── seeder.js ├── send-error.spec.js ├── singleRouteSSE.spec.js ├── sorting.spec.js └── validation.spec.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/docker-compose.test.yml -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/artists_insertAndStream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/examples/artists_insertAndStream.js -------------------------------------------------------------------------------- /examples/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/examples/docker-compose.yml -------------------------------------------------------------------------------- /examples/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/examples/package.json -------------------------------------------------------------------------------- /examples/replSet.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/examples/replSet.sh -------------------------------------------------------------------------------- /lib/adapter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/adapter.js -------------------------------------------------------------------------------- /lib/adapters/mongodb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/adapters/mongodb.js -------------------------------------------------------------------------------- /lib/events-reader-checkpoint-writer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/events-reader-checkpoint-writer.js -------------------------------------------------------------------------------- /lib/events-reader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/events-reader.js -------------------------------------------------------------------------------- /lib/harvester.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/harvester.js -------------------------------------------------------------------------------- /lib/includes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/includes.js -------------------------------------------------------------------------------- /lib/jsonapi-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/jsonapi-error.js -------------------------------------------------------------------------------- /lib/route.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/route.js -------------------------------------------------------------------------------- /lib/route.method.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/route.method.js -------------------------------------------------------------------------------- /lib/send-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/send-error.js -------------------------------------------------------------------------------- /lib/sse.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/sse.js -------------------------------------------------------------------------------- /lib/validation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/lib/validation.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/package.json -------------------------------------------------------------------------------- /test/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/app.js -------------------------------------------------------------------------------- /test/associations.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/associations.spec.js -------------------------------------------------------------------------------- /test/authorization.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/authorization.spec.js -------------------------------------------------------------------------------- /test/bodyParserConfiguration.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/bodyParserConfiguration.spec.js -------------------------------------------------------------------------------- /test/chaining.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/chaining.spec.js -------------------------------------------------------------------------------- /test/checkpoint-writer.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/checkpoint-writer.spec.js -------------------------------------------------------------------------------- /test/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/config.js -------------------------------------------------------------------------------- /test/customHarvesterInstance.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/customHarvesterInstance.spec.js -------------------------------------------------------------------------------- /test/deletes.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/deletes.spec.js -------------------------------------------------------------------------------- /test/events-reader.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/events-reader.spec.js -------------------------------------------------------------------------------- /test/exportPermissions.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/exportPermissions.spec.js -------------------------------------------------------------------------------- /test/filters.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/filters.spec.js -------------------------------------------------------------------------------- /test/fixtures/collars.js: -------------------------------------------------------------------------------- 1 | module.exports = (function() { 2 | return [{}]; 3 | })(); 4 | -------------------------------------------------------------------------------- /test/fixtures/foobars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/foobars.js -------------------------------------------------------------------------------- /test/fixtures/immutables.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/immutables.js -------------------------------------------------------------------------------- /test/fixtures/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/index.js -------------------------------------------------------------------------------- /test/fixtures/people.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/people.js -------------------------------------------------------------------------------- /test/fixtures/pets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/pets.js -------------------------------------------------------------------------------- /test/fixtures/readers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/fixtures/readers.js -------------------------------------------------------------------------------- /test/global.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/global.spec.js -------------------------------------------------------------------------------- /test/immutable.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/immutable.spec.js -------------------------------------------------------------------------------- /test/includes.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/includes.spec.js -------------------------------------------------------------------------------- /test/jsonapi_error.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/jsonapi_error.spec.js -------------------------------------------------------------------------------- /test/limits.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/limits.spec.js -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/mocha.opts -------------------------------------------------------------------------------- /test/multiSSE.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/multiSSE.spec.js -------------------------------------------------------------------------------- /test/paging.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/paging.spec.js -------------------------------------------------------------------------------- /test/readOnly.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/readOnly.spec.js -------------------------------------------------------------------------------- /test/remoteIncludes.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/remoteIncludes.spec.js -------------------------------------------------------------------------------- /test/resources.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/resources.spec.js -------------------------------------------------------------------------------- /test/restricted.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/restricted.spec.js -------------------------------------------------------------------------------- /test/roles.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/roles.spec.js -------------------------------------------------------------------------------- /test/seeder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/seeder.js -------------------------------------------------------------------------------- /test/send-error.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/send-error.spec.js -------------------------------------------------------------------------------- /test/singleRouteSSE.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/singleRouteSSE.spec.js -------------------------------------------------------------------------------- /test/sorting.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/sorting.spec.js -------------------------------------------------------------------------------- /test/validation.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agco/harvesterjs/HEAD/test/validation.spec.js --------------------------------------------------------------------------------