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 support for URLs in import command #93

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from

Conversation

Harsh4902
Copy link

Description

  • This PR adds support for URLs in import command.
  • Now microcks-cli is able to fetch artifacts or specification file from the URL and import it into the Microcks.

**As of now, we can only import artifacts from the URL as a primary artifact.

Changes

  • Updated UploadArtifact function of MicrocksClient.
  • Updated ImportCommand which will accept artifact from URL as a Primary Artifact.
  • ioutil.ReadAll() is deprecated, which is replaced by io.ReadAll.

Related issue(s)

Resolves #80

@Harsh4902 Harsh4902 requested a review from lbroudoux as a code owner January 21, 2025 03:21
@Harsh4902
Copy link
Author

@lbroudoux Please review this PR.

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