pagantis_elixir_tools v0.17.1 API Reference

Modules

Documentation for ElixirTools.

Helper functions for dealing with card date transformations and parsing.

This support module helps with implementing contracts in tests. It ensures that the signature of a method is right. This is done by creating dynamically a contract for all public functions.

Functionality for pushing an event to SNS

A structure for working with events. event_id_seed is used for event_id generation(UUID5) together with name & version. So if all values are the same event will be updated.

Schema used for saving not sent (due to a failure) events to DB. They supposed to be resend later, after this a field is_sent has to be set to true

The Publisher defines the behaviour to be implemented on adapter that implement the publishing logic to AWS, RabbitMQ or any other publishing method.

Fixture is a helper to work with fixtures in tests.

The HealthCheck module specifies a behaviour for dealing with health checks.

The Sql healthcheck verifies that the ecto repos are available and ready for handling requests

The HttpClient module handles HTTP(s) interactions with remote services.

The adapter specifies a behaviour for implementing HttpClient adapters

A Request prepares and does the call to an external provider.

Helper module for dealing with Integers

Works together with the JsonApi. The JSON API expects a validated request and converts the controller into a Json Api Controller by passing only the validated parameters using JaSerializer.

A Plug that checks whether a valid JSON API request is sent.

JSON API View is an overlay over the default Jaserializer view and provides functionality to apply standards.

Implements a statsd behaviour

This adapter acts like metrics are sent, but it does not do anything

Sends phoenix metrics to the statsd adapter for request and response information

Module to help the Metrics plug to fetch tags

Sends periodically Erlang metrics to a ElixirTools.Metrix Adapter

The Schema provides functionality for working simple and productive with Ecto.