silo_http

1.0.7 • Public • Published

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

Package Sidebar

Install

npm i silo_http

Weekly Downloads

1

Version

1.0.7

License

SEE LICENSE IN License.txt

Unpacked Size

68.3 kB

Total Files

27

Last publish

Collaborators

  • strategicsystems