spring-attic / spring-cloud-aws

All development has moved to https://github.com/awspring/spring-cloud-aws Integration for Amazon Web Services APIs with Spring
https://awspring.io/
Apache License 2.0
590 stars 373 forks source link

Writing tests and fix for #645. #710

Closed MatejNedic closed 3 years ago

MatejNedic commented 3 years ago

:loudspeaker: Type of change

:scroll: Description

I only managed to reproduce error when in Json payload there would be contentTypes attribute "Value" without charset=UTF-8 "contentType": { "Type": "String", "Value": "application/json;" }, To fix it old ISO-8859-1 was replaced with StandardCharsets.UTF_8.name() .

:bulb: Motivation and Context

Fixing #645 .

:green_heart: How did you test it?

:pencil: Checklist

:crystal_ball: Next steps

eddumelendez commented 3 years ago

Thanks Matej! You can run ./mvnw io.spring.javaformat:spring-javaformat-maven-plugin:0.0.25:apply to fix the format issue.