some stuff

This commit is contained in:
Zoltan Haindrich 2024-05-21 12:02:44 +00:00
parent e7e119b559
commit 52598d3bca
5 changed files with 8 additions and 2 deletions

View File

@ -24,6 +24,7 @@ import com.amazonaws.ClientConfigurationFactory;
import com.amazonaws.Protocol;
import com.amazonaws.auth.AWSCredentialsProvider;
import com.amazonaws.client.builder.AwsClientBuilder.EndpointConfiguration;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.s3.AmazonS3Client;
import com.amazonaws.services.s3.AmazonS3ClientBuilder;
import com.fasterxml.jackson.core.Version;
@ -141,8 +142,10 @@ public class S3StorageDruidModule implements DruidModule
.withClientConfiguration(S3Utils.setProxyConfig(configuration, proxyConfig).withProtocol(protocol))
.withChunkedEncodingDisabled(clientConfig.isDisableChunkedEncoding())
.withPathStyleAccessEnabled(clientConfig.isEnablePathStyleAccess())
.withRegion(Regions.US_WEST_2)
.withForceGlobalBucketAccessEnabled(clientConfig.isForceGlobalBucketAccessEnabled());
if (StringUtils.isNotEmpty(endpointConfig.getUrl())) {
amazonS3ClientBuilder.setEndpointConfiguration(
new EndpointConfiguration(endpointConfig.getUrl(), endpointConfig.getSigningRegion())

View File

@ -51,6 +51,7 @@ public class DiscovertModule extends AbstractModule {
return null;
}
@Provides
@LazySingleton
public Properties getProps() {

View File

@ -99,7 +99,8 @@ public class Launcher
chk1();
chkStatus();
lifecycle.stop();
lifecycle.join();
// lifecycle.stop();
} else {
}

View File

@ -30,5 +30,6 @@ public class QuidemCaptureModule implements Module
public void configure(Binder binder)
{
Jerseys.addResource(binder, QuidemCapture.class);
// Hook.CONVERTED.add(null)
}
}