Self-Scanning Frontend Service

Remote Services Settings

System level configurations to set up the use of remote services.

Master Data

Table 1. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.master-data Settings for the connection to the service providing master data information
url String This parameter defines the URL to the service http://sdc:8080/sdc
authentication.authType String This parameter defines the authentication type BASIC
authentication.username String This parameter defines the authentication username ssfs
authentication.password String This parameter defines the authentication password

Loyalty Service

Table 2. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.loyalty-service Settings for the connection to the service providing loyalty service
url String This parameter defines the URL to the service ${gkcloud.base.url}/api/loyalty-service
authentication.authType String This parameter defines the authentication type OAUTH2
clientRegistrationId String This parameter defines the client registration ID gkcloud

Digital Distribution Service

Table 3. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.loyalty-service Settings for the connection to the service providing digital distribution service
url String This parameter defines the URL to the service ${gkcloud.base.url}/api/digital-distribution-service
authentication.authType String This parameter defines the authentication type OAUTH2
clientRegistrationId String This parameter defines the client registration ID gkcloud

Coupon Service

Table 4. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.coupon-service Settings for the connection to the service providing coupon service
url String This parameter defines the URL to the service ${gkcloud.base.url}/api/coupon-service
authentication.authType String This parameter defines the authentication type OAUTH2
clientRegistrationId String This parameter defines the client registration ID gkcloud

Gate Service

Table 5. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.gate-service Settings for the connection to the service providing gate service
url String This parameter defines the URL to the service http://gate-service:8080/gate-service
authentication.authType String This parameter defines the authentication type BASIC
authentication.username String This parameter defines the authentication username ssfs
authentication.password String This parameter defines the authentication password

Customer Profile Service

Table 6. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.customer-profile-service Settings for the connection to the service providing customer profile service
url String This parameter defines the URL to the service http://customer-profile-service:8080/customer-profile-service
prefix String This parameter defines the prefix /customer-profile/v1/
authentication.authType String This parameter defines the authentication type BASIC
authentication.username String This parameter defines the authentication username scanless-frontend-service
authentication.password String This parameter defines the authentication password

Basket Service

Table 7. application.properties
Property Data Type, Range Description Default
ssfs.remote-services.basket-service Settings for the connection to the service providing basket service
url String This parameter defines the URL to the service http://basket-service:8080/basket-service
prefix String This parameter defines the prefix /services/rest/basket/v1/
authentication.authType String This parameter defines the authentication type BASIC
authentication.username String This parameter defines the authentication username scanless-frontend-service
authentication.password String This parameter defines the authentication password

Caching

System level configurations to set up retention times and the behavior of the service's cache.

Table 8. application.properties
Name Data Type, Range Description Default
caching.cachingEnabled Boolean Enables caching for the Self Scanning Service true
caching.cache Individual cache configs (per tenant)Add caching.cache.<cacheName>.<configName> to the properties
  • cacheName - target cache name used in the application
  • configName - specific config
  • expiration - cache item expiration after write, time value (e.g. 1d, 4h, 90m...), required
  • capacity - how many items can be cached
BusinessUnit.expiration String Cache BusinessUnit; used for example in Start-of-Trip and End-of-Trip 4h
BusinessUnit.capacity Integer Cache BusinessUnit; used for example in Start-of-Trip and End-of-Trip 10000