Comments (11)
The upcomming holidays will be helpful for sure to catch up here on various issues.
Maybe having some time even this week to address the new AWS library
from spring-data-dynamodb.
Hi @OllyJFox ,
I have managed to fix the integration test issue. You may try the code at
https://github.com/vitolimandibhrata/spring-data-dynamodb/tree/auditing-gosling
I have updated the base code to spring-data-dynamodb-4.3.1
Take a look at org.socialsignin.spring.data.dynamodb.config.AuditingViaJavaConfigRepositoriesIT as the sample code.
from spring-data-dynamodb.
No I'm currently not working on Auditing support - so feel free to bring it to a first usable state and open a PR.
I'm less concerned at that point about unit testing (whereas each unit test is always welcome) but mostly concerned around integration tests. Please ensure that such a test exists which also explains the usage/use-case of the auditing feature.
Thanks!
Sebastian
P.S.: If it is only working via annotation in a first shot that's fine. I'm happy to add the XSD/XML processing enchilada
from spring-data-dynamodb.
Hi @derjust,
Just a short update. The code to support Auditing is working well in my own project but somehow it is not working in the spring-data-dynamodb project integration test :)
I have included the XML configuration too in my latest commit
https://github.com/vitolimandibhrata/spring-data-dynamodb/commits/auditing-support
I will try to find time to complete it.
Cheers
Vito
from spring-data-dynamodb.
Hi!
I will def. have a look. Sometimes those integration tests are suckers :P
Iām quite under load till the end of next week.
So hopefully I get it squeezed in this weekend or after next weekend.
Thanks for your work!
Sebastian
from spring-data-dynamodb.
Hi @vitolimandibhrata is there any progress on this pull request? A feature i'd love to use!
from spring-data-dynamodb.
Hi @derjust ,
I have managed to fix the integration test issue.
It turns out that I need to inject the ApplicationEventPublisher into DynamoDBTemplate manually from DynamoDBRepositoryFactoryBean as DynamoDBTemplate is not invoked as a bean.
Thus, I add ApplicationContextAware interface to DynamoDBRepositoryFactoryBean and inject ApplicationEventPublisher into DynamoDBTemplate on the createRepositoryFactory method.
DynamoDBTemplate dynamoDBTemplate = new DynamoDBTemplate(amazonDynamoDB,dynamoDBMapperConfig);
dynamoDBTemplate.setApplicationContext(applicationContext);
dynamoDBOperations = dynamoDBTemplate;
I have updated the base code to spring-data-dynamodb-4.3.1
https://github.com/vitolimandibhrata/spring-data-dynamodb/tree/auditing-gosling
Please take a look
Vito
from spring-data-dynamodb.
@derjust Another small thing, i'm not seeing 4.3.0 up on maven, or anything since 4.2.3 for that matter.
@vitolimandibhrata and @derjust are we planning a pull request when we are happy with this feature. I'll hopefully get a chance to try out your changes later today.
from spring-data-dynamodb.
@OllyJFox I'm sorry I missed a step. Should be fixed now in some hours.
I def. want to merge this feature after reviewing it
from spring-data-dynamodb.
Would you please push 4.2.4 to maven as well? I have some decencies that required aws library version higher than 1.9.x, ideally 1.11.x
from spring-data-dynamodb.
I was able successfully build this project with the most recent AWS library version 1.11.66
Would it be possible for you to push new version of the version 4.2.4
including new aws library to the maven repository?
from spring-data-dynamodb.
Related Issues (20)
- Missing Local index projection settings
- Getting classnotfoundexception for class ReflectionEntityInformation HOT 3
- Getting NPE HOT 2
- project init error HOT 1
- Problem with findBy..Contains on a set HOT 3
- GSI query problem. HOT 1
- Hashmap Iteration Problem in thymeleaf
- AbstractDynamoDBEventListener throws assertion error
- using dynamic dynamodb's tablename, don't use find method for GSI. HOT 1
- This Spring Data DynamoDB implementation might not be compatible with the available Spring Data classes on the classpath HOT 5
- cdi-api dependency has a known vulnerability CVE-2014-8122
- TableNameResolver does not work with @DynamoDBIndexHashKey HOT 3
- IN operator and Order By falls back to Scan HOT 1
- @DynamoDBAutoGeneratedTimestamp(strategy=DynamoDBAutoGenerateStrategy.ALWAYS) is not working inside DynamoDBDocument
- Pagination not working properly returning random data.
- spring-data-dynamodb - Spring4Shell: Zero-Day Vulnerability in Spring Framework (CVE-2022-22965) HOT 2
- When 'findBy' method is annotated with @EnableScan or on class level, and the method uses only hash key (and range key), the method still executes scan instead of query. There is only a check if the used fields are GSI, but no checks if all the fields are hash/range keys. HOT 2
- How can I have dynamodb table name dynamically based on my env? HOT 1
- Same hash for multiple GSI, how to fetch data?
- AWS STS(security token service) support for DynamoDBMapper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-data-dynamodb.