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

Cloud Foundry Route Lookup Plugin #499

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Cloud Foundry Route Lookup Plugin #499

merged 6 commits into from
Nov 26, 2024

Conversation

Dariquest
Copy link
Contributor

@Dariquest Dariquest commented Nov 22, 2024

Cloud Foundry Route Lookup Plugin

This is a Cloud Foundry CLI plugin to quickly identify applications, a given route is pointing to.
Note this will only show applications in organizations and spaces, that the logged-in user has permissions to view.
The plugin also supports targeting to the organization and space of the applications, a given route is pointing to.

Usage Sample

$ cf lookup-route <my.example.com>
Bound to:
Organization: <org> (<org_guid>)
Space       : <space> (<space_guid>)
App         : <app1> (<app_guid_1>)
App         : <app2> (<app_guid_2>)

Why Is This PR Valuable?

  • There are multiple scenarios, where users wish to quickly search for all the apps bound to a certain route, target the corresponding org and space of the apps to perform some changes there (e.g. list or add users).
  • This plugin uses CF API v3.

TO DOs

  • The plugin's name field in repo-index.yml matches the Name field in the plugin's plugin.PluginMetadata section
  • The plugin's url field in repo-index.yml contains the same version from the version field

repo-index.yml Outdated Show resolved Hide resolved
@Dariquest Dariquest requested a review from maxmoehl November 26, 2024 10:06
@maxmoehl
Copy link
Member

Hi @cloudfoundry/wg-app-runtime-interfaces-cli-approvers, can you please review this PR? Thanks!

@Samze Samze merged commit 8ce2bb9 into cloudfoundry:main Nov 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants