close

Filter

loading table of contents...

Connector for SAP Commerce Cloud Manual / Version 2101

Table Of Contents

9. Commerce Adapter Properties

hybris.asset-url
Type java.lang.String
Default  
Description

Base URL for assets (e.g. https://shop-hybris.yourdomain.com)

hybris.base-path
Type java.lang.String
Default /ws410/rest
Description

The base path of the REST API ("/ws410/rest")

hybris.cache.capacities
Type java.util.Map<java.lang.String,java.lang.Long>
Default  
Description

Number of cache entries per cache key, until cache eviction takes place.

Example: hybris.cache.capacities.product=50000

hybris.cache.enabled
Type java.lang.Boolean
Default true
Description

Enable or disable caching.

hybris.cache.timeout-seconds
Type java.util.Map<java.lang.String,java.lang.Long>
Default  
Description

TTL in seconds until certain cache entries are invalidated.

Example: hybris.cache.timeout-seconds.product=300

hybris.default-catalag-version-live
Type java.lang.String
Default Online
Description

Default catalog version. On live-cae the defaultCatalogVersion.live value is used

hybris.default-catalag-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.oauth.client-id
Type java.lang.String
Default coremedia_preview
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 secret
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.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.product-search-max-results
Type java.lang.Integer
Default 50
Description

Maximum number of search hits returned to the client.

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.store-front-base-path
Type java.lang.String
Default /yacceleratorstorefront
Description

Web context of the SAP Hybris storefront webapp

hybris.store-front-host
Type java.lang.String
Default  
Description

The fully qualified hostname of the storefront url.

hybris.store-front-url
Type java.lang.String
Default  
Description

The storefront url

hybris.user
Type java.lang.String
Default  
Description

The administrative user used to access the SAP Hybris REST Services

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 {@link CustomAttributesFormats}.

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.supports-multi-catalog
Type java.lang.Boolean
Default false
Description

Flag if commerce adapter implementation supports multiple catalogs.

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


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.