Skip to content

Conversation

@Harsh4902
Copy link
Member

Description

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

Changes

  • Added DownloadArtifact in MicrocksClient wich will hit /artifact/download endpoint to download artifacts.
  • Updated help.go to show help for import-url command.
  • 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 30, 2025 06:58
@Harsh4902
Copy link
Member Author

@lbroudoux I think now it's okay. Please review it.

Copy link
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

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

Looks all good @Harsh4902! Thanks a lot!

@lbroudoux lbroudoux added this to the 0.5.7 milestone Feb 4, 2025
@lbroudoux lbroudoux merged commit b49b511 into microcks:1.x Feb 7, 2025
4 checks passed
@lbroudoux lbroudoux modified the milestones: 0.5.7, 1.0.0 Feb 7, 2025
@cstv4 cstv4 mentioned this pull request Feb 13, 2025
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.

2 participants