in src/main/java/com/epam/digital/data/platform/storage/form/factory/StorageServiceFactory.java [139:148]
private FormDataKeyValueRepository newFormDataKeyValueRepository(
RedisTemplate<String, Object> template) {
RedisKeyValueAdapter keyValueAdapter = new RedisKeyValueAdapter(
template.opsForHash().getOperations());
RedisKeyValueTemplate keyValueTemplate = new RedisKeyValueTemplate(keyValueAdapter,
new RedisMappingContext());
RepositoryFactorySupport factory = new RedisRepositoryFactory(keyValueTemplate);
return factory.getRepository(FormDataKeyValueRepository.class);
}