Skip to content

Commit

Permalink
update components to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioIvancik committed Oct 18, 2024
1 parent 98a471d commit 1de301a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 19 deletions.
44 changes: 29 additions & 15 deletions configuration/external-server/config.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,51 @@
{
"logging": {
"log-path": "/home/bringauto/log/",
"verbose": true
},
"company_name": "bringauto",
"car_name": "virtual_vehicle",
"mqtt_address": "172.17.0.1",
"mqtt_port": 1883,
"mqtt_timeout": 20,
"timeout": 20,
"send_invalid_command": false,
"sleep_duration_after_connection_refused": 0.5,
"log_files_directory": "/home/bringauto/log",
"log_files_to_keep": 5,
"log_file_max_size_bytes": 50000000,
"modules": {
"common_modules": {
"1": {
"lib_path": "/home/bringauto/modules/mission_module/lib/libmission-external-server-shared.so",
"config": {
"api_url": "http://http-api:8080/v2/protocol",
"api_key": "ProtocolStaticAccessKey",
"max_requests_threshold_count": "5",
"max_requests_threshold_period_ms": "1000",
"delay_after_threshold_reached_ms": "500",
"retry_requests_delay_ms": "220"
"api_url": "http://http-api:8080/v2/protocol",
"api_key": "ProtocolStaticAccessKey",
"max_requests_threshold_count": "10",
"max_requests_threshold_period_ms": "5000",
"delay_after_threshold_reached_ms": "5000",
"retry_requests_delay_ms": "200"
}
},
"2": {
"lib_path": "/home/bringauto/modules/io_module/lib/libio-external-server-shared.so",
"config": {
"api_url": "http://http-api:8080/v2/protocol",
"api_key": "ProtocolStaticAccessKey",
"max_requests_threshold_count": "5",
"max_requests_threshold_period_ms": "1000",
"delay_after_threshold_reached_ms": "500",
"retry_requests_delay_ms": "220"
"max_requests_threshold_count": "10",
"max_requests_threshold_period_ms": "5000",
"delay_after_threshold_reached_ms": "5000",
"retry_requests_delay_ms": "200"
}
},
"3": {
"lib_path": "/home/bringauto/modules/transparent_module/lib/libtransparent-external-server-shared.so",
"config": {
"api_url": "http://http-api:8080/v2/protocol",
"api_key": "ProtocolStaticAccessKey",
"max_requests_threshold_count": "10",
"max_requests_threshold_period_ms": "5000",
"delay_after_threshold_reached_ms": "5000",
"retry_requests_delay_ms": "200"
}
}
},
"cars": {
"virtual_vehicle": {}
}
}
3 changes: 2 additions & 1 deletion configuration/module-gateway/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"module-paths": {
"1": "/home/bringauto/modules/mission_module/lib/libmission-module-gateway-shared.so",
"2": "/home/bringauto/modules/io_module/lib/libio-module-gateway-shared.so"
"2": "/home/bringauto/modules/io_module/lib/libio-module-gateway-shared.so",
"3": "/home/bringauto/modules/transparent_module/lib/libtransparent-module-gateway-shared.so"
},
"external-connection" : {
"company" : "bringauto",
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
virtual-vehicle:
image: bringauto/virtual-vehicle:v3.2.0
image: bringauto/virtual-vehicle:v3.2.1
profiles: ["all", "without-module-gateway", "without-external-server", "core", "virtual-vehicle", "without-fleet-management"]
volumes:
- ./docker_volumes/virtual-vehicle-utility:/virtual-vehicle-utility/log
Expand Down Expand Up @@ -31,7 +31,7 @@ services:
condition: service_completed_successfully

module-gateway:
image: bringauto/module-gateway:v1.2.0
image: bringauto/module-gateway:v1.2.1
profiles: ["all", "without-devices", "without-external-server", "module-gateway", "core", "without-fleet-management"]
volumes:
- ./docker_volumes/module-gateway:/home/bringauto/log/
Expand Down Expand Up @@ -65,7 +65,7 @@ services:
condition: service_completed_successfully

external-server:
image: bringauto/external-server:v1.1.14
image: bringauto/external-server:v2.0.0
profiles: ["all", "without-devices", "without-module-gateway", "without-fleet-management", "external_server", "cloud"]
volumes:
- ./docker_volumes/external-server:/home/bringauto/log
Expand Down

0 comments on commit 1de301a

Please sign in to comment.