Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Add-on updates #4879

Merged
merged 5 commits into from
Aug 24, 2023
Merged

Add-on updates #4879

merged 5 commits into from
Aug 24, 2023

Conversation

paladin-devops
Copy link
Contributor

Add endpoint to support updating Add-ons.

@paladin-devops paladin-devops self-assigned this Aug 11, 2023
@paladin-devops paladin-devops requested a review from a team as a code owner August 11, 2023 18:00
@github-actions github-actions bot added the core label Aug 11, 2023
…Add gateway.yml entry for update endpoint.

AddOnEvent will handle events for all operations on Add-ons, which includes creation, destruction, and modification. This commit also includes an update to the state test for events.
// Update Add-on
updatedAddOn, err := s.AddOnUpdate(ctx,
&pb.AddOn{
Name: "your friendly updated neighborhood add-on",
Copy link
Contributor

Choose a reason for hiding this comment

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

😄

Copy link
Contributor

@izaaklauer izaaklauer left a comment

Choose a reason for hiding this comment

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

Looks good! Request for a test enhancement, but otherwise 🚀

},
)
require.NoError(err)
require.NotNil(updatedAddOn)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we do another get after the update, to check that the updated properties are being returned?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added!

@paladin-devops paladin-devops merged commit d65a8d9 into main Aug 24, 2023
@paladin-devops paladin-devops deleted the i-update-add-ons branch August 24, 2023 14:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core pr/no-changelog No automatic changelog entry required for this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants