Technical Setup
The technical setup on system level is used by the Self Scanning Service, Fraud Detection Service and Payment Service.
Basic Setup
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| datasource.type | String | JDBC datasource configuration. There are three types of JDBC datasource:
|
jndi |
| com.gk-software.core.common.mod-event-upload.type | String | Logbook upload type
|
JMS |
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.store-container | Definition of the store root directory relative to the tenant location; {storeId} is replaced by the store number. | ||
| store-root-location-pattern | String | stores/{storeId} | |
| local-store-root-location-pattern | String | stores/{storeId} | |
| store-config-file | String | parameter/store-config.properties | |
Security
Properties defining the app's keystore and truststore on system level.
Properties defining the app's keystore and truststore on system level.
JSON Web Token
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.common.security.server.oauth2 | |||
| rs.jws.key.aliasPrefix | String | Approved key alias prefix for OAuth2 public keys in truststore. | oauth2 |
Keystore Configuration
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.common.security.server.oauth2.keystore | Common OAuth2 keystore/truststore configuration for every application. | ||
| location | String | Location of the keystore file. | file:/usr/local/gkretail/security/oauth2.keystore |
| password | String | Password to access the keystore. | |
Truststore Configuration
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.common.security.server.oauth2.rs.jws.truststore | |||
| source | resource | system | jndi | Source definition is the source from which truststore is acquired. Source 'resource'
Source 'system'
Source 'jndi'
|
resource |
| password_encrypted | String | Truststore password | ${core.common.security.server.oauth2.keystore.password} |
| resource.location | String | Resource location; used if source=resource | ${core.common.security.server.oauth2.keystore.location} |
| jndi.base_name | String | JNDI resource name; used if source=jndi | keystore |
| jndi.expression | String | Expression to get the truststore; used if source=jndi | getKeystore('gkr-auth-service') |
| system.property_location | String | Name of the Java system property that holds the truststore location; used if source=system | javax.net.ssl.trustStore |
| system.property_password | String | Name of the Java system property that holds the truststore password; used if source=system | javax.net.ssl.trustStorePassword |
SSL
Properties defining the app's keystore used for SSL connections. The property file is maintained on system level.
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| ssl.truststore.source | String | Source definition is the source from which truststore is acquired. Possible values: system, jndi.
|
system |
| ssl.truststore.cache | Boolean | Defines whether the result is cached or is reloaded for each use (it can be changed at runtime) | false |
| ssl.truststore.jndi.base_name | String | Name under which the keystores wrapper is exposed in JNDI. | keystore |
| ssl.truststore.jndi.expression | String | SpEL expression for retrieval of the correct truststore from wrapper. | getKeystore('TrustedCAs') |
Secure Client Onboarding
Properties defining the connection and credentials to access Client Identity Management Service (CIMS).
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.common.security.server.cims.url | String | Base URL for CIMS | http://cims:8080/cims |
| core.common.security.server.oauth2.rs.jws.* | |||
| jwkSetEndpoint.1 | String | Endpoint path to reach the CIMS to acquire JWK set | ${core.common.security.server.cims.url}/services/rest/cims/v1/auth/jwks |
| jwkBackupDir | String | Retrieved JWK sets are stored to this location for caching and offline situations | ${self-scanning-service.root.dir.local}/jwk-keys |
| jwkUpdatePeriod | String | JWK sets are refreshed periodically | 24h |
Database Connections
System level configurations to define the DB access.
DB Connection Master
| Property | Data Type; Range | Description | Default |
|---|---|---|---|
| tenant.globalDataSource.schemaName | String | Database schema used for master datasource. | gkr_master |
DB Driver Settings
Used if the app is configured to connect to DB using embedded drivers.
| Property | Data Type; Range | Description | Default |
|---|---|---|---|
| datasource.dbName | String | DB name / SID.
|
gkretail |
| datasource.dbContainer | String | HANA-specific connection string parameters. | GK |
| datasource.driver | String | Database driver name
|
${datasource.driver.oracle} |
| datasource.port | Integer | Port where the DB server is listening. Default ports:
|
1521 |
| datasource.server | DB server address. | localhost | |
| datasource.username | User name for DB access. | gkr_master | |
| datasource.password_encrypted | Password for DB access. The password should be entered in plain text and is immediately encrypted by Storemanager. | ${datasource.password_encrypted.oracle} |
JNDI Settings
Used if the app is configured to connect to DB over a JNDI datasource.
| Property | Data Type; Range | Description | Default |
|---|---|---|---|
| JNDI name | datasource.jndi.name | Unique name to identify the JNDI data source. | jdbc/GKRSAP_SES |
Store Configuration
System level configuration that defines how the structure level configurations can be found.
| Name | Data Type, Range | Description | Default |
|---|---|---|---|
| core.store-container | Patterns and locations for the store configuration files. | ||
| store-root-location-pattern | String | stores/{storeId} | |
| local-store-root-location-pattern | String | stores/{storeId} | |
| store-config-file | String | parameter/store-config.properties | |
| store-registry-mbean-name | String | ${self-scanning-service.jmx.domain}:type=StoreRegistry | |
| store-controller-mbean-name | String | ${self-scanning-service.jmx.domain}:type=StoreController | |
The basic store configuration is in a properties file on store level.
| Property | Data Type, Range | Description | Default |
|---|---|---|---|
| core.store-container.store.enabled | String | true | |
| gkr.tenant.id | String | @TENANT_ID@ |