Sangpil Yoon created IGNITE-4858:
------------------------------------
Summary: TcpDiscoveryS3IpFinder.setAwsCredentials should not be be overloaded
Key: IGNITE-4858
URL:
https://issues.apache.org/jira/browse/IGNITE-4858 Project: Ignite
Issue Type: Bug
Reporter: Sangpil Yoon
Due to this method being overloaded, the javabeans property "awsCredentials" is undefined, causing spring framework to spew error when it is given AWSCredentials.
{code}
Caused by: java.lang.IllegalStateException: Cannot convert value of type [com.amazonaws.auth.BasicAWSCredentials] to required type [com.amazonaws.auth.AWSCredentialsProvider] for property 'awsCredentials': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:287)
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:440)
... 36 more
{code}
I suggest that the version accepting AWSCredentialsProvider be named setAwsCredentialsProvider.
Related spring issue:
https://jira.spring.io/browse/SPR-4931--
This message was sent by Atlassian JIRA
(v6.3.15#6346)