The following table describes the ZooKeeper properties for the Merchandising microservice:
S.NOPROPERTYDESCRIPTION
1hystrix.command.user-key.circuitBreaker.requestVolumeThresholdThis property sets the minimum number of requests in a rolling window that will trip the circuit.
2hystrix.command.user-key.circuitBreaker.sleepWindowInMillisecondsThis property sets the amount of time, after tripping the circuit, to reject requests before allowing attempts again to determine if the circuit should again be closed.
3hystrix.command.user-key.execution.isolation.thread.timeoutInMillisecondsThis property sets instance-specific values dynamically which overrides the preceding three levels of defaults.
4skava.cors.enabledThis property is used to enable or disable the cors.
5skava.cors.pathPatternThis property holds the pattern for the cors request.
6skava.cors.allowedHeadersThis property contains the value of the allowed header.
7skava.cors.allowedMethodsThis property contains the allowed methods for Spring controller.
8skava.cors.allowedOriginsThis property is used to set allowedOrigins for the cors request
9skava.cors.exposedHeadersThis property is used to set exposedHeaders for the cors request.
10skava.cors.maxAgeThis property is used to set maxAge for the cors request in seconds.
11skava.merchandise.liveEnvironmentThis property specifies whether the deployment environment is live or authoring/staging environment. The value can be:
  • true - Indicates the live environment. Updating content is not allowed in the live environment.
  • false - Indicates the authoring/staging environment. There is no restriction in updating the contents.
The default value is false.
12skava.authorization.authExpiryTimeMinsThis property holds the expiry time of authorization token generated using the getTestToken API call. The value is mentioned in minutes.
13skava.authorization.authHeaderThis property holds the HTTP request header name in which the authorization token (JWT) is passed by the caller. Since the functionality of validating token is inherited from the framework, this property's value is used for identifying the correct header and its value is considered for access/authorization checks.
14skava.authorization.enabledThis property indicates whether the authorization component is enabled or disabled for the corresponding microservice. If the value is set as false, then all APIs are open to access without any authorization check and this is not recommended for the production or public APIs. For the production, production-like, or public environments, this property should be enabled (true).
15skava.authorization.gettesttokenThis property indicates whether the authorization endpoint for test JWT tokens is enabled or not. If it is set to true, an API will be exposed to obtain test JWT tokens.
16skava.authorization.tokenSecretThis property holds the secret which will be used to verify the signature of the JWT passed by the caller. Only if the JWT passed by the caller found valid with respect to signature, expiry and having necessary privileges, the request will be processed further.
17skava.authorization.superAdminRoleNameThe property indicates the Super Admin role name for the corresponding microservice.
18skava.localization.default-localeThis property holds the default locale to be used for all response messages if it has not been provided in the request.
19skava.localization.enabledThis property indicates whether the localization component is enabled or not. The value true indicates it is enabled and false indicates it is disabled.
20skava.localization.externalPathThis property holds the external path from where the localized messages are to be read from.
21skava.localization.param-nameThis property holds the parameter name in which the localization component is used.
22skava.localization.resourceBundleBaseNameThis property holds the resource bundle's base name.
23skava.localization.cookieEnabledThis property is used to enable or disable the localization component.
24skava.auditlog.enabledThis property enables or disables the audit log component.
25skava.auditlog.enabled.passwordThis property is used to connect to the MySQL DB for the audit logs.
26skava.auditlog.file-locationThis property holds the path to store the audit logs.
27skava.auditlog.layout-typeThis property is used to denote the layout type.
28skava.auditlog.mongodb.enabledThis property is used to enable the mongo component for the audit log.
29skava.auditlog.mongodb.databaseThis property holds the Mongo database name for the audit log.
30skava.auditlog.mongodb.hostThis property holds the value of mongo hostname for the audit log.
31skava.auditlog.mongodb.portThis field has the port number of the Mongo server for the audit log.
32skava.auditlog.mongodb.mongoAuthRequiredThis property indicates the authorization of the Mongo server.
33skava.auditlog.mongodb.usernameThis field holds the username of the Mongo DB.
34skava.auditlog.mongodb.passwordThis property has the password of the Mongo DB for the audit log.
35skava.auditlog.mongodb.sslEnabledThis field denotes whether the SSL is enabled or not for the MongoDB in the audit log.
36skava.log.enabledThis property is used to set the resource bundle's base name.
37skava.log.fileAppenderEnabledThis property indicates whether the log needs to be appended to a log file or not. If it is set to true the log is written to the log file as specified in log4j2.yml.
38skava.log.fluentdAppenderEnabledThis property indicates whether the log file should be aggregated to Fluentd directly rather than to a file or not.
39skava.log.fluentdHostThis property holds the hostname of Fluentd server instance where the log will be aggregated.
40skava.log.fluentdPortThis property holds the port of Fluentd server instance where the log will be aggregated.
41skava.log.fluentdPatternThis property holds the pattern for writing logs into the Fluentd server.
42skava.log.fluentdTagNameThis property holds the tag name to be added to the logs.
43skava.mongo.enabledThis property indicates whether the Mongo database is enabled or not .
44skava.mongo.hostThis property denotes the hostname for Mango database by Hibernate component to connect to the database.
45skava.mongo.portThis property holds the port number for the Mongo database by Hibernate component to connect to the database.
46skava.mongo.databaseThis property denotes the name of the Mongo database for this service user by Hibernate to connect.
47skava.mongo.mongoAuthRequiredThis property is used to enable or disable the authorization for the Mongo server.
48skava.mongo.usernameThis property holds the username to access the Mongo when the Mongo authorization is enabled.
49skava.mongo.passwordThis property has the password for the Mongo username, used for Mongo authorization.
50skava.mongo.connectTimeoutThis property has the maximum connection timeout for the Mongo database. The value is mentioned in milliseconds.
51skava.mongo.connectionsPerHostThis property limits the number of connections to the port based on the input.
52skava.mongo.sslEnabledThis value indicate whether SSL is enabled or disabled for the Mongo. This should be a boolean value.
53skava.event.classNameThis property is used to set the fully qualified name of the custom implementation class.
54skava.event.enabledThis property is used to enable or disable the event component.
55skava.event.rabbitmq.concurrentConsumersThis property holds the maximum allowed concurrent consumers.
56skava.event.rabbitmq.enabledThis property is used to enable or disable the RabbitMQ server for the event component.
57skava.event.rabbitmq.hostThis property holds the hostname of the RabbitMQ server.
58skava.event.rabbitmq.userNameThis property has the username of the RabbitMQ server.
59skava.event.rabbitmq.passwordThis property holds the password of the RabbitMQ server.
60skava.event.rabbitmq.portThis property tells the port of the RabbitMQ server.
61skava.event.rabbitmq.queueNameThis property is used to set the queue name used by the event component.
62skava.event.rabbitmq.routingKeyThis property is used to set the routing key for the RabbitMQ server.
63skava.event.rabbitmq.topicExchangeThis property is used to set the topic exchange for the RabbitMQ server.
64skava.event.rabbitmq.virtualHostThis property is used to set the virtual host for the RabbitMQ server.
65skava.cache.redis.cacheNamesThis property holds the Redis cache names used by the application.
66skava.cache.redis.clearCacheEventNameThis property is used to set the event name for cache clear operation.
67skava.cache.redis.databaseThis property holds the Redis database index used by the connection factory.
68skava.cache.redis.enabledThis property indicates whether the Redis component needs to be enabled or disabled for this application. It is recommended that it should be enabled (true) for the production and production-grade environments (like performance).
69skava.cache.redis.expTimeToliveThis property holds the expiration time of Redis entries. That is the maximum time the objects are requested to be held in the Redis server. Using this property you are requesting Redis to hold the objects for the specified time but it is the LRU/LCU which will determine how long an entry survives in the cache.
70skava.cache.redis.hostThis property holds the Redis server's hostname/IP for caching objects.
71skava.cache.redis.passwordThis property holds the password for connecting to the Redis server. This is required if the authentication is enabled for the Redis server. It is recommended that it should be enabled for the production environment.
72skava.cache.redis.portThis property holds the Redis server's port for the application to connect for both read and write cache operations.
73skava.cache.redis.timeoutThis property holds the connection timeout value of all Redis connections for both read and write.
74skava.cache.redis.pool.minIdleThis property holds the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive.
75skava.cache.redis.pool.maxIdleThis property holds the maximum number of idle connections in the pool. Use a negative value to indicate an unlimited number of idle connections.
76skava.cache.redis.pool.maxActiveThis property holds the maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
77spring.application.nameThis property holds the application name of the Spring Boot application.
78spring.autoconfigure.excludeThis property holds the classes that are to be excluded from the Spring's autoconfiguration.
79spring.cloud.zookeeper.enabledThis property is used to enable or disable the ZooKeeper server.
80spring.cloud.connect-stringThis property specifies the location of the server when it locates somewhere other than localhost:2181. This configuration is required to locate the server.
81spring.cloud.config.enabledThis property is used to enable or disable the ZooKeeper's base path.
82spring.cloud.rootThis property is used to configure the ZooKeeper's base path.
83spring.cloud.watcherThis property indicates whether the ZooKeeper watcher has been enabled or not. If it is set to true, the watcher is enabled and if there is any change in the ZooKeeper configuration is communicated to the server. Updated properties are loaded automatically if the implementation allows it.
84spring.sleuthThis property is used to enable or disable the sleuth 128-bit trace ID in the logs.
85server.servlet.contextPathThis property holds the Spring Boot application's context path.
86server.tomcat.accesslog.enabledThis property controls the Tomcat logs for the Boot application.
87server.tomcat.accesslog.patternThis property holds the pattern of the access logs to be printed. This will follow the Apache Tomcat parameters.
88server.tomcat.accesslog.directoryThis property holds the directory in which log files are created. It can be absolute or relative to the Tomcat's base directory.
89server.tomcat.basedirThis property holds the Tomcat base directory location and this needs to be an absolute path.
90server.ssl.enabledThis property controls the SSL configuration of the Boot application. When it is set to true, the application is started in HTTPS protocol only and all HTTP request will be rejected.
91server.ssl.tomcat.max-http-header-sizeThis property holds the maximum header size of SSL Tomcat.
92server.ssl.key-storeThis property holds the key store's PrivateKeyEntry which will be used as the SSL certificate for the microservice.
93server.ssl.key-store-passwordThis property holds the key store password for accessing the key store as mentioned in the key-store property.
94server.ssl.key-store-typeThis property holds the key store type.
95server.ssl.key-aliasThis property holds the key store alias name set during the import using keytool utility.
96skava.merchandise.milestonePageSizeThis property sets the maximum number of milestones can be returned in get call.
97skava.swaggerglobalparams.enabledThis property indicates the Swagger global params. The default value is false. If this property value is set to true, the Swagger global params from the application .yml will be referred and added in the Swagger UI.
98skava.event.rabbitmq.ssl.enabledThis property enables or disables the SSL support for RabbitMQ server.
99skava.event.rabbitmq.ssl.algorithmThis property sets the SSL algorithm, which is used for the RabbitMQ server.
100skava.event.rabbitmq.cluster-enabledThis property enables or disables the cluster for the RabbitMQ server.
101skava.event.rabbitmq.addressesThis property sets the addresses for the RabbitMQ server cluster.
102skava.hibernate.hikari.enabledThis property enables or disables the Hibernate Hikari component.
103skava.hibernate.hikari.poolnameThis property represents a user-defined name for the connection pool. It appears mainly in the logging and JMX management consoles to identify pools and pool configurations. The default value is auto-generated.
104skava.hibernate.hikari.dataSourceClassNameThis property is available only via programmatic configuration or IoC container. This property allows you to directly set the instance of the DataSource to be wrapped by the pool, rather than having HikariCP construct it via reflection. This can be useful in some dependency injection frameworks. When this property is specified, the dataSourceClassName property and all DataSource-specific properties will be ignored. There is no default value.
105skava.hibernate.hikari.maximumPoolSizeThis property controls the maximum size of the pool, including both idle and in-use connections. This value determines the maximum number of actual connections to the database backend. The value is determined by your execution environment. When the pool reaches to this size and no idle connections are available, the call getConnection() block for up to connectionTimeout milliseconds before timing out. The default value is 10.
106skava.hibernate.hikari.maximumlifetimeThis property controls the maximum lifetime of a connection in the pool. An in-use connection will never be retired, only when it is closed, it will then be removed. On a connection-by-connection basis, minor negative attenuation is applied to avoid mass-extinction in the pool. It is strongly recommend to set this value, and it should be several seconds shorter than any database or infrastructure imposed connection time limit. A value of 0 indicates no maximum lifetime (infinite lifetime), subject of course to the idleTimeout setting. The default value is 1800000 ms (30 minutes).
107skava.hibernate.hikari.idleTimeoutThis property controls the maximum amount of time that a connection is allowed to sit idle in the pool. This setting only applies when minimumIdle is defined to be less than maximumPoolSize. The idle connections will not be retired until the pool reaches minimumIdle connections. Whether a connection is retired as idle or not is subject to a maximum variation of +30 seconds, and average variation of +15 seconds. A connection will never be retired as idle before this timeout. A value of 0 indicates the idle connections are never removed from the pool. The minimum allowed value is 10000ms (10 seconds). The default value is 600000 ms (10 minutes).
108skava.hibernate.hikari.prepStmtCachesizeThis property sets the cache size of the PreparedStatement.
109skava.hibernate.hikari.prepStmtCacheSqlLimitThis property sets the SQL limit of the PreparedStatement to be cached.
110skava.hibernate.hikari.cache.prepStmtsThis property sets whether the PreparedStatement is used or not.
111skava.hibernate.hikari.useServerPrepStmtThis property sets whether the server side PreparedStatement is used or not.
112skava.cache.enabledThis property is used to enable cache.
113skava.cache.enableCascadeThis property is used to enable cascade cache.
114skava.cache.useOnlyL2CacheThis property is used to enable L2 cache.
115skava.cache.cascadeCacheNamesThis property is used to enable cascade cache by its name.
116skava.cache.localCache.typeThis property represents the local cache type for L1 cache used in cascade cache.
117skava.cache.localCache.config.cache_collection.cacheSizeThis property represents the local cache entry size.
118skava.cache.localCache.config.cache_collection.timeToLiveInSecondsThis property represents the local cache expiry time in seconds.
119skava.cache.localCache.config.cache_collection.maxIdleInSecondsThis property represents the local cache maximum idle time in seconds.
120skava.cache.localCache.config.cache_collection_attribute.cacheSizeThis property represents the local cache entry size.
121skava.cache.localCache.config.cache_collection_attribute.timeToLiveInSecondsThis property represents the local cache expiry time in seconds.
122skava.cache.localCache.config.cache_collection_attribute.maxIdleInSecondsThis property represents the local cache maximum idle time in seconds.
123skava.cache.redis.cluster.maxRedirectsThis property represents the maximum number of redirects to follow when executing commands across the cluster..
124skava.cache.redis.cluster.nodesThis property represents the comma-separated list of 'host:port' pairs to bootstrap from. This represents an 'initial' list of cluster nodes and is required to have at least one entry.
125skava.cache.redis.sentinel.masterThis property represents the name of the Redis server.
126skava.cache.redis.sentinel.nodesThis property represents the comma-separated list of 'host:port' pairs.
127skava.cache.redis.sslThis property represents the enable/disable of Redis server ssl.
128skava.cache.redis.urlThis property represents the Redis server url.
129skava.cache.redis.clusterEnabledThis property represents the toggle cluster for Redis server.
130skava.cache.redis.maxTimeToliveThis property holds the maximum number of connections that can be allocated by the pool at a given time. Use a negative value for no limit.
131skava.cache.redis.clientThis property represents the type of client for redis connection.
132skava.cache.maxCacheSizeThis property holds the cache size in bytes. If the value is greater than 0, then the cache is restricted based on the value. Otherwise, no limitation for cache.
133ZK_REDIS_SSL_ENABLEDThis property enables or disables the Redis server SSL. The default value is FALSE.
134skava.app.enabledThis property enables the app. The default value is TRUE.
135skava.app.appClassNameThis property holds the app component class name (GCP/Azure).
The default value is com.skava.core.app.gcp.GCPAppComponent.
136skava.app.hostThis property holds the service endpoint URL of the App Marketplace service.
The default value is ##ZK_SERVICE_END_POINT##.
137skava.app.apiKeyThis property holds the API key which is sent to the App for authentication.
The default value is ##ZK_APP_API_KEY##.
138ZK_REDIS_TIMEOUTThis property holds connection timeout value of Redis in milliseconds.
The default value is 10000.
139ZK_REDIS_USERNAMEThis property holds the login username of the Redis server.
The default value is empty.
140ZK_PROTOCOLSThis property enables macro support for the TLS protocol version.
141ZK_REDIS_PASSWORDThis property holds the Redis password.
142skava.cache.redis.usernameThis property indicates the login username of the Redis server.
143disableSpringBatchInAdminThis property is used to enable or disable Spring Batch in the admin console.
144endpoints.loggers.enabledThis property is used to enable or disable the logger.
145web.exposure.includeThis property is used to expose the management endpoints.
146server.max-http-header-sizeTo increase http header size we have externalize this property.
147skava.event.rabbitmq.amqpEnabledThis property is used to enable AMQP (Advanced Message Queuing Protocol). When the value is
  • true: The RabbitMQ is enabled.
  • false: The AMQP is enabled.
Note: To enable AMQP, contact the Infra team.


Revision History
2024-08-05 | SD – Updated ZK properties.
2024-07-12 | SD – Updated ZK properties.
2024-06-19 | SD – Updated ZK properties for release 8.18.0 to 8.16.0.
2024-05-10 | SD – Updated Zookeeper properties for 8.17.1 release.
2023-10-22 | JP – Updated content for 8.15.4 release.
2022-04-10 | JP – Fixed link and http issues.
2021-12-27 | AN – Updated content for 8.11 release.
2020-12-10 | HM – Updated missing ZK properties.
2020-03-09 | AN – Updated content for April 2020 release.
2020-01-14 | AN – Updated content for February 2020 release.
2019-07-09 | AM – Updated ZK properties for July 2019 release.
2019-05-20 | JP – Uploaded to a new table tool.
2019-04-17 | AN – Content updated for the April 2019 release.
2019-01-23 | PLK – Content uploaded.