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

Add Azure Key Vault tests and test open-telemetry extension compatibility #336

Merged
merged 5 commits into from
Jan 21, 2025

Conversation

majguo
Copy link
Contributor

@majguo majguo commented Jan 21, 2025

Inspired by #335, this pull request includes multiple changes to various integration test modules and documentation, primarily focusing on adding new test cases for Azure Key Vault secrets to test compatibility with open-telemetry extension, improving test commands and fixing typos. Here are the most important changes:

New Test Classes:

  • Introduced integration test classes for Azure Key Vault secret functionality in the azure-services-together module (integration-tests/azure-services-together/src/test/java/io/quarkiverse/azure/services/together/it/KeyVaultSecretResourceIT.java, integration-tests/azure-services-together/src/test/java/io/quarkiverse/azure/services/together/it/KeyVaultSecretResourceTest.java). [1] [2]
  • Added new commands and endpoints to test Azure Key Vault secrets using both the secret client and configuration properties in the azure-services-together module (integration-tests/azure-services-together/README.md, integration-tests/azure-services-together/src/main/java/io/quarkiverse/azure/services/together/it/KeyVaultSecretResource.java). [1] [2] [3]

Dependency Updates:

  • Added dependencies for OpenTelemetry to test compatibility with the logging exporter in the azure-services-together module (integration-tests/azure-services-together/pom.xml).

Documentation Updates:

  • Updated the command to run integration tests in native mode to include failsafe:verify in multiple README.md files to ensure proper test execution (integration-tests/azure-app-configuration/README.md, integration-tests/azure-cosmos/README.md, integration-tests/azure-eventhubs/README.md, integration-tests/azure-keyvault/README.md, integration-tests/azure-services-together/README.md, integration-tests/azure-storage-blob/README.md). [1] [2] [3] [4] [5] [6]

Code Fixes:

  • Corrected a typo in the KeyVaultSecretResource class and its corresponding test class (integration-tests/azure-keyvault/src/main/java/io/quarkiverse/azure/keyvault/secret/it/KeyVaultSecretResource.java, integration-tests/azure-keyvault/src/test/java/io/quarkiverse/azure/keyvault/secret/it/KeyVaultSecretResourceTest.java). [1] [2]

Test passed: https://github.com/majguo/quarkus-azure-services/actions/runs/12878123422

Signed-off-by: Jianguo Ma [email protected]

@majguo majguo requested a review from a team as a code owner January 21, 2025 03:08
@majguo majguo changed the title Test open-telemetry extension compatibility in new added Azure Key Vault tests Test open-telemetry extension compatibility in new Azure Key Vault tests Jan 21, 2025
@majguo majguo requested review from backwind1233 and galiacheng and removed request for a team January 21, 2025 03:17
@majguo majguo self-assigned this Jan 21, 2025
Signed-off-by: Jianguo Ma <[email protected]>
Copy link
Contributor

@backwind1233 backwind1233 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@majguo majguo changed the title Test open-telemetry extension compatibility in new Azure Key Vault tests Add Azure Key Vault tests and test open-telemetry extension compatibility Jan 21, 2025
@majguo majguo merged commit 2751880 into quarkiverse:main Jan 21, 2025
1 check passed
@majguo majguo deleted the key-vault-secret-tests branch January 21, 2025 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants