問題タブ [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.

0 投票する
1 に答える
100 参照

spring-boot - 構成サーバーがリモート アプリケーション ファイルを見つけることができません

構成サーバー上のアプリケーション/構成ファイルの参照に問題があります。すでに GAIA DEV プールの準備ができています。

これは私がこれまで行ってきたことです -

  • application.yml必要な構成プロパティを含むファイルを作成しました

    hello-service: message: Hello World From Spring Cloud Config Server

  • git repo - feature/cs-hellobranch で確認しました。

  • 開発プールにログインしました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ました。

どういうわけか、私のコードは構成サーバーでアプリケーション ファイルを見つけられません。

私に方向性を教えてくれる人はいますか?