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

TT-448: add mservctl update command #24

Conversation

AaronFeledy
Copy link
Contributor

@AaronFeledy AaronFeledy commented Jun 27, 2022

Description

While mserv supports updating bundles, the mservctl client does not currently implement this functionality. This PR implements it by adding an mservctl update command to the tool.

Usage:
mservctl update 9c9ecec1-8f98-4c3f-88cd-ca3c27599e6b bundle.zip

Related Issue

#15

Motivation and Context

Currently, mservctl only allows us to delete and recreate plugin entries each time we make a code update to one of our plugins. Our plugins are shared in multiple APIs and we promote them through dev->stage->prod environments. This creates a lot of work as each API needs to be updated with the new plugin ID in each environment following each new update to the plugin. The ability to update the existing plugin saves us from much of this work.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AaronFeledy AaronFeledy marked this pull request as ready for review July 1, 2022 04:43
@AaronFeledy AaronFeledy requested a review from a team as a code owner July 1, 2022 04:43
@AaronFeledy AaronFeledy requested review from mitjaziv and removed request for a team July 1, 2022 04:43
@mitjaziv
Copy link
Collaborator

mitjaziv commented Jul 4, 2022

@AaronFeledy Thank you for the effort, I will check this and get back to you as soon as possible.

Copy link
Collaborator

@mitjaziv mitjaziv left a comment

Choose a reason for hiding this comment

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

@AaronFeledy this looks great, thank you for you contribution and sorry it took so long.

@mitjaziv mitjaziv changed the title Implement mservctl update command TT-448: add mservctl update command Nov 15, 2023
@mitjaziv mitjaziv merged commit e7fcb22 into TykTechnologies:master Nov 15, 2023
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.

3 participants