問題タブ [configserver]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
spring-boot - 構成サーバーがリモート アプリケーション ファイルを見つけることができません
構成サーバー上のアプリケーション/構成ファイルの参照に問題があります。すでに GAIA DEV プールの準備ができています。
これは私がこれまで行ってきたことです -
application.yml
必要な構成プロパティを含むファイルを作成しましたhello-service: message: Hello World From Spring Cloud Config Server
git repo -
feature/cs-hello
branch で確認しました。開発プールにログインしました
cf login -a [dev-pool-url]
構成サーバーを作成しました:
cf create-service -c "{\"git\": { \"label\": \"feature/cs-hello\", \"uri\": \""[GIT HTTPS URL]\", \"username\": \"[USERNAME]\", \"password\": \"[PASSWORD]\" } }" p-config-server standard config-server
さて、私の参照 [ https://docs.pivotal.io/spring-cloud-services/1-4/common/config-server/configuring-with-git.html ] - 私の設定ファイルはマスターブランチにないので、私は使用しlabel
ました。
どういうわけか、私のコードは構成サーバーでアプリケーション ファイルを見つけられません。
私に方向性を教えてくれる人はいますか?