Giter Club home page Giter Club logo

alphagov.verify-event-emitter's Introduction

Event Emitter

Build Status

Overview

Event Emitter is a library providing a Java Service to log Audit Events to a datastore. The Java Service sends the Audit Events to AWS via one of two mechanisms:

  1. An API Gateway API.
  2. An SQS Queue.

Use of the library assumes that a corresponding implementation of the required AWS resources is in place.

Applications consuming the library should provide an implementation of the uk.gov.ida.eventemitter.Configuration class and provide configuration values. An apiGatewayUrl must be provided when connecting via API Gateway, and a sourceQueueName provided when connecting via SQS Queue, as well as a concrete implementation of an Event or AuditEvent.

The library provides a Guice Module EventEmitterModule to get hold of the Service objects. Use an EventEmitter to send events to the API Gateway API. Use an EventEmitterSQS to send events to an SQS Queue.

Building the project

./gradlew clean build

Pre-Commit Script

In order to run the integration tests you will need to install python, pip and docker on your dev machine.

Licence

MIT Licence

This code is provided for informational purposes only and is not yet intended for use outside GOV.UK Verify.

alphagov.verify-event-emitter's People

Contributors

adityapahuja avatar dbes-gds avatar michaelwalker avatar brenetic avatar jhjava avatar johnwattsgds avatar richardtowers avatar wynndow avatar amritsidhu avatar krenair avatar jkunle avatar philandstuff avatar alan-gds avatar mrwilson avatar kornysietsma avatar willp-bl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.