CoreMedia Content Cloud v11 Upgrade Guide / Version 2110
Table Of ContentsIn CoreMedia Content Cloud v11, only Commerce Adapters with version 2.x.x are supported. Beside the Search API changes described in Section 6.11.7, “Removal of Legacy Commerce Search Facet API and Demo Content” these additional API changes in Commerce Hub were also made to resolve deprecations.
The following changes are only relevant if you have either customized or implemented a project-specific commerce adapter.
The
catalogIdwas removed fromInvalidationbecause invalidations do not depend on the catalog.The unused fields
ContractIdsandSegmentIdswere removed fromEntityParam.The
Priceconstructor was removed. Use the builder instead.Information about service features can be gathered via gRPC server reflection. Its
Featureimplementation has been removed.The deprecated
ConnectorApplicationwas removed.com.coremedia.commerce.adapter.base.api.Messageswas moved tocom.coremedia.commerce.adapter.base.entities.Messages.com.coremedia.commerce.adapter.base.v2.Messageswas removed. The utility methods of this class were moved tocom.coremedia.commerce.adapter.base.entities.Entities.The Commerce Hub API for preview URLs has been removed from
com.coremedia.commerce.adapter.base.repositories.LinkRepository. Now preview URLs are generated the same way as all other commerce related links via link templates and dynamic replacement values. If you run your own commerce adapter implementation or if you do have customizations regarding link generation for Studio preview, you may have to update your LinkRepository implementation.com.coremedia.commerce.adapter.base.repositories.LinkRepositorydoes not provide dedicated methods for preview URLs anymore. Instead all links are handled viacom.coremedia.commerce.adapter.base.repositories.LinkRepository#getLinkTemplatesfrom now on. A set of preview specific StorefrontRefKeys has been added (seecom.coremedia.commerce.adapter.base.entities.links.StorefrontRefKeysPreview). The LinkRepository needs to provide these link templates in order to support the preview feature in CoreMedia Studio Highly dynamic preview specific url tokens are handled viacom.coremedia.commerce.adapter.base.repositories.LinkRepository#getLinkVariablesForRequestfrom now on.On the CMS side the
com.coremedia.livecontext.ecommerce.link.PreviewUrlServicehas been deleted and there are changes in thecom.coremedia.livecontext.fragment.links.CommerceStudioLinks.If you didn't do any customization regarding URLs for Studio preview, nothing needs to be changed on your side.


