Connector for SAP Commerce Cloud Manual / Version 2204
Table Of Contentshybris.base-path
| |
Type | java.lang.String |
Default | /ws410/rest |
Description | The base path of the REST API ("/ws410/rest") |
hybris.default-catalog-version-preview
| |
Type | java.lang.String |
Default | Staged |
Description | Default catalog version. On preview-cae and studio the defaultCatalogVersion.preview value is used |
hybris.host
| |
Type | java.lang.String |
Default | |
Description | The full qualified hostname of the Hybris system |
hybris.http-client.accept-cookies
| |
Type | java.lang.Boolean |
Default | false |
Description | Setting if cookies should be accepted. |
hybris.http-client.connection-pool-size
| |
Type | java.lang.Integer |
Default | 20 |
Description | Defines the overal connection limit for a connection pool. |
hybris.http-client.connection-request-timeout-millis
| |
Type | java.lang.Integer |
Default | 60000 |
Description | Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
hybris.http-client.connection-timeout-millis
| |
Type | java.lang.Integer |
Default | 10000 |
Description | Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
hybris.http-client.invalidation-chunk-size
| |
Type | java.lang.Integer |
Default | 500 |
Description | Cache invalidation chunk size. |
hybris.http-client.invalidation-max-wait-in-milliseconds
| |
Type | java.lang.Integer |
Default | 0 |
Description | Maximum wait time for cache invalidation. |
hybris.http-client.max-connections-per-route
| |
Type | java.lang.Integer |
Default | 2 |
Description | Defines a connection limit per one HTTP route. |
hybris.http-client.network-address-cache-ttl-in-millis
| |
Type | java.lang.Integer |
Default | 30000 |
Description | Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
hybris.http-client.socket-timeout-millis
| |
Type | java.lang.Integer |
Default | 30000 |
Description | Http Client Configuration of Rest Connector communicating with SAP Rest Services. |
hybris.http-client.trust-all-ssl-certificates
| |
Type | java.lang.Boolean |
Default | true |
Description | Setting if client should trust all ssl certificates. |
hybris.link.asset-url
| |
Type | java.lang.String |
Default | |
Description | Base URL for assets (e.g. https://shop-hybris.yourdomain.com) |
hybris.link.link-templates
| |
Type | java.util.Map<java.lang.String,java.lang.String> |
Default | |
Description | Map of link templates. Map of defaults: {@link this#DEFAULT_LINK_TEMPLATES} Only lookup keys in lowercase and without "_" are valid. Known default lookup keys are defined in {@link StorefrontRefKeysCommerceLed} These patterns can include tokens which will be replaced. These tokens must be well known. The following tokens are predefined:
|
hybris.link.storefront-url
| |
Type | java.lang.String |
Default | |
Description | The storefront url |
hybris.oauth.client-id
| |
Type | java.lang.String |
Default | |
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 | java.lang.String |
Default | |
Description | Password used together with the clientId. |
hybris.oauth.network-address-cache-ttl-in-millis
| |
Type | java.lang.Integer |
Default | -1 |
Description | Timeout for DNS cache entries in milliseconds |
hybris.oauth.path
| |
Type | java.lang.String |
Default | /authorizationserver/oauth/token |
Description | Path used to request new OAuth Tokens |
hybris.oauth.port
| |
Type | java.lang.Integer |
Default | 9002 |
Description | Port used for OAuth token requests |
hybris.oauth.protocol
| |
Type | java.lang.String |
Default | https |
Description | Protocol used for OAuth token requests |
hybris.occ.base-path
| |
Type | java.lang.String |
Default | /occ/v2 |
Description | Base path of OCC Rest Services |
hybris.occ.custom-attributes-for
| |
Type | java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
Default | |
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 | java.lang.String |
Default | |
Description | The password belonging to the administrative user |
hybris.port
| |
Type | java.lang.Integer |
Default | 9001 |
Description | Port of SAP Commerce REST Services (9001) |
hybris.port-ssl
| |
Type | java.lang.Integer |
Default | 9002 |
Description | Secure port of SAP Commerce REST Services (9002) |
hybris.preview-token-user
| |
Type | java.lang.String |
Default | anonymous |
Description | The preview token user passed to the Preview Token Service |
hybris.preview-token-user-group
| |
Type | java.lang.String |
Default | |
Description | The preview token usergroup passed to the Preview Token Service |
hybris.protocol
| |
Type | java.lang.String |
Default | http |
Description | Protocol used for REST communication with SAP Commerce (http) |
hybris.protocol-secure
| |
Type | java.lang.String |
Default | https |
Description | Secure protocol used for REST communication with SAP Commerce (https) |
hybris.user
| |
Type | java.lang.String |
Default | |
Description | The administrative user used to access the SAP Hybris REST Services |
cache.capacities
| |
Type | java.util.Map<java.lang.String,java.lang.Long> |
Default | |
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 | java.util.Map<java.lang.String,java.lang.Long> |
Default | |
Description | TTL in seconds until certain cache entries are invalidated. |
entities.recompute-on-invalidation
| |
Type | java.lang.Boolean |
Default | false |
Description | Whether or not to recompute entities proactively on invalidation. |
entities.send-invalidations
| |
Type | java.lang.Boolean |
Default | true |
Description | Whether or not to propagate invalidations of entities to the clients. |
metadata.additional-metadata
| |
Type | java.util.Map<java.lang.String,java.lang.String> |
Default | |
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 |
Default | |
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 | java.util.Collection<java.lang.String> |
Default | |
Description | List of parameter names, which values need to be transmitted with every entity request from the CMS side. |
metadata.replacement-tokens
| |
Type | java.util.Map<java.lang.String,java.lang.String> |
Default | |
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 | java.lang.String |
Default | |
Description | Name of the vendor. Used to identify the connected vendor on the CMS side. |
Table 9.1. SAP Commerce Adapter related Properties