Updating On-demand Bulk Cache
This section helps you to enable the cache service for bulk configuration data.
This feature is used to store the bulk configuration data in cache service. It is helpful when you want to store all the created application configuration data in cache service.
To enable this feature, perform the following steps.
- Ensure that the cache service is up and running.
- Add the configuration (refer the following section) in the generic configuration microservice.
- Create the cache configuration data for an application using the cache configuration APIs (refer Management APIs section).
- Run the cache update job in K8 environment. In Azure AWS environment, the scheduler triggers the job automatically.
The configuration is inserted or updated in the cache service. You can check the data stored in KEY VALUE format (GroupId.ConfigName), in the Redis cache service.
The following environment variables should be added in the cacheupdation job.
| Property | Value |
|---|---|
|
temn.msf.entityExtractFunction.param.entityName |
MasterGenericConfig |
|
temn.msf.entityExtractFunction.param.pageSize |
1 |
|
temn.msf.data.entity.class.MasterGenericConfig |
com.temenos.microservice.genericconfig.entity.MasterGenericConfig |
|
temn.msf.mdal.bulk.eventproducer.MasterGenericConfig |
com.temenos.microservice.genericconfig.event.BulkCacheEventProducer |
|
className_CacheBulkUpdate |
com.temenos.microservice.framework.core.bulk.InvokeEntityExtractFunction |
The following properties should be added in the Ingester environment.
| Property | Value |
|---|---|
|
temn.msf.function.class.ProcessBulkEvent |
com.temenos.microservice.genericconfig.function.ProcessBulkEventImpl |
|
className_getConfigurations |
com.temenos.microservice.genericconfig.function.GetConfigurationsImpl |
|
temn.cache.host |
127.0.0.1 |
|
temn.cache.port |
6379 |
The following properties should be added in the Azure Ingester environment.
| Property | Default Value | Description |
|---|---|---|
|
temn.cache.password |
null |
Access key of the cache service. |
|
temn.cache.ssl |
true |
Allowed values are:
|
In this topic