forked from nbauernfeind/deephaven-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add endpointOverride S3 support (deephaven#5087)
- Loading branch information
1 parent
e2deaa8
commit f77e85a
Showing
18 changed files
with
647 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
io.deephaven.project.ProjectType=JAVA_PUBLIC | ||
|
||
# TODO(deephaven-core#5115): EPIC: Dependency management | ||
testcontainers.localstack.image=localstack/localstack:3.1.0 | ||
testcontainers.minio.image=minio/minio:RELEASE.2024-02-04T22-36-13Z |
15 changes: 0 additions & 15 deletions
15
extensions/s3/src/main/java/io/deephaven/extensions/s3/AwsCredentials.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
extensions/s3/src/main/java/io/deephaven/extensions/s3/Credentials.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending | ||
*/ | ||
package io.deephaven.extensions.s3; | ||
|
||
public interface Credentials { | ||
|
||
/** | ||
* The default credentials. | ||
* | ||
* @see <a href="https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/credentials-chain.html">Default | ||
* credentials provider chain</a> | ||
*/ | ||
static Credentials defaultCredentials() { | ||
return DefaultCredentials.DEFAULT_CREDENTIALS; | ||
} | ||
|
||
/** | ||
* Basic credentials with the specified access key id and secret access key. | ||
* | ||
* @param accessKeyId the access key id, used to identify the user | ||
* @param secretAccessKey the secret access key, used to authenticate the user | ||
*/ | ||
static Credentials basicCredentials(final String accessKeyId, final String secretAccessKey) { | ||
return BasicCredentials.of(accessKeyId, secretAccessKey); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.