Class ProductConfigurationPassportServiceImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.cps.impl.ProductConfigurationPassportServiceImpl
- All Implemented Interfaces:
ProductConfigurationPassportService
public class ProductConfigurationPassportServiceImpl
extends Object
implements ProductConfigurationPassportService
-
Constructor Summary
ConstructorsConstructorDescriptionProductConfigurationPassportServiceImpl(de.hybris.platform.integrationservices.config.IntegrationServicesConfiguration integrationServicesConfiguration) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGenerates an SAP Passport based on the provided info.protected de.hybris.platform.integrationservices.config.IntegrationServicesConfigurationprotected byte[]
-
Constructor Details
-
ProductConfigurationPassportServiceImpl
public ProductConfigurationPassportServiceImpl(de.hybris.platform.integrationservices.config.IntegrationServicesConfiguration integrationServicesConfiguration) Default Constructor. Expects all required dependencies as constructor args- Parameters:
integrationServicesConfiguration- Configuration of default passport attributes
-
-
Method Details
-
generate
Description copied from interface:ProductConfigurationPassportServiceGenerates an SAP Passport based on the provided info.- Specified by:
generatein interfaceProductConfigurationPassportService- Parameters:
actionId- Will be set as action in SAP passport. In our case, we specify the type of the microservice call (e.g.CharonFacadeImpl.PASSPORT_GET_CONFIGorCharonFacadeImpl.PASSPORT_UPDATE_CONFIG- Returns:
- The passport as String
-
getIntegrationServicesConfiguration
protected de.hybris.platform.integrationservices.config.IntegrationServicesConfiguration getIntegrationServicesConfiguration() -
getUuidAsBytes
protected byte[] getUuidAsBytes() -
getUuidAsString
-