embryo

Hex.pmHex DocsLicense

An Erlang library for managing Emergence configuration and embryo objects.

Features

Installation

Add to your rebar.config:

{deps, [
    {embryo, "0.1.4"}
]}.

Usage

% Create a new embryo
Properties = #{<<"url">> => <<"http://example.com">>},
Embryo = embryo:new(Properties),

% Get the discovery service URL
DiscoUrl = embryo:get_em_disco_url(),

% Read the Emergence configuration
Config = embryo:read_emergence_conf(),

% Merge lists of embryos
MergedList = embryo:merge_lists_by_url(List1, List2).

Configuration

The library looks for the Emergence configuration file in the following locations:

License

Apache 2.0