-
Notifications
You must be signed in to change notification settings - Fork 8
S3 Multibucket #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
S3 Multibucket #23
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
665e6d9
Feature: Allow plugin to use multiple credentials to access multiple …
rw2 f141551
Feature: Allow plugin to use multiple credentials to access multiple …
rw2 3949e40
Update src/S3AccessInfo.cc
rw2 6ac258c
Update src/S3AccessInfo.cc
rw2 12b43fd
Update src/S3AccessInfo.cc
rw2 68dcc45
Update src/S3AccessInfo.cc
rw2 6381ed9
Update src/S3AccessInfo.cc
rw2 84f15c4
Update src/S3AccessInfo.cc
rw2 518facf
Update src/S3AccessInfo.cc
rw2 3c88884
Update src/S3AccessInfo.cc
rw2 6322dd0
Update src/S3AccessInfo.cc
rw2 4fe017a
Update src/S3AccessInfo.cc
rw2 01286be
Update src/S3AccessInfo.cc
rw2 202fcd3
Update src/S3AccessInfo.cc
rw2 e895d17
Update src/S3FileSystem.cc
rw2 4cdccb8
Update path parsing to handle mult-level paths
jhiemstrawisc 1c5fd9e
Minor updates to README
jhiemstrawisc b69e288
Remove several pieces of commented code
jhiemstrawisc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,51 @@ | ||
// | ||
// Created by Rich Wellner on 2/29/24. | ||
// | ||
|
||
#include "S3AccessInfo.hh" | ||
|
||
const std::string &S3AccessInfo::getS3BucketName() const { | ||
return s3_bucket_name; | ||
} | ||
|
||
void S3AccessInfo::setS3BucketName(const std::string &s3BucketName) { | ||
s3_bucket_name = s3BucketName; | ||
} | ||
|
||
const std::string &S3AccessInfo::getS3ServiceName() const { | ||
return s3_service_name; | ||
} | ||
|
||
void S3AccessInfo::setS3ServiceName(const std::string &s3ServiceName) { | ||
s3_service_name = s3ServiceName; | ||
} | ||
|
||
const std::string &S3AccessInfo::getS3Region() const { return s3_region; } | ||
|
||
void S3AccessInfo::setS3Region(const std::string &s3Region) { | ||
s3_region = s3Region; | ||
} | ||
|
||
const std::string &S3AccessInfo::getS3ServiceUrl() const { | ||
return s3_service_url; | ||
} | ||
|
||
void S3AccessInfo::setS3ServiceUrl(const std::string &s3ServiceUrl) { | ||
s3_service_url = s3ServiceUrl; | ||
} | ||
|
||
const std::string &S3AccessInfo::getS3AccessKeyFile() const { | ||
return s3_access_key_file; | ||
} | ||
|
||
void S3AccessInfo::setS3AccessKeyFile(const std::string &s3AccessKeyFile) { | ||
s3_access_key_file = s3AccessKeyFile; | ||
} | ||
|
||
const std::string &S3AccessInfo::getS3SecretKeyFile() const { | ||
return s3_secret_key_file; | ||
} | ||
|
||
void S3AccessInfo::setS3SecretKeyFile(const std::string &s3SecretKeyFile) { | ||
s3_secret_key_file = s3SecretKeyFile; | ||
} |
This file contains hidden or 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,46 @@ | ||
// | ||
// Created by Rich Wellner on 2/29/24. | ||
// | ||
|
||
#ifndef XROOTD_S3_HTTP_S3ACCESSINFO_HH | ||
#define XROOTD_S3_HTTP_S3ACCESSINFO_HH | ||
|
||
|
||
#include <string> | ||
|
||
class S3AccessInfo { | ||
public: | ||
const std::string &getS3BucketName() const; | ||
|
||
void setS3BucketName(const std::string &s3BucketName); | ||
|
||
const std::string &getS3ServiceName() const; | ||
|
||
void setS3ServiceName(const std::string &s3ServiceName); | ||
|
||
const std::string &getS3Region() const; | ||
|
||
void setS3Region(const std::string &s3Region); | ||
|
||
const std::string &getS3ServiceUrl() const; | ||
|
||
void setS3ServiceUrl(const std::string &s3ServiceUrl); | ||
|
||
const std::string &getS3AccessKeyFile() const; | ||
|
||
void setS3AccessKeyFile(const std::string &s3AccessKeyFile); | ||
|
||
const std::string &getS3SecretKeyFile() const; | ||
|
||
void setS3SecretKeyFile(const std::string &s3SecretKeyFile); | ||
|
||
private: | ||
std::string s3_bucket_name; | ||
std::string s3_service_name; | ||
std::string s3_region; | ||
std::string s3_service_url; | ||
std::string s3_access_key_file; | ||
std::string s3_secret_key_file; | ||
}; | ||
|
||
#endif //XROOTD_S3_HTTP_S3ACCESSINFO_HH |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.