Display service offerings metadata
I maintainer di solito rispondono entro 4 giorni
@a-b ci sta già lavorando.
Dal 6/9/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Please provide details on the following items. Failure to do so may result in deletion of your feature request.
What's the user value of this feature request?
- As a cf user,
- In order to discover osb metadata associated to a service offering (longDescription, documentationUrl, supportUrl) and metadata associated to plans (bullets).
- I need cf cli to display them
Who is the functionality for?
App developers, Space managers
Describe the solution you'd like
cf m -e displays the service offering metadata
currently it only partially displays plan metadata, but no service offering metadata:
$ cf m -b osb-cmdb-broker-cf-z2 -e mariadb-shared-dev --show-unavailable
Getting service plan information for service offering mariadb-shared-dev from service broker osb-cmdb-broker-cf-z2 in org system_domain / space smoke-tests as xxx...
broker: osb-cmdb-broker-cf-z2
plan description free or paid costs available
10mb Shared MySQL/MariaDB Galera Cluster free EUR 0.00/Monthly yes
20mb Shared MySQL/MariaDB Galera Cluster paid EUR 0.00/Monthly yes
100mb Shared MySQL/MariaDB Galera Cluster paid EUR 0.00/Monthly yes
1gb Shared MySQL/MariaDB Galera Cluster paid EUR 0.00/Monthly yes
15gb Shared MySQL/MariaDB Galera Cluster paid EUR 0.00/Monthly yes
Describe alternatives you've considered
use cf curl and yq to extra metadata from cf api
The following example extracts from cf marketplace command the cf curl command to execute and then displays partial json output for bullets
cf curl "$(CF_TRACE=true cf m | grep 'GET ' | awk '{print $2}')" | jq ".resources[].broker_catalog.metadata.bullets " | grep -v null
"1 GB storage",
"20 concurrent connections"
]
[
"15 GB storage",
"75 concurrent connections"
]
[
"No yet limits",
"1 CPU",
"2 GB Memory",
"3 * 100 20 GB Disk"
]
Additional context
Same previous feature request against cf v6 was tracked in https://github.com/cloudfoundry/cli/issues/1298 and closed without being reopened for v7 or v8
- Lingua principale
- Go
- Stelle
- 1.9k
- Fork
- 990
- Merge medio
- 1g 7h
- PR unite (30g)
- 8
Preparare l'ambiente
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/cli
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
cloudfoundry/cli#3866 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
cloudfoundry/cli#3863 · 2 commenti ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
cloudfoundry/cli#3851 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 4 giorni
-
Add zsh shell completionAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
cloudfoundry/cli#3794 ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
cloudfoundry/cli#3787 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di cloudfoundry/cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Remove obsolete ipAllocationPolicy field from containernodepool-subnetworkref test dependencyAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
GoogleCloudPlatform/k8s-config-connector#13462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
coder/coder#29955 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
microsoft/TypeScript#64453 ·
I maintainer di solito rispondono entro 1 giorno
-
OpenAI-compatible endpoint: response ids have only 999 possible values (chatcmpl-rand.Intn(999))Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno