私はAngel.SR3で作業する前に、発見サーバーと構成サーバーを開始でき、http://localhost:8761に構成サーバーを見つけることができます。 Brixtonリリースに移行した後、同じ設定サーバーのプロパティがもう機能しません。 コンフィグサーバapplication.yml:spring cloud Brixton.RELEASE設定サーバー
server:
port: 8099
spring:
cloud:
config:
server:
native:
search-locations: classpath:/config
bootstrap.yml
spring:
application:
name: config
eureka:
instance:
non-secure-port: ${server.port:8099}
metadata-map:
instanceId: ${spring.application.name}:${random.value}
client:
service-url:
defaultZone: http://${eureka.host:localhost}:${eureka.port:8761}/eureka/
発見サーバapplication.yml
server:
port: 8761
eureka:
instance:
hostname: localhost
client:
register-with-eureka: false
fetch-registry: false
いずれも、ブリクストンのリリースのための実行可能なデモを持っていますか?
発見サーバー構成application.yml – richard