简体   繁体   English

将Grails Config.groovy,Gradle.build和BuildConfig.groovy转换为Yaml文件

[英]Converting Grails Config.groovy, Gradle.build and BuildConfig.groovy to Yaml files

Currently working on a Grails 3 application, that uses an implementation of Redis/Redisson plugins for 2nd level caching(and perhaps some explicit implementation in the near future). 当前正在使用Grails 3应用程序,该应用程序使用Redis / Redisson插件的实现进行第二级缓存(可能在不久的将来实现某些显式实现)。 With the guides however, I am having trouble understanding how to configure the application with Yaml files, as opposed to the typical config files used in Grails 2 applications I've worked on recently. 但是,通过这些指南,我很难理解如何使用Yaml文件配置应用程序,而不是我最近使用的Grails 2应用程序中使用的典型配置文件。

The below screenshots are the instructions provided for how to configure the redis implementation, given what appears to be a Spring Java application. 下面的屏幕截图是针对给定的Spring Java应用程序提供的有关如何配置Redis实现的说明。

My question is what the counterpart of these files would be if they were for a Grails 3 application, and were Yaml and DOTproperties files. 我的问题是,如果这些文件用于Grails 3应用程序,并且是Yaml和DOTproperties文件,那么这些文件将是什么对应文件。

DOTProperties文件Hibernate Redis配置文件。不确定此文件的名称或去向/名称

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM