Loyalty Service Integration

Agent

Loyalty Service Integration Agent - 01280200007

General

The agent is used to call the Loyalty Service to receive calculated and saved points. Each transaction, which is assigned to a customer, has to be mapped to SaleReturnLineItem with FrequentShopperPointsEligibilityFlag.

Configuration

  • at global level: Configuration file security.properties
 ################################################################################
# Loyalty Service Integration Agent
 ################################################################################
# Webservice authentication type
 core.common.security.client.http.auth.group.loyaltyService.type=NONE
# Webservice authentication username
 core.common.security.client.http.auth.group.loyaltyService.BASIC.username=
# Webservice authentication encrypted password
 core.common.security.client.http.auth.group.loyaltyService.BASIC.password=
  • at global level: Configuration file loyalty-service-integration.properties
 ################################################################################
# Loyalty Service Integration Agent
 ################################################################################
# Property for enabling/disabling the agent
gkr.tx-business.loyaltyServiceIntegrationAgent.enabled=true
# Technical property controls retry behavior while pool is locked
 gkr.loyalty_service_integration.agent.poolLockedRetryCount=10
# Technical property controls retry behavior while pool is locked
 gkr.loyalty_service_integration.agent.poolLockedRetryPeriod=1s
# Type code of the loyalty customer
 gkr.loyalty_service_integration.agent.loyaltyCustomerAddressTypeCode=LC
  • at store level: Configuration file loyalty-service-integration.properties
 ################################################################################
# Loyalty Service Integration Agent
 ################################################################################
# Loyalty Service Integration webservice URL to call Loyalty Service for call save points
gkr.loyalty_service_integration.loyaltyApi.webservice.url=
# Timeout to establish TCP connection
 gkr.loyalty_service_integration.loyaltyApi.webservice.connectionTimeout=5s
# Timeout to get reponse from Loyalty Service
 gkr.loyalty_service_integration.webservice.loyaltyApi.receiveTimeout=5s
# Authentication client group code identifier,
 gkr.loyalty_service_integration.loyaltyApi.webservice.auth.group=loyaltyService
# Webservice URL to call Loyalty Service for call of calculate
 gkr.loyalty_service_integration.loyaltyOnePPS.webservice.url=
# Timeout to establish TCP connection
 gkr.loyalty_service_integration.loyaltyOnePPS.webservice.connectionTimeout=5s
# Timeout to get reponse from Loyalty Service
 gkr.loyalty_service_integration.loyaltyOnePPS.webservice.receiveTimeout=5s
# Authentication client group code identifier
 gkr.loyalty_service_integrationn.loyaltyOnePPS.webservice.auth.group=loyaltyService