Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (26 loc) · 1.14 KB

SFERA Mock

Introduction

  • solace
  • generates SFERA model out of sfera_*.xsd
  • for SFERA e2e tests of mobile app

Getting-Started

Run on localhost

  1. Add environment variables (according to application.yaml and specify concrete values
    • either by run configuration
    • or an .env file
  2. Run SferaMockApplication

Scenarios

  • Recipient: 0085
  • drivingMode: Read-Only
  • architecture: BoardAdviceCalculation
  • connectivity: Connected

see journeys static_sfera_resources

Add new Scenario

To create a new scenario some resources need to be added

  1. add a new directory named <train number>_<optional comment> in static_sfera_resources
  2. add a journey profile named SFERA_JP_<train number> to the directory
    1. to achieve dynamic timestamps you can use the following pattern
      • 9999-01-01-HH-MM-SSZ for positive offsets
      • 0001-01-01-HH-MM-SSZ for negative offsets
  3. add corresponding segment profiles named SFERA_SP_<train number>_<sp id> to the directory
  4. for events add SFERA_Event_<train number>_<time after registration in ms>