Skip to content

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

@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