This ais-simulator is developed in context of the DMA near-miss project.
The Purpose of the component is to expose AIS test data to the pilot-plug-simulator.
The software is built as part of the parent maven build. To build this maven module separately just run mvn package
or similar.
When running the build use the SpringBoot default profile (application.properties) for standalone execution of the tests.
The component has been designed to run in development mode (locally or within development environment). Or in a Docker packaged mode.
Running development mode use the profile dev
Running in Docker use the profile docker
Refer to the Dockerfile to see how to run.
The ais-simulator has several configurations.
Refer to the AisDataReaderConfiguration.java class.
Also refer to the configurtion files:
This module does need AisLib to have been cloned from GitHub and built locally.
<dependency> <groupId>dk.dma.ais.lib</groupId> <artifactId>ais-lib-communication</artifactId> <version>2.4-SNAPSHOT</version> </dependency>
Back to near-miss parent module.