Skip to content
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

[Backport 2.x] Main repository azure managed identity support #13661

Merged
merged 1 commit into from
May 14, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport a03db0d from #12559.

@reta reta added the v2.15.0 Issues and PRs related to version 2.15.0 label May 14, 2024
Copy link
Contributor

❌ Gradle check result for 23a044f: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@reta
Copy link
Collaborator

reta commented May 14, 2024

Blocked by #13663

@andrross
Copy link
Member

❌ Gradle check result for 23a044f: FAILURE

#13220

* Added support for Azure Managed Identity in repository-azure

Signed-off-by: Chengwu Shi <[email protected]>

* Refactor tokenCredentialType as an enum when constructing AzureStorageSetting

Signed-off-by: Chengwu Shi <[email protected]>

* fixed indentation

Signed-off-by: Chengwu Shi <[email protected]>

* fixed syntax

Signed-off-by: Chengwu Shi <[email protected]>

* removed unused imports

Signed-off-by: Chengwu Shi <[email protected]>

* applied changes after running :plugins:repository-azure:spotlessApply

Signed-off-by: Chengwu Shi <[email protected]>

* added transitive dependencies

Signed-off-by: Chengwu Shi <[email protected]>

* changed getStorageBlobEndpoint to private and using asm version from buildSrc/version.properties

Signed-off-by: Chengwu Shi <[email protected]>

* run spotlessApply

Signed-off-by: Chengwu Shi <[email protected]>

* update shas for asm 9.7

Signed-off-by: Chengwu Shi <[email protected]>

* use version.jna for jna-platform

Signed-off-by: Chengwu Shi <[email protected]>

* change string 'core.windows.net' to be a constant, use uri.create instead of new uri, and added a few comments for clarity

Signed-off-by: Chengwu Shi <[email protected]>

* added one more comment line

Signed-off-by: Chengwu Shi <[email protected]>

* refactor TokenCredentialType to not have NOT_APPLICABLE

Signed-off-by: Chengwu Shi <[email protected]>

* refactored code based on recommended changes from Andriy Redko

Signed-off-by: Chengwu Shi <[email protected]>

* added a jvm security policy for reactor-core jar

Signed-off-by: Chengwu Shi <[email protected]>

* fixed failing forbidden api fix

Signed-off-by: Chengwu Shi <[email protected]>

* removed the jvm security policy for reactor-core which was added

Signed-off-by: Chengwu Shi <[email protected]>

* refactored code, such that storage endpoint is not evaluated at compiled time

Signed-off-by: Chengwu Shi <[email protected]>

* refactored token credential types checks

Signed-off-by: Chengwu Shi <[email protected]>

* changed clientlogger in azurestoragesetting to 'AzureStorageService'

Signed-off-by: Chengwu Shi <[email protected]>

* added a nullable argument to getStorageEndpoint

Signed-off-by: Chengwu Shi <[email protected]>

* Fix IdentityClient security permissions, get rid of connection string (since it is not applicable to managed identity configuration)

Signed-off-by: Andriy Redko <[email protected]>

* Responded to feedback from Andrew Ross, fixed typo, spelling, added shudownNow() and Thread.currentThread().interrupt()

Signed-off-by: Chengwu Shi <[email protected]>

---------

Signed-off-by: Chengwu Shi <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
(cherry picked from commit a03db0d)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@reta reta force-pushed the backport/backport-12559-to-2.x branch from 23a044f to d4de531 Compare May 14, 2024 19:46
Copy link
Contributor

✅ Gradle check result for d4de531: SUCCESS

@reta reta merged commit 959f81c into 2.x May 14, 2024
26 checks passed
@github-actions github-actions bot deleted the backport/backport-12559-to-2.x branch May 14, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.15.0 Issues and PRs related to version 2.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants