Skip to content

Commit a277cd0

Browse files
opensearch-trigger-bot[bot]github-actions[bot]reta
authored
Fixing error: adding a new/forgotten parameter to the configuration for checking the config on startup in plugins/repository-s3 (#7924) (#7929)
* Update S3RepositoryPlugin.java Fixing error: adding a new parameter to the configuration for checking the config on startup. * Update CHANGELOG.md * Add proxy settings type to test case settings to make sure it is accepted --------- (cherry picked from commit d55813e) Signed-off-by: Konstantin Gerasimenko <kred@gmx.net> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
1 parent 3e9f277 commit a277cd0

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3131
### Removed
3232

3333
### Fixed
34+
- Fixing error: adding a new/forgotten parameter to the configuration for checking the config on startup in plugins/repository-s3 #7924
3435

3536
### Security
3637

plugins/repository-s3/src/internalClusterTest/java/org/opensearch/repositories/s3/S3BlobStoreRepositoryTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ protected Settings nodeSettings(int nodeOrdinal) {
154154
.put(S3ClientSettings.DISABLE_CHUNKED_ENCODING.getConcreteSettingForNamespace("test").getKey(), true)
155155
// Disable request throttling because some random values in tests might generate too many failures for the S3 client
156156
.put(S3ClientSettings.USE_THROTTLE_RETRIES_SETTING.getConcreteSettingForNamespace("test").getKey(), false)
157+
.put(S3ClientSettings.PROXY_TYPE_SETTING.getConcreteSettingForNamespace("test").getKey(), ProxySettings.ProxyType.DIRECT)
157158
.put(super.nodeSettings(nodeOrdinal))
158159
.setSecureSettings(secureSettings);
159160

plugins/repository-s3/src/main/java/org/opensearch/repositories/s3/S3RepositoryPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public List<Setting<?>> getSettings() {
104104
S3ClientSettings.SESSION_TOKEN_SETTING,
105105
S3ClientSettings.ENDPOINT_SETTING,
106106
S3ClientSettings.PROTOCOL_SETTING,
107+
S3ClientSettings.PROXY_TYPE_SETTING,
107108
S3ClientSettings.PROXY_HOST_SETTING,
108109
S3ClientSettings.PROXY_PORT_SETTING,
109110
S3ClientSettings.PROXY_USERNAME_SETTING,

0 commit comments

Comments
 (0)