Closed joostlammers closed 4 years ago
any updates on this?
Currently broken in snapshot, This impl construct does not pickup the mapper config currently in git master snapshot unless fixed,
<dynamodb:repositories base-package="com.xyz.repositories" dynamodb-mapper-config-ref="aws-dynamodb-mapper-config" amazon-dynamodb-ref="aws-dynamodb-client" />
I've tested by changing below lines:
private static final String DYNAMO_DB_MAPPER_CONFIG_REF = "dynamoDBMapperConfig"; private static final String DYNAMO_DB_OPERATIONS_REF = "dynamoDBOperations"; private static final String AMAZON_DYNAMODB_REF = "amazon-dynamodb-ref";
to,
private static final String DYNAMO_DB_MAPPER_CONFIG_REF = "dynamodb-mapper-config-ref"; private static final String DYNAMO_DB_OPERATIONS_REF = "dynamodb-operations-ref"; private static final String AMAZON_DYNAMODB_REF = "amazon-dynamodb-ref";
compiled, tested which seems to "work".
Do we plan to merge this onto master ?
Hi!
This was fixed some time ago in a fork of this project:
https://github.com/derjust/spring-data-dynamodb/commit/b8bd30f9623eb1705914f86a9f603c6100d17ba1 and went into the 5.0.1
release
According to the XSD, the following attributes are supported on the repositories element:
In the DynamoDBRepositoryConfigExtension.java it appears to be looking for different attributes:
causing my dynamodb-mapper-config-ref value to be ignored.