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

Supports kotlin based dsl for routes #62

merged 2 commits into from Sep 28, 2017


None yet
2 participants
Copy link

bijukunjummen commented Sep 7, 2017

Supports #57 - This is a PR just to show an early version of the DSL for defining routes using the Kotlin DSL. A sample configuration looks like this:

gateway {
            route {
                predicate(host("**") and path("/image/png"))
                add(addResponseHeader("X-TestHeader", "foobar"))

            route {
                add(addResponseHeader("X-AnotherHeader", "baz"))
                add(addResponseHeader("X-AnotherHeader-2", "baz-2"))


This comment has been minimized.

Copy link
Contributor Author

bijukunjummen commented Sep 27, 2017

any thoughts on this approach @spencergibb

@spencergibb spencergibb merged commit f65112f into spring-cloud:2.0.x Sep 28, 2017

@spencergibb spencergibb added this to the 2.0.0.M3 milestone Sep 28, 2017

@spencergibb spencergibb removed this from the 2.0.0.M3 milestone Oct 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.