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
123 stars 69 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 12 months ago

dan-du-car commented 12 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: