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(dao) cassandra boolean serialization #3362

Closed
wants to merge 2 commits into from

Conversation

gszr
Copy link
Member

@gszr gszr commented Mar 31, 2018

Summary

Correctly serialize boolean values in Cassandra.

Issues resolved

Queries filtering on boolean values would result in an error. At the admin API level, this can be reproduced by issuing a request that filters on a boolean field - e.g., GET /apis?preserve_host=false, which will result in a 500 response.

Serialize boolean values.
@thibaultcha
Copy link
Member

I think an integration test in the DAO or Admin API suite would be appropriate?

@gszr gszr force-pushed the fix/cassandra-boolean-serialization branch 2 times, most recently from 0cd030b to 63cea74 Compare April 2, 2018 21:21
@gszr gszr force-pushed the fix/cassandra-boolean-serialization branch from 63cea74 to e66136a Compare April 2, 2018 22:28
thibaultcha pushed a commit that referenced this pull request Apr 3, 2018
Queries filtering on boolean values would result in an error. At the
admin API level, this can be reproduced by issuing a request that
filters on a boolean field - e.g., GET /apis?preserve_host=false, which
will result in a 500 response.

From #3362

Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
@thibaultcha
Copy link
Member

Manually merged, thank you!

@thibaultcha thibaultcha closed this Apr 3, 2018
@thibaultcha thibaultcha deleted the fix/cassandra-boolean-serialization branch April 3, 2018 05:30
kikito pushed a commit to kikito/kong that referenced this pull request Apr 10, 2018
Queries filtering on boolean values would result in an error. At the
admin API level, this can be reproduced by issuing a request that
filters on a boolean field - e.g., GET /apis?preserve_host=false, which
will result in a 500 response.

From Kong#3362

Signed-off-by: Thibault Charbonnier <thibaultcha@me.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.

2 participants