Search in sources :

Example 1 with S3ObjectKeyGenerator

use of uk.nhs.digital.externalstorage.s3.S3ObjectKeyGenerator in project hippo by NHS-digital-website.

the class S3ConnectorServiceRegistrationModule method doInitialize.

@Override
protected void doInitialize(final Session session) throws RepositoryException {
    s3Connector = new S3ConnectorImpl(getAmazonS3(), s3Bucket, new S3ObjectKeyGenerator(this::newRandomString));
    HippoServiceRegistry.registerService(s3Connector, S3Connector.class);
}
Also used : S3ObjectKeyGenerator(uk.nhs.digital.externalstorage.s3.S3ObjectKeyGenerator) S3ConnectorImpl(uk.nhs.digital.externalstorage.s3.S3ConnectorImpl)

Aggregations

S3ConnectorImpl (uk.nhs.digital.externalstorage.s3.S3ConnectorImpl)1 S3ObjectKeyGenerator (uk.nhs.digital.externalstorage.s3.S3ObjectKeyGenerator)1