This migration guide applies for 7.10.38.9-LTS and 7.10.32.17-LTS.
The signature of the class com.intershop.sellside.rest.configuration.v1.internal.mapper.common.ConfigurationROMapper
has changed. The class still extends the ExtensibleFunction class but its call parameters changed as follows:
// origin public class ConfigurationROMapper extends ExtensibleFunction<ApplicationBO, ConfigurationRO> // after rework public class ConfigurationROMapper extends ExtensibleFunction<ApplicationBO, MethodInvocationResult<ConfigurationRO>>
If there is a customized extension of the ConfigurationROMapper
, the signature of this class has to be adjusted:
// origin public class ConfigurationROExampleMapper implements FunctionExtension<ApplicationBO, ConfigurationRO> // after rework public class ConfigurationROExampleMapper implements FunctionExtension<ApplicationBO, MethodInvocationResult<ConfigurationRO>>
The type of the return value of the apply
method must also be adapted:
public class ConfigurationROExampleMapper implements FunctionExtension<ApplicationBO, MethodInvocationResult<ConfigurationRO>> { // origin @Override public ConfigurationRO apply(ApplicationBO source, ConfigurationRO target) // after rework @Override public MethodInvocationResult<ConfigurationRO> apply(ApplicationBO source, MethodInvocationResult<ConfigurationRO> target) }
At least the binding entry in the Guice module has to be adjusted regarding the new signature.