summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorMagnus Feuer <mfeuer@jaguarlandrover.com>2016-02-25 10:42:21 -0800
committerMagnus Feuer <mfeuer@jaguarlandrover.com>2016-02-25 10:42:21 -0800
commitbc8288c01f7a8355bd63b4f1114424df09929f7c (patch)
tree665040a2abc572edc6dba981638262c8e0a1dcb8 /priv
parent2f1e8827b1b15c8a1300348e8d2460f8da7e0a28 (diff)
downloadrvi_core-bc8288c01f7a8355bd63b4f1114424df09929f7c.tar.gz
Fixed config file issue. Scripts that generate device_id still need to be updated to provide entire prefix (genivi.org/node/[uuid]) in file instead of only [uuid].
Diffstat (limited to 'priv')
-rw-r--r--priv/config/rvi_backend.config2
-rw-r--r--priv/config/rvi_sample.config2
-rw-r--r--priv/config/rvi_ubuntu.config3
-rw-r--r--priv/config/rvi_yocto.config2
4 files changed, 5 insertions, 4 deletions
diff --git a/priv/config/rvi_backend.config b/priv/config/rvi_backend.config
index 4d8a576..8e5ec37 100644
--- a/priv/config/rvi_backend.config
+++ b/priv/config/rvi_backend.config
@@ -44,7 +44,7 @@ LogLevel = Env("RVI_LOGLEVEL", notice).
[
{ node_address, IPPort(MyIP, MyPort+7) },
- { node_service_prefix, "jlr.com/backend"},
+ { node_service_prefix, "genivi.org/backend"},
{ routing_rules,
[
diff --git a/priv/config/rvi_sample.config b/priv/config/rvi_sample.config
index a178c2d..3f957ba 100644
--- a/priv/config/rvi_sample.config
+++ b/priv/config/rvi_sample.config
@@ -143,7 +143,7 @@ LogLevel = Env("RVI_LOGLEVEL", notice).
%% value unless all services add a system-wide unique name
%% to it.
%%
- { node_service_prefix, "jlr.com/vin/$rvi_uuid(default_vin)/"},
+ { node_service_prefix, "genivi.org/node/$rvi_uuid(default_id)/"},
%% Routing rules determine how to get a message targeting a specific
diff --git a/priv/config/rvi_ubuntu.config b/priv/config/rvi_ubuntu.config
index 57ffd37..dcc3a8b 100644
--- a/priv/config/rvi_ubuntu.config
+++ b/priv/config/rvi_ubuntu.config
@@ -145,7 +145,8 @@ LogLevel = Env("RVI_LOGLEVEL", notice).
%% value unless all services add a system-wide unique name
%% to it.
%%
- { node_service_prefix, "jlr.com/vin/$rvi_uuid(default_vin)/"},
+ { node_service_prefix, "$rvi_file(/etc/rvi/device_id,genivi.org/node/default_id)/"},
+
%% Routing rules determine how to get a message targeting a specific
diff --git a/priv/config/rvi_yocto.config b/priv/config/rvi_yocto.config
index 6e7863a..93e8f92 100644
--- a/priv/config/rvi_yocto.config
+++ b/priv/config/rvi_yocto.config
@@ -151,7 +151,7 @@ LogLevel = Env("RVI_LOGLEVEL", notice).
%% value unless all services add a system-wide unique name
%% to it.
%%
- { node_service_prefix, "jlr.com/vin/$rvi_uuid(default_vin)/"},
+ { node_service_prefix, "$rvi_file(/etc/opt/rvi/device_id,genivi.org/node/default_id)/"},
%% Routing rules determine how to get a message targeting a specific