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

expose OnAfterResponse middleware hook #512

Merged
merged 2 commits into from
Jun 6, 2024

Conversation

tchinmai7
Copy link
Contributor

📝 Description

What does this PR do and why is this change necessary?
Exposes a OnAfterResponse hook, so middleware such as call-counters can use it.

✔️ How to Test

What are the steps to reproduce the issue or verify the changes?

How do I run the relevant unit/integration tests?

📷 Preview

If applicable, include a screenshot or code snippet of this change. Otherwise, please remove this section.

@tchinmai7 tchinmai7 requested a review from a team as a code owner May 28, 2024 20:57
@tchinmai7 tchinmai7 requested review from jriddle-linode and ykim-1 and removed request for a team May 28, 2024 20:57
Copy link
Contributor

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ykim-1 ykim-1 left a comment

Choose a reason for hiding this comment

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

LGTM

@zliang-akamai zliang-akamai merged commit 0601877 into linode:main Jun 6, 2024
4 checks passed
@jriddle-linode jriddle-linode added the new-feature for new features in the changelog. label Jun 12, 2024
renovate bot added a commit to anza-labs/lke-operator that referenced this pull request Jun 25, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/linode/linodego](https://github.com/linode/linodego) |
`v1.35.0` -> `v1.36.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2flinode%2flinodego/v1.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2flinode%2flinodego/v1.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2flinode%2flinodego/v1.35.0/v1.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2flinode%2flinodego/v1.35.0/v1.36.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>linode/linodego (github.com/linode/linodego)</summary>

###
[`v1.36.0`](https://github.com/linode/linodego/releases/tag/v1.36.0)

[Compare
Source](https://github.com/linode/linodego/compare/v1.35.0...v1.36.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

##### ⚠️  Breaking Change

- Renamed capability consts by
[@&#8203;ErikZilber](https://github.com/ErikZilber) in
[linode/linodego#529

##### 🚀 New Features

- Project VM Placement by
[@&#8203;lgarber-akamai](https://github.com/lgarber-akamai) in
[linode/linodego#521
- Add event entities enums and actions VM Placement by
[@&#8203;lgarber-akamai](https://github.com/lgarber-akamai) in
[linode/linodego#492
- Expose `OnAfterResponse` middleware hook by
[@&#8203;tchinmai7](https://github.com/tchinmai7) in
[linode/linodego#512
- Add new tax_id_invalid event by
[@&#8203;jcallahan-akamai](https://github.com/jcallahan-akamai) in
[linode/linodego#514

##### 💡 Improvements

- Fix case in name for `Client.UnassignPlacementGroupLinodes(...)` by
[@&#8203;lgarber-akamai](https://github.com/lgarber-akamai) in
[linode/linodego#496

##### 🧪 Testing Improvements

- Add Cloud Firewall for integration tests by
[@&#8203;ykim-1](https://github.com/ykim-1) in
[linode/linodego#515
- Add Calico Inbound and Outbound policies to LKE nodes for E2E by
[@&#8203;ykim-1](https://github.com/ykim-1) in
[linode/linodego#525

##### 📖 Documentation

- Add warning for LKE control plane ACL by
[@&#8203;lgarber-akamai](https://github.com/lgarber-akamai) in
[linode/linodego#523
- Add documentation snippets for Placement Groups LA by
[@&#8203;lgarber-akamai](https://github.com/lgarber-akamai) in
[linode/linodego#530

##### 📦 Dependency Updates

- build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[linode/linodego#518
- build(deps): bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[linode/linodego#519
- build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 by
[@&#8203;dependabot](https://github.com/dependabot) in
[linode/linodego#520

#### New Contributors

- [@&#8203;tchinmai7](https://github.com/tchinmai7) made their first
contribution in
[linode/linodego#512
- [@&#8203;ErikZilber](https://github.com/ErikZilber) made their first
contribution in
[linode/linodego#529

**Full Changelog**:
linode/linodego@v1.35.0...v1.36.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/anza-labs/lke-operator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQxMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhcmVhL2RlcGVuZGVuY3kiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature for new features in the changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants