Properties

The following properties can be defined in your application.properties file, in your application.yml file, or as command line switches.

# GENERAL
connect.api.merchant-id= # Your merchant id

# API ENDPOINT
connect.api.endpoint.host= # Hostname of the API endpoint to use
connect.api.endpoint.scheme=https # Scheme of the API endpoint to use
connect.api.endpoint.port=-1 # Port of the API endpoint to use

# AUTHENTICATION
connect.api.authorization-id= # Your authorization id
connect.api.authorization-secret= # Your authorization secret
connect.api.authorization-type=V1HMAC # Authorization type, should only be V1HMAC

# CONNECTION
connect.api.connect-timeout=5000 # Connect timeout for HTTP requests
connect.api.https.protocols= # Supported HTTPS protocols. If not specified the SDK will specify defaults
connect.api.max-connections=10 # Maximum number of concurrent HTTP connections
connect.api.connection-reuse=true # Whether or not to reuse HTTP connections
connect.api.proxy.password= # Password for the HTTP proxy to use, if any
connect.api.proxy.uri= # URI for the HTTP proxy to use, if any
connect.api.proxy.username= # Username for the HTTP proxy to use, if any
connect.api.socket-timeout=300000 # Socket/read timeout for HTTP requests

# CONNECTION MANAGEMENT
connect.api.close-idle-connections.enabled=true # Enable closing idle connections automatically
connect.api.close-idle-connections.idle-time=20000 # Maximum idle time in ms before connections are closed
connect.api.close-idle-connections.interval=10000 # Interval in ms for closing idle connections

# META DATA
connect.api.integrator= # Your company name
connect.api.shopping-cart-extension.creator= # For shopping cart extensions, the creator
connect.api.shopping-cart-extension.extension-id= # For shopping cart extensions, the extension id
connect.api.shopping-cart-extension.name= # For shopping cart extensions, the name
connect.api.shopping-cart-extension.version= # For shopping cart extensions, the version

# LOGGING
connect.api.logger.errorLevel=ERROR # Error log level for the default communicator logger
connect.api.logger.level=INFO # Log level for the default communicator logger
connect.api.logger.name=com.worldline.connect.sdk.java.Communicator # Name for the default communicator logger

# HEALTH
connect.api.health.min-interval=60 # For health checks, the minimum interval in seconds between calls