File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
service/src/main/java/org/mskcc/smile/service/impl Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,11 @@ public class AwsS3ServiceImpl implements AwsS3Service {
4646 @ Value ("${s3.aws_password:}" )
4747 private String s3Password ;
4848
49- @ Value ("${ENABLE_S3_UPLOAD :false}" )
50- private Boolean sysEnableS3Upload ;
49+ @ Value ("${sys.s3.enable.upload :false}" )
50+ private boolean sysEnableS3Upload ;
5151
5252 @ Value ("${s3.enable_upload:false}" )
53- private Boolean localEnableS3Upload ;
53+ private boolean localEnableS3Upload ;
5454
5555 private static final Log LOG = LogFactory .getLog (AwsS3ServiceImpl .class );
5656 private S3Client s3 ;
@@ -74,7 +74,9 @@ public void pushTempoSamplesToS3Bucket(TempoSampleUpdateMessage tempoSampleUpdat
7474 }
7575 }
7676 } else {
77- LOG .info ("Upload to s3 bucket disabled - enable by setting property 's3.enable_upload=true'" );
77+ LOG .info ("Upload to s3 bucket disabled - enable by setting property 's3.enable_upload=true'"
78+ + " - ($ENABLE_S3_UPLOAD=" + sysEnableS3Upload
79+ + ", 's3.enable_upload'=" + localEnableS3Upload + ")" );
7880 }
7981 }
8082
You can’t perform that action at this time.
0 commit comments