summaryrefslogtreecommitdiff
path: root/priv/backend.config
diff options
context:
space:
mode:
Diffstat (limited to 'priv/backend.config')
-rw-r--r--priv/backend.config41
1 files changed, 24 insertions, 17 deletions
diff --git a/priv/backend.config b/priv/backend.config
index 4161cfb..e5c6681 100644
--- a/priv/backend.config
+++ b/priv/backend.config
@@ -1,8 +1,20 @@
%% -*- 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 file for the (in-vehicle) IVI used by the hvac_demo
+%% See ../hvac_demo/README.md for detai;s
+%%
+
+%% -----------------------------------------------
+%% See ivi.config file for documentation and hints
+%% -----------------------------------------------
+
[
- %% Put include first, making it possible to override any defaults below
- %%
- %% Add our own app(s)
{apps,
[kernel,
stdlib,
@@ -27,27 +39,25 @@
data_link_bert_rpc,
protocol ]},
- %%
- %% Custom environment settings
- %%
{env,
[
{lager,
[ { handlers,
- [{lager_console_backend, debug}]
+ [{lager_console_backend, notice}]
}
]
},
{rvi,
[
- { node_address, "127.0.0.1:9990" }, %% Should match bert_rpc_server below
+ { node_address, "127.0.0.1:8807" },
{ node_service_prefix, "jlr.com/backend/"},
- { backend_address, "127.0.0.1:9990" },
- { backend_service_prefix, "jlr.com/backend/" },
-
- %% Fire up a bert rpcserver for the backend data link module.
+ { static_nodes,
+ [
+ %% We are the backend server. No need.
+ ]
+ },
{ components,
[
@@ -78,12 +88,9 @@
},
{ data_link,
[
- %% Listen to port 9990 for incoming calls. Must match
- %% the port specified for node_address, which is used by
- %% remote nodes to address this node.
- { bert_rpc_server, [ { port, 9990 }]},
{ url, "http://127.0.0.1:8806" },
- { exo_http_opts, [ { port, 8806 } ] }
+ { exo_http_opts, [ { port, 8806 } ] },
+ { bert_rpc_server, [ { port, 8807 }]}
]
}