Metadata manifest attribute not supported
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
Inizia da ApplicationManifestUtilsV3.read e write, utilizzando il manifest e l’output forniti come riproduzione. Traccia come vengono rappresentati i metadati durante questo round trip, preserva le etichette e le annotazioni descritte nell’issue e verifica che il manifest risultante le mantenga.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Java
- Stelle
- 334
- Fork
- 319
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudfoundry/cf-java-client
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cloudfoundry/cf-java-client#1374 ·
-
Integration tests fail: test-service-broker.jar incompatible with java-buildpack v5 (JDK 17 default) Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 74/100
cloudfoundry/cf-java-client#1344 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
cloudfoundry/cf-java-client#1373 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
cloudfoundry/cf-java-client#1370 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
cloudfoundry/cf-java-client#1367 ·
Tutte le issue di cloudfoundry/cf-java-client
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#157 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cryptomator/hub#497 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
johanhaleby/occurrent#1120 ·