usdot-fhwa-OPS / V2X-Hub

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

Telematic bridge: Fix available topic return null value in topics field when there is no topic available #569

Closed dan-du-car closed 10 months ago

dan-du-car commented 10 months ago

PR Details

Description

Telematic bridge sends null topics when there is no topic available. The idea value for this topics is empty array value [] rather than a null value. This PR is to initialize the topics value with empty array

Related Issue

https://github.com/usdot-fhwa-OPS/V2X-Hub/issues/570

Motivation and Context

telematic testing

How Has This Been Tested?

Integration test

Types of changes

Checklist: