The following table describes the ZooKeeper properties for the Cart microservice:
S.NO | PROPERTY | DESCRIPTION |
---|---|---|
1 | server.servlet.contextPath | This property holds the Spring Boot application's context path. |
2 | server.ssl.enabled | This property controls the SSL configuration for the boot application. |
3 | server.ssl.enabled-protocols | This property holds the protocols enabled for this application. It takes comma separated values. |
4 | server.ssl.key-alias | This property holds the keystore alias name set during import using the keytool utility. |
5 | server.ssl.key-store | This property holds the keystore PrivateKeyEntry which will be used as the SSL certificate for the microservice. |
6 | server.ssl.key-store-password | This property holds the keystore password for opening the keystore mentioned in the key-store property. |
7 | server.ssl.key-store-type | This property holds the keystore type. |
8 | server.tomcat.accesslog.directory | This property holds the directory in which log files are created. It can be absolute or relative to the Tomcat's base directory. |
9 | server.tomcat.accesslog.enabled | This property controls the Tomcat logs for the Boot application. |
10 | server.tomcat.accesslog.max-days | The maximum number of days rotated access logs will be retained for before being deleted. If not specified, the default value is set to 10. |
11 | server.tomcat.accesslog.pattern | This property holds the pattern of the access logs to be printed. This will follow the Apache Tomcat parameters. |
12 | server.tomcat.max-threads | This property sets the maximum number of threads allowed to run at a time. |
13 | skava.auditlog.customLayoutFormat | This property set to customize the layout option. |
14 | skava.auditlog.db.driverClassName | This property is used to connect to the MySQL DB for audit logs. |
15 | skava.auditlog.db.enabled | This property is used to enable/disable the DB for audit logs. |
16 | skava.auditlog.db.password | This property is used to connect to the MySQL DB for audit logs. |
17 | skava.auditlog.db.url | This property is used to connect to the MySQL DB for audit logs. |
18 | skava.auditlog.db.userName | This property is used to connect to the MySQL DB for audit logs. |
19 | skava.auditlog.enabled | This property set to enable/disable the auditlog component. |
20 | skava.auditlog.file-location | This property set to enable/disable the auditlog component. |
21 | skava.auditlog.layout-type | This property set to enable/disable the auditlog component. |
22 | skava.authorization.authExpiryTimeMins | This property holds the expiry time of authorization token generated using the getTestToken API call. The value is mentioned in minutes. |
23 | skava.authorization.authHeader | This 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. |
24 | skava.authorization.enabled | This 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 ). |
25 | skava.authorization.gettesttoken.enabled | This 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. |
26 | skava.authorization.superAdminRoleName | The property indicates the super admin role name for the corresponding microservice. |
27 | skava.authorization.tokenSecret | This 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. |
28 | skava.cache.cascadeCacheNames | This property is used to enable cascade cache by its name |
29 | skava.cache.enableCascade | This property is used to enable cascade cache |
30 | skava.cache.enabled | This property is used to enable cache |
31 | skava.cache.localCache.config.cartcollection.cacheSize | This property specifies the local cache entry size. |
32 | skava.cache.localCache.config.cartcollection.maxIdleInSeconds | This property sets the local cache maximum idle time in seconds. |
33 | skava.cache.localCache.config.cartcollection.timeToLiveInSeconds | This property sets the local cache expiry time in seconds. |
34 | skava.cache.localCache.config.cartcollectionattributes.cacheSize | This property specifies the local cache entry size |
35 | skava.cache.localCache.config.cartcollectionattributes.maxIdleInSeconds | This property sets the local cache maximum idle time in seconds. |
36 | skava.cache.localCache.config.cartcollectionattributes.timeToLiveInSeconds | This property sets the local cache expiry time in seconds. |
37 | skava.cache.localCache.type | This property indicates the local cache type for L1 cache used in cascade cache. |
38 | skava.cache.maxCacheSize | This 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. |
39 | skava.cache.redis.cacheNames | This property holds the Redis cache names used by the application. |
40 | skava.cache.redis.clearCacheEventName | This property is used to set the event name for cache clear operation. |
41 | skava.cache.redis.client | This property specifies the type of client for redis connection. |
42 | skava.cache.redis.cluster.maxRedirects | This property specifies the maximum number of redirects to follow when executing commands across the cluster. |
43 | skava.cache.redis.cluster.nodes | This property indicates 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. |
44 | skava.cache.redis.clusterEnabled | This property specifies the toggle cluster for Redis server. |
45 | skava.cache.redis.database | This property holds the Redis database index used by the connection factory. |
46 | skava.cache.redis.enabled | This 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). |
47 | skava.cache.redis.expTimeTolive | This 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. |
48 | skava.cache.redis.host | This property holds the Redis server's hostname/IP for caching objects. |
49 | skava.cache.redis.maxTimeToLive | This property sets the max time to live in minutes time for redis cache. |
50 | skava.cache.redis.password | This 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. |
51 | skava.cache.redis.pool.maxActive | This 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. |
52 | skava.cache.redis.pool.maxIdle | This property holds the maximum number of idle connections in the pool. Use a negative value to indicate an unlimited number of idle connections. |
53 | skava.cache.redis.pool.minIdle | This property holds the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. |
54 | skava.cache.redis.port | This property holds the Redis server's port for the application to connect for both read and write cache operations. |
55 | skava.cache.redis.sentinel.master | This property indicates the name of the redis server. |
56 | skava.cache.redis.sentinel.nodes | This property indicates the comma-separated list of 'host:port ' pairs. |
57 | skava.cache.redis.timeout | This property holds the connection timeout value of all Redis connections for both read and write. |
58 | skava.cache.useOnlyL1Cache | This property is used to enable L1 cache |
59 | skava.cache.useOnlyL2Cache | This property is used to enable L2 cache |
60 | skava.core.releasedefinition.enabled | This property is used to enable the release definition endpoint. |
61 | skava.cors.allowedHeaders | This property is used to set allowedHeaders for cors request. |
62 | skava.cors.allowedMethods | This property is used to set allowedMethods for cors request. |
63 | skava.cors.allowedOrigins | This property is used to set allowedOrigins for cors request. |
64 | skava.cors.enabled | This property is used to enable the cors component. |
65 | skava.cors.exposedHeaders | This property is used to set exposedHeaders for cors request. |
66 | skava.cors.maxAge | This property is used to set maxAge for cors request in seconds. |
67 | skava.cors.pathPattern | This property is used to set pathPattern for cors request. |
68 | skava.crypto.alias | This property is used to set alias for crypto component. |
69 | skava.crypto.enabled | This property is used to enable/disable the crypto component. |
70 | skava.crypto.salt | This property is used to set the salt value for crypto component. |
71 | skava.crypto.textEncryptorClass | This property is used to set the fully qualified name of the custom implementation class. |
72 | skava.event.className | This property is used to set the fully qualified name of the custom implementation class. |
73 | skava.event.enabled | This property is used to enable/disable the event component. |
74 | skava.event.enableExternalEvent | This property is used to enable/disable the external event component. |
75 | skava.event.enableFatEvent | This property is used to enable/disable the fat event. |
76 | skava.event.eventbridge.eventBusName | This property is used to set the fully qualified name of the custom implementation class. |
77 | skava.event.eventbridge.region | This property is used to set the fully qualified name of the custom implementation class. |
78 | skava.event.externalClassName | This property is used to set the fully qualified name of the custom implementation class. |
79 | skava.event.externalFatEventClass | This property is used to set the fully qualified name of the custom implementation class. |
80 | skava.event.rabbitmq.addresses | This property sets the addresses for the RabbitMQ server cluster. |
81 | skava.event.rabbitmq.cluster-enabled | This property enables or disables the cluster for the RabbitMQ server. |
82 | skava.event.rabbitmq.concurrentConsumers | This property is used to set the maximum allowed concurrent consumers. |
83 | skava.event.rabbitmq.deadLetterExchange | This property is used to set the dead letter exchange for failed messages in the RabbitMQ server. |
84 | skava.event.rabbitmq.defaultMaxRetryCount | This property is used to set maximum retries for the failed messages in the RabbitMQ server. |
85 | skava.event.rabbitmq.enabled | This property is used to enable/disable the RabbitMQ server for the event component. |
86 | skava.event.rabbitmq.host | This property is used to set the host for RabbitMQ server. |
87 | skava.event.rabbitmq.password | This property is used to set password for the RabbitMQ server. |
88 | skava.event.rabbitmq.port | This property is used to set the port for RabbitMQ server. |
89 | skava.event.rabbitmq.queueName | This property is used to set the queue name used by the event component. |
90 | skava.event.rabbitmq.routingKey | This property is used to set the routing key for RabbitMQ server. |
91 | skava.event.rabbitmq.ssl.algorithm | This property sets the SSL algorithm, which is used for the RabbitMQ server. |
92 | skava.event.rabbitmq.ssl.enabled | This property enables or disables the SSL support for RabbitMQ server. |
93 | skava.event.rabbitmq.topicExchange | This property is used to set the topic exchange for RabbitMQ server. |
94 | skava.event.rabbitmq.userName | This property is used to set the username for the RabbitMQ server. |
95 | skava.event.rabbitmq.virtualHost | This property is used to set the virtual host for the RabbitMQ server. |
96 | skava.hibernate.acquireIncrement | This property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3 . |
97 | skava.hibernate.c3p0IdleTestPeriod | This property holds the idle time in seconds before a connection is automatically validated. If it is greater than 0 , c3p0 will test all idle, pooled but unchecked-out connections, at the specified time period (in seconds). |
98 | skava.hibernate.c3p0MaxSize | This property is used to set maxmium connection pool for hibernate. |
99 | skava.hibernate.c3p0MaxStatements | This property holds the number of prepared statements that will be cached, i.e., c3p0 's global PreparedStatement cache. This controls the total number of statements cached, for all connections. |
100 | skava.hibernate.c3p0MinSize | This property is used to set minimum connection pool for hibernate. |
101 | skava.hibernate.c3p0Timeout | This property holds the pools idle connection timeout post which the connection is removed from the pool. The value mentioned here is in seconds. The value of 0 indicates that idle connections never expire. |
102 | skava.hibernate.dialect | This property holds the dialect to be used by Hibernate. The dialect specifies the type of database used in Hibernate so that Hibernate can generate appropriate type of SQL statements. |
103 | skava.hibernate.driverClassName | This property holds the JDBC driver class name for making the connections to the database. |
104 | skava.hibernate.enabled | This property indicates whether the Hibernate component is enabled or disabled for this application. It is recommended that not to update this property from the default value. |
105 | skava.hibernate.formatSql | This property indicates whether the SQL statements enabled for printing should be formatted or not. If this property and the property skava.hibernate.showSql is set to true then the queries are SQL formatted making it more readable. |
106 | skava.hibernate.hbm2ddlAuto | This property holds the strategy to be used by Hibernate on startup. The possible values are validate, update, create, or create-drop which indicate the appropriate action will be taken on startup. It is recommended that the value is to be set as none in the production and/or production-like environments because where the schema will not be created every time the application starts up. |
107 | skava.hibernate.hibernateReader.acquireIncrement | This property determines how many connections at a time c3p0 will try to acquire when the pool is exhausted. The default value is 3 . |
108 | skava.hibernate.hibernateReader.c3p0IdleTestPeriod | This property holds the idle time in seconds before a connection is automatically validated. If it is greater than 0 , c3p0 will test all idle, pooled but unchecked-out connections, at the specified time period (in seconds) |
109 | skava.hibernate.hibernateReader.c3p0MaxSize | This property holds the maximum number of JDBC connections to be held in the pool at any given time. You need to take extra care while updating this value since it has a direct impact on the performance of the application, tune only when there is a necessity. The hibernate default value is 100 . |
110 | skava.hibernate.hibernateReader.c3p0MaxStatements | This property holds the number of prepared statements that be cached, i.e., c3p0 s global PreparedStatement cache. This controls the total number of Statements cached, for all Connections. |
111 | skava.hibernate.hibernateReader.c3p0MinSize | This propery holds the minimum number of JDBC connections in the pool. The default hibernate value is 1 . |
112 | skava.hibernate.hibernateReader.c3p0Timeout | This property is used to set database connection timeout for hibernate. |
113 | skava.hibernate.hibernateReader.enabled | This property is used to enable the reader DB. |
114 | skava.hibernate.hibernateReader.initialPoolSize | This property specifies the number of connections a pool tries to acquire upon startup. The default value is 3 . |
115 | skava.hibernate.hibernateReader.url | This property is used to set the database URL. |
116 | skava.hibernate.initialPoolSize | This property specifies the number of connections a pool tries to acquire upon startup. The default value is 3 . |
117 | skava.hibernate.newGeneratorMappings | This property holds the Hibernate setting. It indicates whether the new IdentifierGenerator implementations are used for AUTO, TABLE, and SEQUENCE or not. If it is set to false , the ID generation is left to the DB sequence or the application logic. It is recommended that this property is set as false . |
118 | skava.hibernate.packageToScan | This property indicates the Java package having all the database entity objects to be used by Hibernate component. |
119 | skava.hibernate.password | This property holds the data store password to be used by Hibernate component to connect to the database. |
120 | skava.hibernate.port | This property holds the port number of the database to be used by Hibernate component to connect to the database. |
121 | skava.hibernate.showSql | This property indicates whether the SQL generated by Hibernate to be printed in the log file or not. If it is set to true , will print all the SQLs generated by Hibernate as part of the dialect. |
122 | skava.hibernate.url | This property holds the database JDBC URL to enable the database connection. |
123 | skava.hibernate.username | This property holds the username to be used by Hibernate component to connect to the database. |
124 | skava.hikari.cachePrepStmts | This property is used to set the value to true so that other configurations, like skava.hikari.prepStmtCacheSize and skava.hikari.prepStmtCacheSqlLimit have any effect. |
125 | skava.hikari.dataSourceClassName | This 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. |
126 | skava.hikari.enabled | This property enables or disables the Hibernate Hikari component. |
127 | skava.hikari.idleTimeout | This 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 (i.e., 10 seconds ). The default value is 600000 ms (i.e., 10 minutes ). |
128 | skava.hikari.maximumPoolSize | This 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 . |
129 | skava.hikari.maxLifetime | This property controls the maximum lifetime of a connection in the pool. An in-use connection will never be retired, only when it is closed will it then be removed. On a connection-by-connection basis, minor negative attenuation is applied to avoid mass-extinction in the pool. We strongly recommend setting 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 (i.e., 30 minutes ). |
130 | skava.hikari.poolName | This 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. |
131 | skava.hikari.prepStmtCachesize | This property sets the cache size of the PreparedStatement . |
132 | skava.hikari.prepStmtCacheSqlLimit | This property sets the SQL limit of the PreparedStatement to be cached. |
133 | skava.hikari.useServerPrepStmts | This property is used to set useServerPrepStmts . |
134 | skava.keyprovider.algorithm | This property is used to set the algorithm to be used for encryption. |
135 | skava.keyprovider.enabled | This property is used to enable/disable the key provider. |
136 | skava.keyprovider.keyProviderClass | This property is used to set the fully qualified name of the custom implementation class. |
137 | skava.keyprovider.keySize | This property is used to set the key size |
138 | skava.keyprovider.keystorePassword | This property is used to set the keystore password. |
139 | skava.keyprovider.keystorePath | This property is used to set the keystore path. |
140 | skava.localization.cookieEnabled | This property is used to enable/disable the localization component. |
141 | skava.localization.default-locale | This property holds the default locale to be used for all response messages if it has not been provided in the request. |
142 | skava.localization.enabled | This property indicates whether the localization component is enabled or not. The value true indicates it is enabled and false indicates it is disabled. |
143 | skava.localization.externalPath | This property holds the external path from where the localized messages are to be read from. |
144 | skava.localization.param-name | This property holds the parameter name in which the localization component is used. |
145 | skava.localization.resourceBundleBaseName | This property holds the resource bundle's base name. |
146 | skava.log.enabled | This property is used to set the resource bundle's base name. |
147 | skava.log.fileAppenderEnabled | This 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 . |
148 | skava.log.fluentdAppenderEnabled | This property indicates whether the log file should be aggregated to Fluentd directly rather than to a file or not. |
149 | skava.log.fluentdHost | This property holds the hostname of Fluentd server instance where the log will be aggregated. |
150 | skava.log.fluentdPattern | This property holds the pattern for writing logs into the Fluentd server. |
151 | skava.log.fluentdPort | This property holds the port of Fluentd server instance where the log will be aggregated. |
152 | skava.log.fluentdTagName | This property holds the tag name to be added to the logs. |
153 | skava.secretsmanager.className | This property is used to specify which class to be used for the secret management. |
154 | skava.swaggerglobalparams.enabled | This 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. |
155 | spring.application.name | This property holds the application name of the Spring Boot application. |
156 | spring.autoconfigure.exclude | This property holds the classes that are to be excluded from the Spring's autoconfiguration. |
157 | spring.cloud.zookeeper.config.enabled | This property is used to enable/disable the ZooKeeper base path. |
158 | spring.cloud.zookeeper.config.root | This property is used to enable/disable the ZooKeeper base path. |
159 | spring.cloud.zookeeper.config.watcher.enabled | This property is used to enable/disable the zookeeper watcher. |
160 | spring.cloud.zookeeper.connect-string | This property is used to located somewhere other than localhost:2181 , the configuration is required to locate the server. |
161 | spring.cloud.zookeeper.enabled | This property is used to enable/disable the ZooKeeper server. |
162 | spring.sleuth.trace-id128 | This property is used to enable/disable the sleuth 128 bit traceid in the logs. |
163 | ZK_REDIS_SSL_ENABLED | This property enables or disables the Redis server SSL. The default value is FALSE . |
164 | ZK_REDIS_TIMEOUT | This property holds connection timeout value of Redis in milliseconds. The default value is 10000. |
165 | ZK_REDIS_USERNAME | This property holds the login username of the Redis server. The default value is empty. |
166 | ZK_PROTOCOLS | This property enables macro support for the TLS protocol version. |
167 | ZK_REDIS_PASSWORD | This property holds the Redis password. |
168 | skava.cache.redis.username | Login username of the redis server. |
169 | endpoints.loggers.enabled | This property is used to enable or disable the logger. |
170 | web.exposure.include | This property is used to expose the management endpoints. |
171 | server.max-http-header-size | To increase http header size we have externalize this property. |
172 | externalEventConfig.fileHost | This property is used to set the hosting events on external website. |
173 | externalEventConfig.tempStoragePath | This property is used to set the file path for the external events. |
174 | skava.event.rabbitmq.amqpEnabled | This property is used to enable AMQP (Advanced Message Queuing Protocol). When the value is
|
Revision History
2024-07-12 | SD – Updated ZK properties.
2024-06-19 | SD – Updated ZK properties for 8.17.0 to 8.16.0.
2023-10-22 | JP – Updated content for 8.15.4 release.
2023-01-09 | JP – Updated content for 8.13.0 release.
2022-04-10 | JP – Fixed link and http issues.
2021-12-27 | AN – Updated content for 8.11 release.
2020-12-09 | SW – Added missing 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-06-08 | PLK – Minor copyedits.
2019-05-10 | AM – Updated to a new table tool.
2019-05-01 | PLK – Minor copyedit.
2019-01-21 | PLK – Content uploaded.