Connector for SAP Commerce Cloud Manual / Version 2406.0
Table Of Contents
cache.capacities
| |
Type |
Map<String,Long>
|
Description |
Number of cache entries per cache class until cache eviction takes place. The keys must match the cache classes as defined by the cache keys. Please refer to javadoc of com.coremedia.cache.CacheKey. |
cache.timeout-seconds
| |
Type |
Map<String,Long>
|
Description |
TTL in seconds until certain cache entries are invalidated. |
entities.circuit-breaker-names
| |
Type |
Map<String,String>
|
Description |
Mapping of data lookup keys (cache classes) to circuit breaker names. Mapping to 'none' disables circuit breakers for the mapped data lookup keys. Example: Mapping 'product' to 'products' will use a separate circuit breaker named 'products' for product calls. The new circuit breaker can have its own configuration via 'resilience4j.circuitbreaker.configs.products'. Mapping 'product' to 'none' will disable the circuit breaker for product requests. |
entities.default-circuit-breaker-name
| |
Type |
String
|
Default | base |
Description |
The default breaker name. |
entities.disable-circuit-breakers
| |
Type |
Boolean
|
Default | false |
Description |
Disable circuit breakers and cache failed calls in cache class failed. |
entities.exponential-backoff.factor
| |
Type |
Double
|
Default | 1.5 |
Description |
The factor to be applied to the delay to compute the next delay. |
entities.exponential-backoff.initial-delay
| |
Type |
Duration
|
Default | 2s |
Description |
The initial delay of the backoff. |
entities.message-store.files
| |
Type |
Map<String,Long>
|
Description |
The number of request/response pairs to cache persistently. The keys must be valid cache classes as configured for the data lookup service, e.g., catalog, catalogs, category, categories, etc. |
entities.message-store.root
| |
Type |
org.springframework.core.io.Resource
|
Description |
Root resource to persistently store messages. If this property is not set, no messages will be persisted. Configure a value to enable persistent caching of messages. |
entities.products.register-parent-dependency
| |
Type |
Boolean
|
Default | true |
Description |
Controls if a parent dependency is registered for a non-base product so that it is invalidated together with its base product. |
entities.recompute-on-invalidation
| |
Type |
Boolean
|
Default | false |
Description |
Whether to recompute entities proactively on invalidation. |
entities.send-invalidations
| |
Type |
Boolean
|
Default | true |
Description |
Whether or not to propagate invalidations of entities to the clients. |
hybris.base-path
| |
Type |
String
|
Default | /ws410/rest |
Description |
The base path of the REST API ("/ws410/rest") |
hybris.default-catalog-version-preview
| |
Type |
String
|
Default | Staged |
Description |
Default catalog version. On preview-cae and studio the defaultCatalogVersion.preview value is used |
hybris.host
| |
Type |
String
|
Description |
The full qualified hostname of the Hybris system |
hybris.http-client.accept-cookies
| |
Type |
Boolean
|
Default | false |
Description |
Setting if cookies should be accepted. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.connection-pool-size
| |
Type |
Integer
|
Default | 20 |
Description |
Defines the overal connection limit for a connection pool. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.connection-request-timeout-millis
| |
Type |
Integer
|
Default | 60000 |
Description |
Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.connection-timeout-millis
| |
Type |
Integer
|
Default | 10000 |
Description |
Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.invalidation-chunk-size
| |
Type |
Integer
|
Default | 500 |
Description |
Cache invalidation chunk size. |
Deprecation |
This property has been deprecated and will be removed in a future version. Reason: unused property |
hybris.http-client.invalidation-max-wait-in-milliseconds
| |
Type |
Integer
|
Default | 0 |
Description |
Maximum wait time for cache invalidation. |
Deprecation |
This property has been deprecated and will be removed in a future version. Reason: unused property |
hybris.http-client.max-connections-per-route
| |
Type |
Integer
|
Default | 2 |
Description |
Defines a connection limit per one HTTP route. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.network-address-cache-ttl-in-millis
| |
Type |
Integer
|
Default | 30000 |
Description |
Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.socket-timeout-millis
| |
Type |
Integer
|
Default | 30000 |
Description |
Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.http-client.trust-all-ssl-certificates
| |
Type |
Boolean
|
Default | true |
Description |
Setting if client should trust all ssl certificates. |
Deprecation |
This property has been deprecated and will be removed in a future version.
Use Reason: use base adapter configuration option |
hybris.link.asset-url
| |
Type |
String
|
Description |
Base URL for assets (e.g. https://shop-hybris.yourdomain.com) |
hybris.link.link-templates
| |
Type |
Map<String,String>
|
Description |
Map of link templates. Only lookup keys in lowercase and without "_" are valid. Known default lookup keys are defined in StorefrontRefKeysCommerceLed. These patterns can include tokens which will be replaced. These tokens must be well known. The following tokens are predefined:
|
hybris.link.link-templates.categorylinkfragment
| |
Type |
String
|
Default | <!--CM {"parentCategoryId":"{parentCategoryId}","topCategoryId":"{topCategoryId}","level":{level},"renderType":"url","categoryId":"{categoryId}","objectType":"category"} CM--> |
Description |
Used to generate category page links into CoreMedia fragments. |
hybris.link.link-templates.categorypreviewurl
| |
Type |
String
|
Default | {storefrontUrlPreview}/cmpreview?site={storeId}&catalogId={catalogId}&catalogVersion={catalogVersion}&ticketId={previewTicket}&userGroup={userGroup}&id={categoryId}&type=category |
Description |
Used to build the preview URL to a category page. |
hybris.link.link-templates.cmajaxlinkfragment
| |
Type |
String
|
Default | <!--CM {"url":"{url}""renderType":"url","objectType":"ajax"} CM--> |
Description |
Used to generate ajax urls to CoreMedia contents into CoreMedia fragments. |
hybris.link.link-templates.cmcontentlinkfragment
| |
Type |
String
|
Default | <!--CM {"externalSeoSegment":"{externalSeoSegment}","renderType":"url","objectType":"content"} CM--> |
Description |
Used to build links to shop pages displaying CoreMedia Articles and Channels into CoreMedia fragments. |
hybris.link.link-templates.cmcontentpreviewurl
| |
Type |
String
|
Default | {storefrontUrlPreview}/cmpreview?site={storeId}&catalogId={catalogId}&catalogVersion={catalogVersion}&ticketId={previewTicket}&userGroup={userGroup}&id={seoSegment}&type=content |
Description |
Used to build the preview URL to a shop page which displays a CoreMedia content. |
hybris.link.link-templates.externalpagepreviewurl
| |
Type |
String
|
Default | {storefrontUrlPreview}/cmpreview?site={storeId}&catalogId={catalogId}&catalogVersion={catalogVersion}&ticketId={previewTicket}&userGroup={userGroup}&id={pageId}&type=externalpage |
Description |
Used to build the preview URL to a shop page. |
hybris.link.link-templates.productlinkfragment
| |
Type |
String
|
Default | <!--CM {"productId":"{productId}","renderType":"url","categoryId":"{categoryId}","objectType":"product"} CM--> |
Description |
Used to build product detail page links into CoreMedia fragments. |
hybris.link.link-templates.productpreviewurl
| |
Type |
String
|
Default | {storefrontUrlPreview}/cmpreview?site={storeId}&catalogId={catalogId}&catalogVersion={catalogVersion}&ticketId={previewTicket}&userGroup={userGroup}&id={productId}&type=product |
Description |
Used to build the preview URL to a product detail page. |
hybris.link.link-templates.shoppagelinkfragment
| |
Type |
String
|
Default | <!--CM {"externalSeoSegment":"{externalSeoSegment}","renderType":"url","objectType":"page"} CM--> |
Description |
Used to build URLs to shop pages into CoreMedia fragments. |
hybris.link.storefront-url
| |
Type |
String
|
Description |
The storefront url |
hybris.oauth.client-id
| |
Type |
String
|
Description |
ClientID used for OAuth2 Authentication with SAP Commerce System. Used to get authorized to access protected OCC API calls. |
hybris.oauth.client-secret
| |
Type |
String
|
Description |
Password used together with the clientId. |
hybris.oauth.network-address-cache-ttl-in-millis
| |
Type |
Integer
|
Default | -1 |
Description |
Timeout for DNS cache entries in milliseconds |
hybris.oauth.path
| |
Type |
String
|
Default | /authorizationserver/oauth/token |
Description |
Path used to request new OAuth Tokens |
hybris.oauth.port
| |
Type |
Integer
|
Default | 9002 |
Description |
Port used for OAuth token requests |
hybris.oauth.protocol
| |
Type |
String
|
Default | https |
Description |
Protocol used for OAuth token requests |
hybris.occ.base-path
| |
Type |
String
|
Default | /occ/v2 |
Description |
Base path of OCC Rest Services |
hybris.occ.custom-attributes-for
| |
Type |
Map<String,List<String>>
|
Description |
Configure attribute names, which are transmitted to the client as customAttributes. The key corresponds to the prefix of the document for json mappgings in lowercase. For example for ProductDocument it is "product". The value is a comma separated list of attributes, which shall be available on the client side via com.coremedia.livecontext.ecommerce.common.CommerceBean#getCustomAttributes. The value is transmitted as String representation of the JSON Object. Example: hybris.occ.custom-attributes-for.product=metaKeywords,metaDescription |
hybris.password
| |
Type |
String
|
Description |
The password belonging to the administrative user |
hybris.port
| |
Type |
Integer
|
Default | 9001 |
Description |
Port of SAP Commerce REST Services (9001) |
hybris.port-ssl
| |
Type |
Integer
|
Default | 9002 |
Description |
Secure port of SAP Commerce REST Services (9002) |
hybris.preview-token-user
| |
Type |
String
|
Default | anonymous |
Description |
The preview token user passed to the Preview Token Service |
hybris.preview-token-user-group
| |
Type |
String
|
Description |
The preview token usergroup passed to the Preview Token Service |
hybris.protocol
| |
Type |
String
|
Default | http |
Description |
Protocol used for REST communication with SAP Commerce (http) |
hybris.protocol-secure
| |
Type |
String
|
Default | https |
Description |
Secure protocol used for REST communication with SAP Commerce (https) |
hybris.user
| |
Type |
String
|
Description |
The administrative user used to access the SAP Hybris REST Services |
metadata.additional-metadata
| |
Type |
Map<String,String>
|
Description |
Map of additional metadata. Can be used as customization hook. All properties starting with "metadata.additional-metadata.*" are transmitted to the generic client on the CMS side. |
metadata.custom-attributes-format
| |
Type |
com.coremedia.commerce.adapter.base.entities.CustomAttributesFormat
|
Description |
Format of the custom attribute values. The keys are always plain strings. Used to identify the deserialization format on the CMS side. |
metadata.custom-entity-param-names
| |
Type |
Collection<String>
|
Description |
List of parameter names, which values need to be transmitted with every entity request from the CMS side. |
metadata.replacement-tokens
| |
Type |
Map<String,String>
|
Description |
Map of key value pairs. Used as replacement map for example for link building in the generic client on the CMS side. |
metadata.vendor
| |
Type |
String
|
Description |
Name of the vendor. Used to identify the connected vendor on the CMS side. |
Table 10.1. SAP Commerce Adapter related Properties