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 JSON parsing of GetSamplingRules and SamplingTargets endpoint #171

Merged
merged 2 commits into from
Jun 21, 2020

Conversation

anuraaga
Copy link
Contributor

Issue #, if available: Fixes #170

Description of changes:

The JSON response for sampling rules uses AWS-specific float values for date/times, not standard strings. Instead of incomplete round-tripping of the POJOs through OBJECT_MAPPER it was much more important to use actual strings from the CLI documentation for the unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@anuraaga anuraaga changed the title Fix JSON parsing of GetSamplingRules. Fix JSON parsing of GetSamplingRules and SamplingTargets endpoint Jun 21, 2020
Copy link
Contributor

@willarmiros willarmiros left a comment

Choose a reason for hiding this comment

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

LGTM

@anuraaga anuraaga merged commit ed18a1b into aws:master Jun 21, 2020
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.

X-Ray Sampling Rules :: Error reading response
2 participants