Release Notes / Version 10.2107
Table Of ContentsIf the commerce adapter wcs is shared between multiple environments (preview/live, for example), the configuration of storefront and asset URLs changed. If the commerce adapter wcs is running in mode for multiple environments, it expects an environment parameter from the connected client.
For example, Preview CAE:
commerce.hub.data.customEntityParams.environment = preview
For example, Live CAE:
commerce.hub.data.customEntityParams.environment = live
This environment value is then used on the adapter side to lookup the URL prefix for building storefront and asset URLs for the specific environments.
On the commerce adapter site there are additional environment specific configuration properties:
wcs.link.storefront-url-for.live= https://shop-hcl.coremedia.vm/webapp/wcs/stores/servlet
wcs.link.storefront-url-for.preview= https://shop-preview-hcl.coremedia.vm/webapp/wcs/preview/servlet
wcs.link.asset-url-for.live= https://shop-hcl.coremedia.vm
wcs.link.asset-url-for.preview= https://shop-preview-hcl.coremedia.vm
The former properties wcs.link.preview-storefront-url and wcs.link.preview-asset-url have been deprecated.
Note: You only need to make use of these environment specific configuration properties, if you share one commerce adapter instance for multiple environments.
(CMS-17092)