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

[Feature] Add app-protocol to cf routes command output #2234

Merged
merged 3 commits into from
Nov 22, 2021

Conversation

jdgonzaleza
Copy link
Contributor

Currently we do not show the app-protocol in the output of the cf routes command, so a new column must be added to the output.
Also, the apps mapped to the route should be displayed in the apps column and must be separated with commas.

When running the cf routes command I'm able to see the app-protocol column in the output and the value for it should be a comma separated list that contains http1 and/or http2. This is in the case that the route is an HTTP route.

$ cf routes
space         host                     domain         port   path   protocol   app-protocol     apps                     service instance
MySpace       myHost                   domain.cli.fun               http       http1,http2      app1, app

Juan Diego Gonzalez added 2 commits November 17, 2021 23:03
Currently we do not show the app-protocol in the output
of the cf routes command, so a new column must be added
to the output. Also, the apps mapped to the route should
be displayed in the apps column and must be separated with commas.
@jdgonzaleza jdgonzaleza force-pushed the feature/app-protocol-to-cf-routes branch from 03e1534 to 3deb205 Compare November 22, 2021 21:50
@jdgonzaleza jdgonzaleza merged commit a45d9af into master Nov 22, 2021
@@ -928,13 +936,18 @@ var _ = Describe("Route Actions", func() {

for i := 0; i < batcher.BatchSize*batches; i++ {
port := i + 1000
appProtocol := "http1"
if i%2 == 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clever ;)

Copy link
Member

@a-b a-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

hjcalderon10 pushed a commit that referenced this pull request Nov 23, 2021
Currently we do not show the app-protocol in the output
of the cf routes command, so a new column must be added
to the output. Also, the apps mapped to the route should
be displayed in the apps column and must be separated with commas.

Co-authored-by: Hector Calderon <hecalderon@vmware.com>
hjcalderon10 pushed a commit that referenced this pull request Feb 7, 2022
Currently we do not show the app-protocol in the output
of the cf routes command, so a new column must be added
to the output. Also, the apps mapped to the route should
be displayed in the apps column and must be separated with commas.

Co-authored-by: Hector Calderon <hecalderon@vmware.com>
@moleske moleske deleted the feature/app-protocol-to-cf-routes branch August 24, 2023 23:55
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.

4 participants