Project

General

Profile

Actions

Epic #2

closed

CMS - Feature #1: AIS Integration

Receiving/Decoding NMEA messages + Creating/Updating/Publishing AIS Messages and AIS Tracks

Added by Fernando Jose Capeletto Neto over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Start date:
03/28/2023
Due date:
04/04/2023
% Done:

100%

Estimated time:
(Total: 72:00 h)
Spent time:
(Total: 32:00 h)

Description

TrackHandler shall be able to consume NMEA messages published from Kafka Topic, decode those messages and create AIS Tracks according to each AIS message type.
Those tracks shall be persisted in the TrackHandler database.
TrackHandler shall publish TrackHandlerMessages to CMS through Kafka, informing the reception/decoding of those NMEA messages and about each AIS Track creation.
The following messages shall be published:
  • One message to the SYSTEM_ALERT_TOPIC informing how many NMEA messages were received.
  • One message to the SYSTEM_ALERT_TOPIC informing how many AIS Tracks were created.
  • <N> messages to the SYSTEM_ALERT_TOPIC informing the MMSI and the AIS Message type processed.
  • <N> messages to the AISMESSAGE_TOPIC containing the attributes from each of <N> AIS Messages received.

When receiving an AIS Message for a given AISTrack, two situations can occur:

  • A new one will be created if the AISTrack has not existed.
  • If the AISTrack already were in the system, for each AISTrack message received, the respective AIS Track attributes contained in that message will be updated. (The message type attribute will represent, therefore, the type of the last AIS message received for that AISTrack)
  • When an AISTrack is created (or receives an update), a message will be published to AISMESSAGE_TOPIC containing a pair of :
    • The updated AISTrack representing the current composition (data-merged) from the different AIS Messages received for that AISTrack so far.
    • A list of all AISTrackMessages received for that AISTrack.
Epic Branch
https://gitlab.com/fernando.engineer/cms/TrackHandler/-/tree/20230328_systemalerttopic_aismessages

Subtasks 4 (0 open4 closed)

Task #3: Publish messages to TACTICAL_ALERT_TOPIC when receiving/processing NMEA messages during AIS Track creation.ClosedFernando Jose Capeletto Neto03/28/202304/04/2023

Actions
Task #6: Publish messages to AISMessage_TOPIC for each new singular AISMessage received.ClosedFernando Jose Capeletto Neto03/28/202304/04/2023

Actions
Task #9: Publish messages to AISTrack_TOPIC for each time a AISTrack is updated containing the updated AISTrack and a list with its AISTrack messagesClosedFernando Jose Capeletto Neto03/28/202304/04/2023

Actions
Task #25: AISTracks initializing on client conection.ClosedFernando Jose Capeletto Neto03/31/202304/04/2023

Actions
Actions

Also available in: Atom PDF