Skip to content

The microservice for KairoScope. This service is in charge of reading's operations.

Notifications You must be signed in to change notification settings

puresec/KairoScope-Backend-Reading

 
 

Repository files navigation

KairoScope Backend Reading Service

One of the microservice for KairoScope. This service is in charge of reading's operations.

Build Status Coverage Status

Functions are hosting on AWS lambda function

Some explainations

  • The wrapper middleware wrappers sample-logging and function-shield for all of the function who uses wrapper.js to wrapper its handler.
  • The flush-metrics middleware will be in charge of flush the metrics as batch for a function. (If the function definds async_metrics: true in the serverless.yml, this middleware does not have to apply due to the metrics will be sent asynchronously)
  • log.js in the libs folder can be used to perform logs with different levels (debug, info, warn, error).
  • cloudwatch.js in the libs folder has several methods to collect metrics for a function.

Test 🎉 🎉

Test code is under the tests folder

  • Unit test: npm run unitTest
  • Unit test with coverage report: npm run unitTestCoverage
  • Integration test: npm run integrationTest
  • Acceptance test: npm run acceptanceTest

Living website

https://kairoscope.resonancepath.com

About

The microservice for KairoScope. This service is in charge of reading's operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Shell 0.7%