Skip to content

chore: migrate cos-sdk examples from ibm-cos-sdk v1 to v2#970

Open
veronika-alraheem wants to merge 1 commit into
mainfrom
592-update-cos-examples
Open

chore: migrate cos-sdk examples from ibm-cos-sdk v1 to v2#970
veronika-alraheem wants to merge 1 commit into
mainfrom
592-update-cos-examples

Conversation

@veronika-alraheem

@veronika-alraheem veronika-alraheem commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Checklist

  • Added tests for code changes or test/build only changes
  • Updated the change log file (CHANGES.md) or test/build only changes
  • Completed the PR template below:

Description

Updated the cos examples to use the v2 ibm-cos-sdk
Fixes i592

Approach

  • Migrate IBM COS SDK usage from v1 to v2
  • Update object operations to use S3Client and command patterns
  • Convert API calls from chained method calls to the command pattern
  • Added --cos_region option to all scripts
  • Replaced ~/.bluemix/cos_credentials file with IBM_API_KEY_ID and IBM_SERVICE_INSTANCE_ID environment variables for COS authentication
  • Updated README.md

Schema & API Changes

  • "No change"

Security and Privacy

  • "No change"

Testing

  • N/A build or packaging only changes

Monitoring and Logging

  • "No change"

@veronika-alraheem
veronika-alraheem force-pushed the 592-update-cos-examples branch from 82a9572 to 1192dbf Compare July 24, 2026 15:28
@veronika-alraheem
veronika-alraheem force-pushed the 592-update-cos-examples branch from 1192dbf to bf52416 Compare July 24, 2026 15:34
@veronika-alraheem
veronika-alraheem marked this pull request as ready for review July 24, 2026 16:02
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.

1 participant