Related Documents
Document Properties
Kbid
302N63
Last Modified
03-Jun-2022
Added to KB
05-Apr-2022
Public Access
Everyone
Status
Online
Doc Type
Guidelines, Concepts & Cookbooks
Product
ICM 7.10

Guide - 7.10.38.9 Rest API ProductHandler Rework

Table of Contents


Product Version

7.10.38

Product To Version


Status

1 Introduction

To improve the performance and maintainability of the product Rest API, the ProductHandler got a new java-based implementation. Therefore, some customizations of the former pipeline-based implementation may not work anymore.

2 Changes

The following artifacts are (partially) not used anymore:

  • ProductHandlerImpl defined by app_sf_rest:implementations.component
  • ProcessSearchREST.pipeline of cartridge app_sf_rest
  • ProcessCatalogREST.pipeline of cartridge app_sf_rest

If there are any customizations related to these files, it is possible to still use the ProductHandlerImpl via the component framework. However, this is not recommend, because the ProductHandlerImpl is deprecated and will be removed in the near future.

The new implementation of the ProductHandler is called ProductSearchHandlerImpl. It will handle both search index and query based searches for products. Therefore, two new Interfaces were added:

  • com.intershop.sellside.rest.common.capi.resource.product.search.SearchIndexBasedProductSearch 
  • com.intershop.sellside.rest.common.capi.resource.product.search.QueryBasedProductSearch

They both are implemented by default with our query and search index based product search and bound via Google Guice. If customizations are existent in ProcessSearchREST or ProcessCatalogREST, own implementation of these interfaces are possible.




Disclaimer

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.

Customer Support
Knowledge Base
Product Resources
Tickets