Skip to content

Do not use default VIN#61

Merged
eriksven merged 2 commits intoeclipse-sdv-blueprints:mainfrom
etas-contrib:improve_docker_compose_files
Apr 29, 2025
Merged

Do not use default VIN#61
eriksven merged 2 commits intoeclipse-sdv-blueprints:mainfrom
etas-contrib:improve_docker_compose_files

Conversation

@sophokles73
Copy link
Contributor

The default VIN had been used when the Databroker did not contain a
VIN (yet). This was often the case when the CSV provider did not
report the VIN to the Databroker soon after startup but only later.

This had the unwanted effect of two VINs showing up in the influxDB,
the default VIN and (later) the real VIN as reported by the CSV
provider.

The FMS Forwarder has been changed to ignore data sets from the
Databroker unless it contains a VIN.

The default VIN had been used when the Databroker did not contain a
VIN (yet). This was often the case when the CSV provider did not
report the VIN to the Databroker soon after startup but only later.

This had the unwanted effect of two VINs showing up in the influxDB,
the default VIN and (later) the real VIN as reported by the CSV
provider.

The FMS Forwarder has been changed to ignore data sets from the
Databroker unless it contains a VIN.
@sophokles73 sophokles73 requested a review from eriksven April 22, 2025 12:18
fms-forwarder:
command: "zenoh -c /zenoh-config.json5"
depends_on:
influxdb:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove this condition? Because if the database is not present there is no need to have the forwarder running.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, in a real-world deployment the forwarder would not know directly about the state of the database in the backend either.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was my thinking as well ...

@eriksven eriksven merged commit 547e659 into eclipse-sdv-blueprints:main Apr 29, 2025
3 checks passed
@eriksven
Copy link
Contributor

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments