1.3.0 • Published 6 years ago

openair-dpi-kinesis v1.3.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

openair-dpi-kinesis project

This repository contains a Node.js project under microservice architecture. The main functionality is to receive Aws kinesis stream data and send it to the tenant DPI Mongo databases.

Contributors

Running the project

  • Make sure to set up an AWS profile for your credentials in your .env file with the following at the root of the project.
    AWS_PROFILE='kinesis'
    AWS_REGION='region'
    AWS_KINESIS_STREAM='streamName'
  • Also configure the credentials in your local environment:
    [kinesis]
    aws_access_key_id = SOME_KEY_ID
    aws_secret_access_key = SOME_SUPER_SECRET_ACCESS_KEY

    To learn how to create profiles see Using Profiles with the AWS CLI

Run Eureka server

  npm run eureka

Run project

  npm run local

Check coverage

  npm run cover

Version History

1.1.0

Stream-sourced documents now populate tenant databases (Mongo connection declared in env vars).

1.0.0

Initial project structure, including Kinesis stream connection and document recovery.