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

Remove ModifyRules interface #4688

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Conversation

khanhtc1202
Copy link
Member

@khanhtc1202 khanhtc1202 commented Nov 28, 2023

What this PR does / why we need it:

Since the logic ModifyListeners had been updated to ensure only modifying the actions of kind ActionTypeEnumForward, there is no need to separate ModifyRules and ModifyListeners.
Also, no rule exists without associating with listeners in the context of ELB.

Which issue(s) this PR fixes:

Follow #4668

Does this PR introduce a user-facing change?:

  • How are users affected by this change:
  • Is this breaking change:
  • How to migrate (if breaking change):

Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
@khanhtc1202
Copy link
Member Author

@moko-poi Please take a look 👀

Copy link

codecov bot commented Nov 28, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (426cb04) 30.77% compared to head (d11e605) 30.82%.

Files Patch % Lines
pkg/app/piped/platformprovider/ecs/client.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4688      +/-   ##
==========================================
+ Coverage   30.77%   30.82%   +0.05%     
==========================================
  Files         221      221              
  Lines       26038    25975      -63     
==========================================
- Hits         8014     8008       -6     
+ Misses      17374    17317      -57     
  Partials      650      650              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ffjlabo ffjlabo left a comment

Choose a reason for hiding this comment

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

🚀

@khanhtc1202 khanhtc1202 merged commit 0d81adf into master Nov 28, 2023
13 of 14 checks passed
@khanhtc1202 khanhtc1202 deleted the update-listener-modify-logic branch November 28, 2023 11:51
khanhtc1202 added a commit that referenced this pull request Nov 28, 2023
khanhtc1202 added a commit that referenced this pull request Nov 28, 2023
* feat(ECS): enable selection of listener rules (#4668)

* feat(ECS): enable selection of listener rules

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* Update pkg/app/piped/platformprovider/ecs/client.go

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* Make actions plan preview handle timeout option (#4648)

* Format and make tests pass in tool/actions-plan-preview

Signed-off-by: mi11km <mi11km.program@gmail.com>

* Use --piped-handle-timeout to make the timeout arg activate

Signed-off-by: mi11km <mi11km.program@gmail.com>

* Add tests to model/notificationevent (#4631)

* Add tests to model/notificationevent

Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>

* Add Parallel()

Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>

---------

Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Signed-off-by: mi11km <mi11km.program@gmail.com>

* add piped-handle-timeout(input args)

Signed-off-by: mi11km <mi11km.program@gmail.com>

---------

Signed-off-by: mi11km <mi11km.program@gmail.com>
Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Co-authored-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com>
Signed-off-by: moko-poi <mokopoi44@gmail.com>

* Increase limit of stale action operations (#4671)

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* Add docs for k8s annotations (#4673)

Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Signed-off-by: moko-poi <mokopoi44@gmail.com>

* feat: add modifylisner and modifyrule

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* fix: ModifyRules

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* fix: rollback

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* fix: routing

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* fix: action.Type == elbtypes.ActionTypeEnumForward

Signed-off-by: moko-poi <mokopoi44@gmail.com>

* fix: Update ModifyListeners and ModifyRules for Selective Action Modification

Signed-off-by: moko-poi <mokopoi44@gmail.com>

---------

Signed-off-by: moko-poi <mokopoi44@gmail.com>
Signed-off-by: mi11km <mi11km.program@gmail.com>
Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Co-authored-by: Khanh Tran <32532742+khanhtc1202@users.noreply.github.com>
Co-authored-by: Masafumi Ikeyama <54844746+mi11km@users.noreply.github.com>
Co-authored-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Co-authored-by: Yoshiki Fujikane <40124947+ffjlabo@users.noreply.github.com>

* Remove ModifyRules interface (#4688)

---------

Signed-off-by: moko-poi <mokopoi44@gmail.com>
Signed-off-by: mi11km <mi11km.program@gmail.com>
Signed-off-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Signed-off-by: Yoshiki Fujikane <ffjlabo@gmail.com>
Co-authored-by: Shun Takahashi <mokopoi44@gmail.com>
Co-authored-by: Masafumi Ikeyama <54844746+mi11km@users.noreply.github.com>
Co-authored-by: Kenta Kozuka <kenta.kozuka@gmail.com>
Co-authored-by: Yoshiki Fujikane <40124947+ffjlabo@users.noreply.github.com>
@github-actions github-actions bot mentioned this pull request Dec 1, 2023
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Dec 17, 2023
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Dec 17, 2023
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Dec 17, 2023
Signed-off-by: sZma5a <masaaki.haribote@gmail.com>
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Dec 17, 2023
Signed-off-by: sZma5a <masaaki.haribote@gmail.com>
@github-actions github-actions bot mentioned this pull request Feb 6, 2024
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Feb 12, 2024
Signed-off-by: 鈴木 優耀 <suzuki_masaaki@cyberagent.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants