V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
Apache License 2.0
120
stars
67
forks
source link
Add volumes for Preemption geofence and TIM MAP xml #211
[ ] Anomaly report (something appears to not work correctly)
[ x ] Enhancement request (describe the enhancement being requested)
[ ] Other (please ensure the description clarifies why the issue doesn’t fall into either of the above categories)
Descriptive summary
Currently some plugins require certain configuration files like the geofence.json for PreemptionPlugin or the MAP.xml for the TIMPlugin. These should be added to docker-compose volumes to allow for editing from the host machine.
V2XHUB version where this issue was discovered
Expected behavior
Allow access to all used configuration files for plugins from the host machine via volumes.
Actual behavior
MAP.xml and geofence.json files are included in non default paths that are not contained in volumes so in order to get them to load we have to adjust the plugin configurations to point to them and/or place them in a volume to which the plugin configuration points.
Steps to reproduce the actual behavior
Start PreemptionPlugin with default configuration
Notice repeated file not found exceptions
Adjust PreemptionPlugin configuration to point to sample file under /home/V2X-Hub/src/v2i-hub/PreemptionPlugin/src/include/sample_geofence.json
Types of Issue
Descriptive summary
Currently some plugins require certain configuration files like the geofence.json for PreemptionPlugin or the MAP.xml for the TIMPlugin. These should be added to docker-compose volumes to allow for editing from the host machine.
V2XHUB version where this issue was discovered
Expected behavior
Allow access to all used configuration files for plugins from the host machine via volumes.
Actual behavior
MAP.xml and geofence.json files are included in non default paths that are not contained in volumes so in order to get them to load we have to adjust the plugin configurations to point to them and/or place them in a volume to which the plugin configuration points.
Steps to reproduce the actual behavior
/home/V2X-Hub/src/v2i-hub/PreemptionPlugin/src/include/sample_geofence.json
Related work