Code Monkey home page Code Monkey logo

Comments (11)

derjust avatar derjust commented on August 15, 2024 4

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.

vitolimandibhrata avatar vitolimandibhrata commented on August 15, 2024 1

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.

derjust avatar derjust commented on August 15, 2024

Hi @vitolimandibhrata!

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.

vitolimandibhrata avatar vitolimandibhrata commented on August 15, 2024

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.

derjust avatar derjust commented on August 15, 2024

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.

foxware00 avatar foxware00 commented on August 15, 2024

Hi @vitolimandibhrata is there any progress on this pull request? A feature i'd love to use!

from spring-data-dynamodb.

vitolimandibhrata avatar vitolimandibhrata commented on August 15, 2024

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.

foxware00 avatar foxware00 commented on August 15, 2024

@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.

derjust avatar derjust commented on August 15, 2024

@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.

maksimu avatar maksimu commented on August 15, 2024

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.

maksimu avatar maksimu commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.