Skip to content

Commit

Permalink
Bump com.azure:azure-core from 1.34.0 to 1.39.0 in /plugins/repositor…
Browse files Browse the repository at this point in the history
…y-azure (opensearch-project#7069)

* Bump com.azure:azure-core in /plugins/repository-azure

Bumps [com.azure:azure-core](https://github.com/Azure/azure-sdk-for-java) from 1.34.0 to 1.38.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-core_1.34.0...azure-core_1.38.0)

---
updated-dependencies:
- dependency-name: com.azure:azure-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updating SHAs

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Signed-off-by: INDRAJIT BANERJEE <indrajohn7@gmail.com>
  • Loading branch information
2 people authored and indrajohn7 committed Jun 29, 2023
1 parent 6ac3317 commit 48cd820
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Bump `org.apache.commons:commons-compress` from 1.22 to 1.23.0
- Bump `com.diffplug.spotless` from 6.17.0 to 6.18.0
- Bump `io.opencensus:opencensus-api` from 0.18.0 to 0.31.1 ([#7291](https://github.com/opensearch-project/OpenSearch/pull/7291))
- Bump `com.azure:azure-core` from 1.34.0 to 1.39.0

### Changed
- [CCR] Add getHistoryOperationsFromTranslog method to fetch the history snapshot from translogs ([#3948](https://github.com/opensearch-project/OpenSearch/pull/3948))
Expand Down
3 changes: 2 additions & 1 deletion plugins/repository-azure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ opensearchplugin {
}

dependencies {
api 'com.azure:azure-core:1.34.0'
api 'com.azure:azure-core:1.39.0'
api 'com.azure:azure-json:1.0.1'
api 'com.azure:azure-storage-common:12.20.0'
api 'com.azure:azure-core-http-netty:1.12.8'
api "io.netty:netty-codec-dns:${versions.netty}"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
39765fb88a90174628b31ddf6ff9f8d63462e080
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
abdfdb0c49eebe75ed8532d047dea0c9f13c30ac
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private BlobServiceClientBuilder applyLocationMode(final BlobServiceClientBuilde

private static BlobServiceClientBuilder createClientBuilder(AzureStorageSettings settings) throws InvalidKeyException,
URISyntaxException {
return new BlobServiceClientBuilder().connectionString(settings.getConnectString());
return SocketAccess.doPrivilegedException(() -> new BlobServiceClientBuilder().connectionString(settings.getConnectString()));
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ public class AzureBlobContainerRetriesTests extends OpenSearchTestCase {
public void setUp() throws Exception {
threadPool = new TestThreadPool(getTestClass().getName(), AzureRepositoryPlugin.executorBuilder());
httpServer = HttpServer.create(new InetSocketAddress(InetAddress.getLoopbackAddress(), 0), 0);
httpServer.createContext("/", (exchange) -> {
exchange.sendResponseHeaders(404, 0L);
exchange.close();
});
httpServer.start();
super.setUp();
}
Expand Down

0 comments on commit 48cd820

Please sign in to comment.