Note
This app is for testing and demo purpose only
This application mocks TMS-VAD resp. fakes MQTT and waits for SFERA request topics (like train-number) to be received from another source (like DAS-Client, DAS-Playground).
Capabilities:
- solace
- generates SFERA model out of
sfera_*.xsd - for SFERA e2e tests of DAS-Client (mobile App)
- Add environment variables (according to application.yaml and specify concrete values
- by an .env file (adapt
SFERA_CUSTOM_TOPIC_PREFIXto your local preferred name) - (or by run configuration)
- by an .env file (adapt
- Add certificate-file to src/main/resources according to .env SOLACE_KEY_STORE_PATH
- Add localregulations.json to src/main/resources
- Run
SferaMockApplication
- Recipient: 0085
- drivingMode: Read-Only
- architecture: BoardAdviceCalculation
- connectivity: Connected
see journeys static_sfera_resources
To create a new scenario some resources need to be added
- add a new directory named
<train number>_<optional comment>insrc/main/resources/static_sfera_resources - add a journey profile named
SFERA_JP_<train number>to the directory- to achieve dynamic timestamps you can use the following pattern
9999-01-01-HH-MM-SSZfor positive offsets0001-01-01-HH-MM-SSZfor negative offsets
- to achieve dynamic timestamps you can use the following pattern
- add corresponding segment profiles named
SFERA_SP_<train number>_<sp id>to the directory - for events add
SFERA_Event_<train number>_<time after registration in ms>