Gitlab Spring云配置服务器-引导属性文件-配置多个git存储库

Gitlab Spring云配置服务器-引导属性文件-配置多个git存储库,gitlab,spring-cloud,spring-cloud-config,configserver,spring-cloud-config-server,Gitlab,Spring Cloud,Spring Cloud Config,Configserver,Spring Cloud Config Server,我正在尝试在SpringCloudConfig服务器中配置多个gitlab存储库 我使用bootstrap.properties进行spring配置 下面是我的bootstrap.properties文件 server.port=8443 server.ssl.enabled=true server.ssl.keyAlias=abc.com server.ssl.key-store=/opt/jboss/security/abc.jks server.ssl.key-store-password

我正在尝试在SpringCloudConfig服务器中配置多个gitlab存储库

我使用bootstrap.properties进行spring配置

下面是我的bootstrap.properties文件

server.port=8443
server.ssl.enabled=true
server.ssl.keyAlias=abc.com
server.ssl.key-store=/opt/jboss/security/abc.jks
server.ssl.key-store-password=abcd

config.server.configuration.dir=/opt/jboss/config/spring_config

config.server.user.name=user
config.server.user.password=password

spring.cloud.config.server.git.skip.ssl.validation=false
spring.cloud.config.server.git.user.name=username
spring.cloud.config.server.git.user.password=password
spring.cloud.config.server.git.uri=https://gitlab1.repo.com/testapi/config-files1.git
在查阅了这些文档之后

我尝试配置另一个回购,如下所示

spring.cloud.config.server.git.uri.repos.repotwo.pattern=repotwo
spring.cloud.config.server.git.uri.repos.repotwo.uri=https://gitlab1.repo.com/testapi/config-files2.git
并尝试使用如下url访问文件

但它不起作用。我提到的大多数文章都使用.yml文件,而不是bootstrap.properties。有人能帮我吗