带有 Subversion 后端的 Spring Cloud 配置 [英] Spring cloud config with Subversion backend

查看:48
本文介绍了带有 Subversion 后端的 Spring Cloud 配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这可能吗?Perforce呢?我需要使用其中一个或基于文件的文件,然后使用 crontab 或其他东西将其签入.

is this possible? What about Perforce? I would need to use one of these or a file based and check it in with the crontab or something.

推荐答案

当然可以实现 SVN 或 Perforce.您需要实施 EnvironmentRepository.见 JGitEnvironmentRepository 示例.

It is certainly possible to implement SVN or Perforce. You would need to implement EnvironmentRepository. See JGitEnvironmentRepository for an example.

有关使用本地文件,请参阅此问题:Spring Cloud 配置服务器无法使用本地属性文件

See this question for working with local files: Spring Cloud Configuration Server not working with local properties file

这篇关于带有 Subversion 后端的 Spring Cloud 配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆