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.
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.