Metadata manifest attribute not supported
まだ誰も着手していません。
評価
調査の方向性
ApplicationManifestUtilsV3.read と write から始め、提供されたマニフェストと出力を再現に使用します。そのラウンドトリップ中にメタデータがどのように表現されるかを追跡し、Issue に記載されたラベルとアノテーションを保持して、結果のマニフェストにそれらが保持されていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
The cloud foundry app manifest supports a metadata attribute for setting labels and annotations: https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#metadata
However, this attribute seems to be ignored by the cf-java-client.
How to reproduce
Here is a minimal example that reproduces the issue:
ManifestV3 manifest = ApplicationManifestUtilsV3.read(Path.of("test-manifest-with-labels.yaml"));
ApplicationManifestUtilsV3.write(Path.of("test-manifest-result.yaml"), manifest);
Content of test-manifest-with-labels.yaml:
---
applications:
- name: test-app
memory: 1G
instances: 1
metadata:
labels:
test-label: "test-value"
Content of test-manifest-result.yaml after the snippet above has run:
---
applications:
- name: test-app
memory: 1G
instances: 1
As you can see, the metadata information has been removed. When using the cf-java-client to deploy such a manifest, the metadata labels and annotations are therefore discarded. I would expect the attributes mentioned in the cloud foundry documentation to be supported by this client library, including the metadata attribute.
- 主要言語
- Java
- スター
- 334
- フォーク
- 319
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudfoundry/cf-java-client のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cloudfoundry/cf-java-client#1374 ·
-
Integration tests fail: test-service-broker.jar incompatible with java-buildpack v5 (JDK 17 default) オープン
難易度 2/5 半日 初心者へのやさしさ 74/100
cloudfoundry/cf-java-client#1344 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cloudfoundry/cf-java-client#1376 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
cloudfoundry/cf-java-client#1373 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
cloudfoundry/cf-java-client#1370 ·
cloudfoundry/cf-java-client の issue をすべて見る
似ている issue
-
Bug Java Platform: Java
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/sentry-java#6138 · コメント 1 件 ·
-
bug needs triage p2
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
GoogleCloudPlatform/DataflowTemplates#4273 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100