how to interact with DynamoDB using ReadyAPI Groovy..
I Am trying to Communicate with dynamo db using ReadyAPI, Created a jar that works on command prompt but when and use it in readyAPI it simply doesnt work
give Error
java.lang.NoSuchMethodError: 'boolean com.amazonaws.internal.config.InternalConfig.endpointDiscoveryEnabled().
My Code is as follows it works perfectly in java/or any other environment.. i have debugged researched it alot and have doubt issue is some where around "AmazonDynamoDBClientBuilder"
dbMapperCreator() {
AWSCredentialsProvider creds = new AWSStaticCredentialsProvider(new BasicAWSCredentials("******","**********"));
AmazonDynamoDB dbclient = AmazonDynamoDBClientBuilder.standard().withCredentials(creds).withRegion("us-east-2").build();
DynamoDBMapper mapper = new DynamoDBMapper(dbclient);
myload(mapper);
}
Any Guidelines are appreciated
- Ensure there are no multiple versions of the same library being used by readyapi.