Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The header in POS will show flight information and the number of passengers and the number of available quotas for alcohol and tobacco.

Image RemovedImage Added

Expand
titleConfiguration
POS Configuration

BoardingPassRegEx

Used to identify that boarding pass was scanned.

Can be set to "BoardingPass" when using fake component.


FakeComponents

WebDokService must be added to enable testing with fake data.

Example format that can be used to fake data for testing puposes:

BoardingPass-uid-numpax-alc-tob

uid = unique flight id

numpax = number of passengers/persons

alc = number of available alcohol quotas

tob = number of available tobacco quotas

Example: BoardingPass-12004693-1-1-1

The unique flight id must match a synchronized flight in POS database fetched from Avinor.


PosServicesWebdokServiceUri

URL to Webdok service in POS Services. 

Remember to disable FakeComponent when using actual service.


POS Services host configuration
  • Add WebdokService to EnabledServices
  • Add endpoint from template file
  • Parameter WebdokUri must be configured with address to external WebDok api

...