silo_http
v1.0.7
Published
Backbone http API silo
Downloads
3
Maintainers
Readme
HTTP Silo
##Introduction The HTTP silo is a dedicated silo, based on the latest Hapi.js to host a RESTfull interface to the outer world. It's functionality is limited to:
- Authenticating the request
- Authorizing the request based on the logged in tenant/app/role
- Validating the (format of) the request (using the metadata)
- Transforming the REST request into an internal format
- Use the Message queue to request execution of the request, and wait for the response
- Transform the (internal) response into an HTTP/REST response
##Build and Test
###Unit tests
Unit test files must be named '*.unit.js' and located in the tests
subfolder for the testing tool to pick them up. To execute all unit tests, you can run npm run test
.
###All tests
To execute all tests with teamcity style output, run npm run test:all
#Contribute Git Repository: https://sstdev.visualstudio.com/DefaultCollection/Backbone/_git/silo_http