1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
%% -*- erlang -*-
%% Copyright (C) 2014, Jaguar Land Rover
%%
%% This program is licensed under the terms and conditions of the
%% Mozilla Public License, version 2.0. The full text of the
%% Mozilla Public License is at https://www.mozilla.org/MPL/2.0/
%%
%% Configuration include file for rvi config files
%%
Out = filename:absname(proplists:get_value(outdir, OPTIONS)).
[
%% All erlang apps needed to fire up a node. Do not touch.
{apps,
[kernel,
stdlib,
sasl,
setup,
syntax_tools,
lager,
crypto,
public_key,
base64url,
exo,
compiler,
ssl,
asn1,
wse,
bt,
%% RVI-specific apps.
%% Do not touch unless you are replacing apps with your own
%% version. If you are replacing an app with a non-Erlang version,
%% it still has to be loaded in order to resolve.
%% If, for example, you want to deploy your own scheduler
%% outside Erlang, replace
%%
%% schedule,
%% with
%% { schedule, load },
%%
rvi,
rvi_common,
service_discovery,
service_edge,
authorize,
schedule,
dlink_tcp,
dlink_bt,
proto_bert,
proto_json
%% If adding apps, you can still include this config, and complement
%% with {add_apps, [App]}, {remove_apps, [App]} and even {sort_app,A,Before}.
]},
{env,
[
{setup,
[
{home, Out}
]},
{rvi,
[
{provisioning_key, "$PRIV_DIR/keys/self_provisioning_key.pem"},
{authorize_jwt, "$PRIV_DIR/keys/authorize.jwt"},
{cert_dir, "$DATA_DIR/certs"}
]}
]}
].
|