Skip to content

Conversation

@ashrivastava88
Copy link

@ashrivastava88 ashrivastava88 commented Nov 19, 2025

Release Notes

Breaking Changes

  • N/A

New Features

  • Add Azure Cloud support to Connect Artifact Commands.

Bug Fixes

  • N/A

Checklist

  • I have successfully built and used a custom CLI binary, without linter issues from this PR.
  • I have clearly specified in the What section below whether this PR applies to Confluent Cloud, Confluent Platform, or both.
  • I have verified this PR in Confluent Cloud pre-prod or production environment, if applicable.
  • I have verified this PR in Confluent Platform on-premises environment, if applicable.
  • I have attached manual CLI verification results or screenshots in the Test & Review section below.
  • I have added appropriate CLI integration or unit tests for any new or updated commands and functionality.
  • I confirm that this PR introduces no breaking changes or backward compatibility issues.
  • I have indicated the potential customer impact if something goes wrong in the Blast Radius section below.
  • I have put checkmarks below confirming that the feature associated with this PR is enabled in:
    • Confluent Cloud prod
    • Confluent Cloud stag
    • Confluent Platform
    • Check this box if the feature is enabled for certain organizations only

What

Cli support for connect artifact upload for csmt connectors was already enabled for AWS, with this PR we are enabling/supporting it for azure

Blast Radius

Changes affect Upload artifact flow for connect artifacts

References

https://confluentinc.atlassian.net/browse/CC-37890

Test & Review

This PR has been tested by building the binary, and testing against stag environment (stag.cpdev.cloud). Testing has been done for both AWS as well as Azure

List artifact AWS ✅
image

List artifact Azure ✅
image

Create artifact AWS ✅
image

Describe Artifact AWS ✅
image

Create artifact Azure ✅
image

Describe Artifact Azure ✅
image

Delete Artifact AWS ✅
image

Delete Artifact Azure ✅
image

Copilot AI review requested due to automatic review settings November 19, 2025 14:19
@ashrivastava88 ashrivastava88 requested a review from a team as a code owner November 19, 2025 14:19
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds Azure cloud support to Confluent connect artifact commands (create, list, describe, delete), expanding the existing AWS-only implementation to support both AWS and Azure cloud providers.

Key Changes:

  • Updates all artifact commands to accept both AWS and Azure cloud providers via flag changes
  • Implements Azure-specific file upload logic using blob storage for artifact creation
  • Validates cloud provider input against both AWS and Azure

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
internal/connect/command_artifact_list.go Updates cloud flag to accept both AWS and Azure
internal/connect/command_artifact_describe.go Updates cloud flag to accept both AWS and Azure
internal/connect/command_artifact_delete.go Updates cloud flag to accept both AWS and Azure
internal/connect/command_artifact_create.go Updates cloud flag, adds Azure upload logic, and validates against both cloud providers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ashrivastava88 ashrivastava88 changed the title Azure support on csmt artifat commands Azure support on csmt artifacts commands Nov 19, 2025
hisingla12
hisingla12 previously approved these changes Nov 19, 2025
@sonarqube-confluent
Copy link

return err
}
} else {
if err := utils.UploadFile(resp.GetUploadUrl(), artifactFile, resp.GetUploadFormData()); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

lets rename UploadFile to refelect in the name that it is only for aws

Copy link
Author

Choose a reason for hiding this comment

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

Hi @tmalikconfluent
This is a utils method being used across many other flows, (flink udfs uploads, custom connect plugin uploads),owned by other teams.
Inclined towards not changing it right now,, as it increased the testing effort for all other flows.

@tmalikconfluent
Copy link
Contributor

Overall looks great! I just want to make sure there are no azure specific fields we need to add to the describe and list commands here right?

@ashrivastava88
Copy link
Author

Overall looks great! I just want to make sure there are no azure specific fields we need to add to the describe and list commands here right?

@tmalikconfluent
No specific azure specific fields are needed.
I have put the screenshot above for the commands with azure and command output.

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.

5 participants