A client to wrap HKDir DBH's publication channel databases.
Sometimes, you may wish to resolve many resources (semi-) simultaneously, which may degrade upstream response times. In these cases, follow these steps:
- Upload the data set (csv format, see model
.../channelregistrycache/db/model/ChannelRegistryCacheDao.java) to the s3 bucket channel-register-cache-{accountId} - If channel registry data already exists in dynamoDB, empty the table channel-register-cache-{stackName}
- Trigger
LoadCacheButtonHandlerlambda function - Configure the
ApplicationConfigurationProfile:- Navigate to AWS Systems Manager → AppConfig.
- Choose ApplicationConfig → ApplicationConfigurationProfile.
- If there is no existing version with the value you want to deploy → navigate to Systems
Manager, Parameter Store and update the SSM parameter
named
ApplicationConfigurationParameter. UpdatepublicationChannelCacheEnabledvalue totrueorfalse. - Return to ApplicationConfig → ApplicationConfigurationProfile and choose version of Config you want to deploy.
- During deployment, select the environment you want to use. Currently, there is a single environment named Live. Choose the deployment strategy AllAtOnce.
- Press Start deployment.
- Please note that deployment may take some time.
{
"publicationChannelCacheEnabled": true
}!Important: Caching is only supported for fetching publication channels by id and year, not
search.
