Release Notes / Version 10.2107
Table Of ContentsExtensibility of Commerce Hub Generic Client
The generic client can be extended by custom commerce beans, custom commerce services or a custom commerce connection implementation itself. For custom commerce beans, both a custom commerce bean type must be registered using
com.coremedia.livecontext.ecommerce.common.CommerceBeanTypeRegistry
and the custom commerce bean implementation class must be registered using
com.coremedia.blueprint.base.livecontext.client.beans.ClientCommerceBeanFactoryMethodRegistry
.
For custom commerce services and custom commerce connection implementations, the
com.coremedia.livecontext.ecommerce.common.ForVendor
is employed.
Tests demonstrating the extensibility reside in the blueprint module
lc.ecommerce-api-tests
.
(CMS-13885)
Added Livecontext Link Service API
The package
com.coremedia.livecontext.ecommerce.link
was added to the release artifact
com.coremedia.livecontext:lc-ecommerce-api
. It provides service interfaces
LinkService
and
PreviewUrlService
which are both obtained from the current
CommerceConnection
instance. These services are used by the Blueprint classes
com.coremedia.livecontext.fragment.links.CommerceLinkScheme
and
com.coremedia.livecontext.fragment.links.transformers.resolvers.CommerceLinkResolver
. They take precedence over the link building mechanism provided by the vendor-specific Livecontext CAE implementations.
(CMS-13261)