2mars
2mars
@Test void fail_md5() throws URISyntaxException { AmazonS3 s3client = AmazonS3ClientBuilder.standard() .withCredentials(new AWSStaticCredentialsProvider(new BasicAWSCredentials("foo", "bar"))) .withEndpointConfiguration(new EndpointConfiguration("http://localhost:42908", "eu-central-1")) .enablePathStyleAccess().build(); Bucket someTestBucket = s3client.createBucket("test-baguette"); File someGeotiff = new File(this.getClass().getResource("/sentinel_epsg32720_classified.tiff").toURI()); s3client.putObject(new PutObjectRequest(someTestBucket.getName(), someGeotiff.getName(),...