question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi @derjust,

I am working on the auditing support for spring-data-dynamodb. https://github.com/vitolimandibhrata/spring-data-dynamodb/commits/auditing-support

Currently, it can only enable the auditing support via Java Configuration.

If you are not working on the auditing support, I can try to spend sometime to complete the code and hopefully it can be merged to your project.

Please do let me know.

Cheers,

Vito

Sample Configuration File with Auditing Support

@Configuration
@EnableDynamoDBRepositories(
        basePackages = {"com.example.repository.dynamodb"}
)
@EnableDynamoDBAuditing
public class DynamoDBConfig extends AbstractDynamoDBConfiguration {

    @Value("${aws.dynamodb.endpoint}")
    private String amazonDynamoDBEndpoint;

    @Value("${aws.accessKey}")
    private String amazonAWSAccessKey;

    @Value("${aws.secretKey}")
    private String amazonAWSSecretKey;

    @Override
    protected String getMappingBasePackage() {
        return "com.example.domain";
    }

    @Bean
    public AmazonDynamoDB amazonDynamoDB() {
        AmazonDynamoDB amazonDynamoDB = new AmazonDynamoDBClient(
                amazonAWSCredentials());
        if (StringUtils.isNotEmpty(amazonDynamoDBEndpoint)) {
            amazonDynamoDB.setEndpoint(amazonDynamoDBEndpoint);
        }
        return amazonDynamoDB;
    }

    @Bean
    public AWSCredentials amazonAWSCredentials() {
        return new BasicAWSCredentials(amazonAWSAccessKey, amazonAWSSecretKey);
    }

}

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
derjustcommented, Dec 12, 2016

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

1reaction
vitolimandibhratacommented, Jul 13, 2016

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Audit Support & Preparation Services | Centri
With our audit support services, we'll serve as a liason between you and your external auditing firm while assisting in financial document ...
Read more >
What is Auditing support? - LinuxQuestions.org
Auditing is logging of all accesses and modifications of files. Logging is required for high-security systems as an audit trail to make sure ......
Read more >
Outsource Audit Support Services | QXAS USA
The QXAS Inc Audit Support team takes the tedium out of auditing without putting a strain on the auditor's time, costs and manpower....
Read more >
Audit Support Services - Guidehouse
Perhaps most critically, we provide an unparalleled level of leadership support that enables your organization to achieve and sustain compliance with confidence ...
Read more >
Audit & Audit Support | Vistra
How can we help? To discuss how Vistra can help you with Audit & Audit Support, simply complete this form and one of...
Read more >

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found