uniclogs / yamcs

Yamcs-based mission control software for UniClOGS
GNU Affero General Public License v3.0
1 stars 3 forks source link

Proposed SatnogsTransferService to perform deduplication on Satnogs Telemetry API Result Field #62

Open mattahmad opened 1 month ago

mattahmad commented 1 month ago

This feature includes a new service called SatnogsTransferService which checks if data received from the Satnogs Telementry API result field is unique before sending the data as telemetry.

The following is a high level list of files which were changed:

pom.xml: jackson dependencies added to support parsing of results field from API response. Dependency jars are available at https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core/2.15.2 https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations/2.15.2 https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.15.2

SatnogsTmLink.java: Performs GET request from Satnogs Telemetry API, parses results field and calls getDeduplication in Satnogs TransferService.

SatnogsTransferService.java: Service file similar to UniclogsEnvironment which also contains a getDeduplication method to check for unique data.

SatnogsCommandPostprocessor.java was added similar to EdlCommandPostprocessor in case the Satnogs Telemetry need a way of pushing the data. This file can always be removed if it is not needed or updated as needed.

SatnogsPacket.java was added similar to EDLPacket.

SatnogsPacketPreprocessor.java was added similar to EdlPacketPreprocessor.

processor.yml, yamcs.oresat0.yaml, oresat.xml: Satnogs service configs were updated in files.