%%%-------------------------------------------------------------------
%%% @author Lukasz Opiola
%%% @copyright (C) 2015 ACK CYFRONET AGH
%%% This software is released under the MIT license
%%% cited in 'LICENSE.txt'.
%%% @end
%%%-------------------------------------------------------------------
%%% @doc
%%% This module contains OTP compliant application description.
%%% @end
%%%-------------------------------------------------------------------

{application, appmock,
    [
        {description, ""},
        {vsn, "1.0.1"},
        {registered, []},
        {applications, [
            kernel,
            stdlib,
            public_key,
            crypto,
            ssl,
            xmerl,
            meck,
            % ctool already requires those apps below, but they are here
            % for awareness of them being used in the project and
            % to make sure they are started before the application.
            lager,
            hackney,
            web_client,
            cowboy
        ]},
        {mod, {appmock_app, []}},
        {env, [
            {ca_cert_file, "cacerts/ca.crt"},
            {cert_file, "cacerts/server.crt"},
            {key_file, "cacerts/server.key"},

            {remote_control_port, 9999},
            {nagios_healthcheck_timeout, 1000},
            {tcp_connection_timeout, 60000}
        ]}
    ]}.
