Merge from 'brandonscript/usergrid-nodejs'
Project: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/commit/6e0b2741 Tree: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/tree/6e0b2741 Diff: http://git-wip-us.apache.org/repos/asf/usergrid-nodejs/diff/6e0b2741 Branch: refs/heads/master Commit: 6e0b27411750e59652cb9d3d765cb8796f40ff5c Parents: 4f6ba21 cb8e3d1 Author: Robert Walsh <rjwalsh1...@gmail.com> Authored: Fri Nov 11 14:02:31 2016 -0600 Committer: Robert Walsh <rjwalsh1...@gmail.com> Committed: Fri Nov 11 14:02:31 2016 -0600 ---------------------------------------------------------------------- .gitignore | 3 +- .travis.yml | 12 + LICENSE | 333 +----- README.md | 778 +++++++++++++ changelog.md | 43 - config.sample.json | 8 + examples/api-proxy/README.md | 4 + examples/api-proxy/app.js | 28 + examples/api-proxy/config/usergrid.example.json | 8 + examples/api-proxy/package.json | 19 + helpers/args.js | 21 + helpers/build.js | 479 ++++++++ helpers/cb.js | 24 + helpers/client.js | 48 + helpers/config.js | 52 + helpers/index.js | 40 + helpers/mutability.js | 55 + helpers/query.js | 24 + helpers/time.js | 21 + helpers/user.js | 23 + lib/appAuth.js | 41 + lib/asset.js | 86 ++ lib/auth.js | 79 ++ lib/client.js | 170 +++ lib/entity.js | 225 ++++ lib/query.js | 153 +++ lib/request.js | 53 + lib/response.js | 87 ++ lib/responseError.js | 29 + lib/user.js | 159 +++ lib/userAuth.js | 41 + package.json | 65 +- readme.md | 720 ------------ test.js | 1077 ------------------ test/client.js | 183 --- test/collection.js | 259 ----- test/entity.js | 59 - tests/config.test.json | 28 + tests/lib/asset.test.js | 118 ++ tests/lib/client.auth.test.js | 350 ++++++ tests/lib/client.connections.test.js | 294 +++++ tests/lib/client.init.test.js | 37 + tests/lib/client.rest.test.js | 481 ++++++++ tests/lib/entity.test.js | 696 +++++++++++ tests/lib/image.jpg | Bin 0 -> 109055 bytes tests/lib/image_test.jpg | Bin 0 -> 109055 bytes tests/lib/query.test.js | 106 ++ tests/lib/response.test.js | 188 +++ tests/lib/responseError.test.js | 47 + tests/lib/user.test.js | 273 +++++ tests/lib/usergrid.init.test.js | 21 + tests/lib/usergrid.singleton.test.js | 9 + tests/lib/usergrid.teardown.test.js | 14 + tests/main.test.js | 75 ++ usergrid.js | 37 + 55 files changed, 5584 insertions(+), 2699 deletions(-) ----------------------------------------------------------------------