Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display service offerings metadata #2715

Open
gberche-orange opened this issue Dec 20, 2023 · 1 comment
Open

Display service offerings metadata #2715

gberche-orange opened this issue Dec 20, 2023 · 1 comment
Assignees

Comments

@gberche-orange
Copy link

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 #1298 and closed without being reopened for v7 or v8

@a-b a-b self-assigned this Sep 6, 2024
@a-b
Copy link
Member

a-b commented Oct 1, 2024

Thank you for your patience regarding the issue you reported. We understand the importance of this matter and want to keep you informed.

We will be reviewing your ticket with our product team to assess its impact and potential next steps. Once we have their feedback, we will update you accordingly.

If you have any further questions or additional information to share in the meantime, please feel free to reach out.

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants