Cleversafe S3 Provider – Configuration with Artifactory

It is possible to configure Cleversafe as the Object storage platform on Artifactory.

 

Check here for more information on S3 Object storage in general.

 

To set up Artifactory with S3, need to follow these steps.

 

Here is a basic storage.properties configuration for Cleversafe:

 

###### CLEVERSAFE Configuration #########

binary.provider.type=S3

binary.provider.s3.identity=xxxxxxxxxx

binary.provider.s3.credential=xxxxxxxxxxxx

binary.provider.s3.endpoint=<cleversafe endpoint>

binary.provider.s3.bucket.name=<bucket name>

binary.provider.s3.https.only=false

binary.provider.s3.env.s3service.disable-dns-buckets=true

 

Note the highlighted entries (mandatory for the Cleversafe configuration):

binary.provider.s3.https.only entry

binary.provider.s3.env.s3service.disable-dns-buckets JetS3t property entry

By default, JetS3t sends requests to the bucket by the following convention "mybucket.s3.providerendpoint.com" 

Cleversafe are following the following convention "http://s3.amazonaws.com/mybucket" so the above entry is needed to address the request format issue.