Class ProductConfigurationPassportServiceImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.cps.impl.ProductConfigurationPassportServiceImpl
-
- All Implemented Interfaces:
ProductConfigurationPassportService
public class ProductConfigurationPassportServiceImpl extends java.lang.Object implements ProductConfigurationPassportService
-
-
Constructor Summary
Constructors Constructor Description ProductConfigurationPassportServiceImpl(IntegrationServicesConfiguration integrationServicesConfiguration)Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringgenerate(java.lang.String actionId)Generates an SAP Passport based on the provided info.protected IntegrationServicesConfigurationgetIntegrationServicesConfiguration()protected byte[]getUuidAsBytes()java.lang.StringgetUuidAsString()
-
-
-
Constructor Detail
-
ProductConfigurationPassportServiceImpl
public ProductConfigurationPassportServiceImpl(IntegrationServicesConfiguration integrationServicesConfiguration)
Default Constructor. Expects all required dependencies as constructor args- Parameters:
integrationServicesConfiguration- Configuration of default passport attributes
-
-
Method Detail
-
generate
public java.lang.String generate(java.lang.String actionId)
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 IntegrationServicesConfiguration getIntegrationServicesConfiguration()
-
getUuidAsBytes
protected byte[] getUuidAsBytes()
-
getUuidAsString
public java.lang.String getUuidAsString()
-
-