Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

feat: Implement protocol field #32

Merged

Conversation

b1tamara
Copy link
Contributor

Expect(registryMessage.URIs).To(Equal(expectedRegistryMessage.URIs))
Expect(registryMessage.Port).To(Equal(expectedRegistryMessage.Port))
Expect(registryMessage.RouteServiceUrl).To(Equal(expectedRegistryMessage.RouteServiceUrl))
Expect(registryMessage.Tags).To(Equal(expectedRegistryMessage.Tags))
Copy link

Choose a reason for hiding this comment

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

shouldn't we check for the protocol here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

To support http2 routes, this commit adds an additional field to the
route configuration called `protocol` which can be set to `http` or
`http2` (or left empty). The field is also included in the route that is
announced to gorouter.

Co-Authored-By: Tamara Boehm <[email protected]>
Resolves: cloudfoundry/routing-release#320
@b1tamara b1tamara force-pushed the implement-protocol-field branch from 0d865b3 to a2045db Compare May 5, 2023 08:34
@b1tamara b1tamara requested a review from domdom82 May 5, 2023 08:35
@b1tamara b1tamara merged commit 64012ae into cloudfoundry:main May 9, 2023
@maxmoehl maxmoehl deleted the implement-protocol-field branch May 9, 2023 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants