diff options
author | Magnus <mfeuer@jaguarlandrover.com> | 2014-08-05 16:45:50 -0700 |
---|---|---|
committer | Magnus <mfeuer@jaguarlandrover.com> | 2014-08-05 16:45:50 -0700 |
commit | fc512f4ba76358b435b463e6643e7f75a77d833b (patch) | |
tree | 83d8d0dc6f0e4b4d6e1669b0b47c32d5f5fdefa6 /priv | |
parent | ba6ddf769ed54e945ee9dc8622149e199f29486f (diff) | |
download | rvi_core-fc512f4ba76358b435b463e6643e7f75a77d833b.tar.gz |
Modified scripts to remove rpc: prefix and other things.
Signed-off-by: Magnus <mfeuer@jaguarlandrover.com>
Diffstat (limited to 'priv')
-rw-r--r-- | priv/setup_backend.config | 20 | ||||
-rw-r--r-- | priv/setup_device.config | 22 |
2 files changed, 19 insertions, 23 deletions
diff --git a/priv/setup_backend.config b/priv/setup_backend.config index 596244d..cb6c96f 100644 --- a/priv/setup_backend.config +++ b/priv/setup_backend.config @@ -24,8 +24,8 @@ service_discovery, authorize, schedule, - data_link_backend, - {data_link_device, load}, %% Load, but do not start. + {data_link_backend, load}, %% Load, but do not start. + data_link_device, protocol ]}, %% @@ -42,10 +42,10 @@ {rvi, [ - { node_address, "localhost:9990" }, %% Should match bert_rpc_server below + { node_address, "127.0.0.1:9990" }, %% Should match bert_rpc_server below { node_service_prefix, "jlr.com/backend/"}, - { backend_address, "localhost:9990" }, + { backend_address, "127.0.0.1:9990" }, { backend_service_prefix, "jlr.com/backend/" }, %% Fire up a bert rpcserver for the backend data link module. @@ -53,27 +53,27 @@ { components, [ { service_edge, - [ { url, "http://localhost:8801" }, + [ { url, "http://127.0.0.1:8801" }, { exo_http_opts, [ { port, 8801 } ] } ] }, { service_discovery, - [ { url, "http://localhost:8802" }, + [ { url, "http://127.0.0.1:8802" }, { exo_http_opts, [ { port, 8802 } ] } ] }, { schedule, - [ { url, "http://localhost:8803" }, + [ { url, "http://127.0.0.1:8803" }, { exo_http_opts, [ { port, 8803 } ] } ] }, { authorize, - [ { url, "http://localhost:8804" }, + [ { url, "http://127.0.0.1:8804" }, { exo_http_opts, [ { port, 8804 } ] } ] }, { protocol, - [ { url, "http://localhost:8805" }, + [ { url, "http://127.0.0.1:8805" }, { exo_http_opts, [ { port, 8805 } ] } ] }, @@ -83,7 +83,7 @@ %% the port specified for node_address, which is used by %% remote nodes to address this node. { bert_rpc_server, [ { port, 9990 }]}, - { url, "http://localhost:8806" }, + { url, "http://127.0.0.1:8806" }, { exo_http_opts, [ { port, 8806 } ] } ] diff --git a/priv/setup_device.config b/priv/setup_device.config index 3ef6bcb..3ef2770 100644 --- a/priv/setup_device.config +++ b/priv/setup_device.config @@ -44,46 +44,42 @@ {rvi, [ - { node_address, "localhost:9991" }, %% Should matcch bert_rpc_server below + { node_address, "127.0.0.1:9991" }, %% Should matcch bert_rpc_server below { node_service_prefix, "jlr.com/vin/1234/"}, - { backend_address, "localhost:9990" }, + { backend_address, "127.0.0.1:9990" }, %% See data_link_device:send_data() for details { backend_service_prefix, "jlr.com/backend/" }, { components, [ { service_edge, - [ { url, "http://localhost:8811" }, + [ { url, "http://127.0.0.1:8811" }, { exo_http_opts, [ { port, 8811 } ] } ] }, { service_discovery, - [ { url, "http://localhost:8812" }, + [ { url, "http://127.0.0.1:8812" }, { exo_http_opts, [ { port, 8812 } ] } ] }, { schedule, - [ { url, "http://localhost:8813" }, + [ { url, "http://127.0.0.1:8813" }, { exo_http_opts, [ { port, 8813 } ] } ] }, { authorize, - [ { url, "http://localhost:8814" }, + [ { url, "http://127.0.0.1:8814" }, { exo_http_opts, [ { port, 8814 } ] } ] }, { protocol, - [ { url, "http://localhost:8815" }, + [ { url, "http://127.0.0.1:8815" }, { exo_http_opts, [ { port, 8815 } ] } ] }, { data_link, - [ { url, "http://localhost:8816" }, - %% Listen to port 9991 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, 9991 }]}, - + [ { url, "http://127.0.0.1:8816" }, + { bert_rpc_server, [ {port, 9991 }]}, { exo_http_opts, [ { port, 8816 } ] } ] } |