Skip to content

Commit

Permalink
adding some printlines to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryGeorgist committed Feb 23, 2023
1 parent 20d5203 commit d3c1213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ publishing {
}

group 'mil.army.usace.hec'
version '0.0.14'
version '0.0.15'
}
2 changes: 2 additions & 0 deletions src/main/java/usace/wat/plugin/CcStoreS3.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ public CcStoreS3(){
AWSConfig acfg = new AWSConfig();
acfg.aws_access_key_id = System.getenv(EnvironmentVariables.CC_PROFILE + "_" + EnvironmentVariables.AWS_ACCESS_KEY_ID);
acfg.aws_secret_access_key_id = System.getenv(EnvironmentVariables.CC_PROFILE + "_" + EnvironmentVariables.AWS_SECRET_ACCESS_KEY);
System.out.println(EnvironmentVariables.CC_PROFILE + "_" + EnvironmentVariables.AWS_DEFAULT_REGION);
acfg.aws_region = System.getenv(EnvironmentVariables.CC_PROFILE + "_" + EnvironmentVariables.AWS_DEFAULT_REGION);
acfg.aws_bucket = System.getenv(EnvironmentVariables.CC_PROFILE + "_" + EnvironmentVariables.AWS_S3_BUCKET);
acfg.aws_mock = false; //Boolean.parseBoolean(System.getenv("S3_MOCK"));//convert to boolean;
//acfg.aws_endpoint = System.getenv("S3_ENDPOINT");
//acfg.aws_disable_ssl = Boolean.parseBoolean(System.getenv("S3_DISABLE_SSL"));//convert to bool?
//acfg.aws_force_path_style = Boolean.parseBoolean(System.getenv("S3_FORCE_PATH_STYLE"));//convert to bool
config = acfg;
System.out.println(config.aws_region);
Regions clientRegion = Regions.valueOf(config.aws_region.toUpperCase().replace("-", "_"));
try {
AmazonS3 s3Client = null;
Expand Down

0 comments on commit d3c1213

Please sign in to comment.