diff options
Diffstat (limited to 'rvi_backend.config')
-rw-r--r-- | rvi_backend.config | 150 |
1 files changed, 0 insertions, 150 deletions
diff --git a/rvi_backend.config b/rvi_backend.config deleted file mode 100644 index 1bbf72f..0000000 --- a/rvi_backend.config +++ /dev/null @@ -1,150 +0,0 @@ -%% -*- 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 vehicle.config file for documentation and hints -%% ----------------------------------------------- - -[ - {apps, - [kernel, - stdlib, - sasl, - {setup, load}, - syntax_tools, - lager, - crypto, - public_key, - exo, - compiler, - ssl, - asn1, - - rvi, - rvi_common, - service_discovery, - service_edge, - authorize, - schedule, - dlink_tcp, - proto_bert, - proto_json - ]}, - - {env, - [ - {lager, - [ { handlers, - [{lager_console_backend, debug}] - } - ] - }, - - {rvi, - [ - { node_address, "38.129.64.31:8807" }, - { node_service_prefix, "jlr.com/backend/"}, - - - { routing_rules, - [ - %% Make sure to have a default if you don't want your message - %% to error out immediately. With a default the message will - %% be queued until it times out, waiting for a remote node - %% to connect and announce that it can handle the targeted service. - { "", - [ - { proto_bert_rpc, dlink_tcp_rpc} - ] - } - ] - }, - - { components, - [ - { service_edge, - %% This is the URL that local services use to connect to - %% the RVI system. It is also used by - %% the other components below to send inter-compoonent - %% JSON-RPC calls to the service edge. - %% - %% For this component url and exo_http_opts should always be specified - %% so that local services have a HTTP port to connect to. - %% - %% gen_server can also be specified to enable faster, native erlang - %% inter compojnent communication. - %% - %% The host and address given in URL should route to the port given - %% in exo_http_opts below. - %% - %% The web socket integrates with the rvi.js javascript code - %% that connects Tizen IVI to the RVI system. - [ { service_edge_rpc, gen_server, - [ - { json_rpc_address, { "127.0.0.1", 8801 } }, - { websocket, [ { port, 8808}]} - ] - } - ] - }, - { service_discovery, - [ { service_discovery_rpc, gen_server, - [ - { json_rpc_address, { "127.0.0.1", 8802 }} - ] - } - ] - }, - { schedule, - [ { schedule_rpc, json_rpc, - [ - { json_rpc_address, { "127.0.0.1", 8803 }} - ] - } - ] - }, - { authorize, - [ { authorize_rpc, gen_server, - [ - { json_rpc_address, { "127.0.0.1", 8804 } } - ] - } - ] - }, - { protocol, - [ { proto_bert_rpc, gen_server, - [ - { json_rpc_address, { "127.0.0.1", 8805 } } - ] - } - ] - }, - { data_link, - [ { dlink_tcp_rpc, gen_server, - [ - { json_rpc_address, { "127.0.0.1", 8806 } }, - %% Bert_rpc server specifies the port we should - %% listen to for incoming connections - %% from other rvi nodes. - %% A specific NIC address can also be specified - %% through the {ip, "192.168.0.1" } tuple. - { server_opts, [ { port, 8807 }]} - ] - } - ] - } - ] - } - ]} -]} - -]. |