Skip to content

Conversation

@qiuosier
Copy link
Member

@qiuosier qiuosier commented Jan 6, 2025

This PR fixes two potential issue on the telemetry:

  1. set_auth("resource_principal") was called when initializing the client, which may change the authentication method set by the user unintentionally. This PR updates the logic to avoid using set_auth().
  2. For some tenancy with federated/domain users, the object storage service endpoint needs to be handled with additional logic. This PR uses OCI object storage client instead of requests library, so that the endpoint can be handled by the OCI python SDK.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 6, 2025
@github-actions
Copy link

github-actions bot commented Jan 6, 2025

📌 Cov diff with main:

Coverage-85%

📌 Overall coverage:

Coverage-58.45%

mrDzurb
mrDzurb previously approved these changes Jan 6, 2025
@github-actions
Copy link

github-actions bot commented Jan 6, 2025

📌 Cov diff with main:

Coverage-77%

📌 Overall coverage:

Coverage-58.45%

@qiuosier qiuosier enabled auto-merge January 7, 2025 21:52
@github-actions
Copy link

github-actions bot commented Jan 7, 2025

📌 Cov diff with main:

Coverage-77%

📌 Overall coverage:

Coverage-57.28%

@qiuosier qiuosier merged commit ac40648 into main Jan 8, 2025
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants