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.

  1. Ensure that the cache service is up and running.
  2. Add the configuration (refer the following section) in the generic configuration microservice.
  3. Create the cache configuration data for an application using the cache configuration APIs (refer Management APIs section).
  4. 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:

  • True if SSL is enabled.
  • False if SSL is disabled.

Copyright © 2020- Temenos Headquarters SA

Published on :
Wednesday, October 12, 2022 6:50:03 PM IST

Feedback
x