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

Fix backend override rules #72

Merged
merged 11 commits into from
Dec 4, 2020
Merged

Fix backend override rules #72

merged 11 commits into from
Dec 4, 2020

Conversation

filex
Copy link
Contributor

@filex filex commented Dec 2, 2020

No description provided.

@filex filex changed the title More tests Fix backend override rules Dec 2, 2020
Fixup couper test env name and unset
config/runtime/server.go Outdated Show resolved Hide resolved
config/runtime/server.go Outdated Show resolved Hide resolved
Add related code documentation
small refactor for configuration load
@alex-schneider alex-schneider marked this pull request as ready for review December 3, 2020 14:50
@malud malud added this to the 0.3 milestone Dec 3, 2020
Fixed obsolete bodies append and small refinements
@alex-schneider alex-schneider merged commit 03c6996 into master Dec 4, 2020
@malud malud deleted the more-tests branch December 4, 2020 11:20
malud pushed a commit that referenced this pull request Dec 7, 2020
Leads to getAttribute errors for recently added dynamic evals for origin, path and hostname
malud pushed a commit that referenced this pull request Dec 8, 2020
Leads to getAttribute errors for recently added dynamic evals for origin, path and hostname
malud pushed a commit that referenced this pull request Dec 9, 2020
Leads to getAttribute errors for recently added dynamic evals for origin, path and hostname
malud pushed a commit that referenced this pull request Dec 14, 2020
* upstream validation: implementation, first try (#21)

* add upstream swagger file, referenced in couper.hcl (#21)

* rename swagger_definition -> openapi_file (#21)

* openapi block with properties instead of properties only; request/response are always validated if openapi block is present; request is rejected if invalid and ignore_request_violations is not true; response is rejected if invalid and ignore_response_violations is not true (#21)

* invalid upstream request gets 400 - Bad Request; invalid upstream response gets 502 - Bad Gateway (#21)

* keep backend status code in log even in case of response validation error (#21)

* validation message in backend log's message field (#21)

* tests for validation (#21)

* extracted OpenAPI validator (#21)

* Fixed validation errors in openapi file to be logged as errors instead of panic (#21)

* Fixup openAPI validation test

* Handle body rewind

Refactor openAPI error handling

* Fix set getBody method first #72

Leads to getAttribute errors for recently added dynamic evals for origin, path and hostname

* Add buffer stringer implementation

Add stringer tool to generate for const

* Add test for bufferOption interaction

* rm httpbin.yaml

* Fix documentation hcl format

* Remove loose punctuation mark from documentation

Fix couper version to latest release

* Add openapi documentation and example link

* Fixup obsolete conditions

* Add validation exclude options

Fix passing the query param

* Fixup validation tests

e.g. query 404 -> 404= due to our set query feature

* Update validation documentation

* Use req context

* Fix merge openAPI and use partialContent for deprecated log

* Upgrade kin-openapi dependency to latest v0.33.0

* Add documentation note about openapi3

* Add additional openapi test

Remove own getBody set since openapi3 does this already (too)

* Revert configurable validation exclude options

* Add additonal openapi link

Co-authored-by: Marcel Ludwig <marcel.ludwig@avenga.com>
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