Skip to content

Feat : Add delete command to CLI#295

Open
DivyanshuVortex wants to merge 1 commit intomicrocks:masterfrom
DivyanshuVortex:delete_command
Open

Feat : Add delete command to CLI#295
DivyanshuVortex wants to merge 1 commit intomicrocks:masterfrom
DivyanshuVortex:delete_command

Conversation

@DivyanshuVortex
Copy link
Copy Markdown
Contributor

Description

  • Introduces a new microcks delete CLI command to easily remove a specific API version from the server directly from the command line (e.g., microcks delete "Simple:1.1").
  • Updates pkg/connectors/microcks_client.go to safely query the /api/services/search endpoint for the internal system ID before executing the DELETE request.
  • Adds comprehensive unit tests (microcks_client_test.go) covering both successful 204 No Content deletions and "service not found" edge cases.
  • Includes the full markdown documentation for the command under documentation/cmd/delete.md.

Related issue(s)

Resolves #294

Signed-off-by: DivyanshuVorrtex <divyanshuchandra9027@gmail.com>
@DivyanshuVortex
Copy link
Copy Markdown
Contributor Author


Screenshot (681)
Video.Project.19.mp4

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.

Feature Request: Add delete command to CLI to remove APIs from Microcks

1 participant