Skip to content

Conversation

@srprash
Copy link
Contributor

@srprash srprash commented Jun 30, 2025

Issue # : #423
Even though the issue is closed due to mitigation by rollback, the problem is with the deserialization of response in the SDK.

Description of changes:

Testing:

  • Without the configuration, the UnsignedXrayClientTest > getSamplingTargets unit test fails with the following error:
    com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "Foo" (class com.amazonaws.services.xray.model.SamplingTargetDocument), not marked as ignorable (5 known properties: "ReservoirQuota", "ReservoirQuotaTTL", "FixedRate", "Interval", "RuleName"])
    at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 9, column: 21] (through reference chain: com.amazonaws.services.xray.model.GetSamplingTargetsResult["SamplingTargetDocuments"]->java.util.ArrayList[0]->com.amazonaws.services.xray.model.SamplingTargetDocument["Foo"])

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

@srprash srprash marked this pull request as ready for review June 30, 2025 16:59
@srprash srprash requested a review from a team as a code owner June 30, 2025 16:59
@srprash srprash merged commit acf630d into master Jul 1, 2025
6 checks passed
@srprash srprash deleted the srprash_test branch July 1, 2025 20:30
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