Skip to content

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 <[email protected]>
@khanhtc1202
Copy link
Member Author

@moko-poi Please take a look 👀

@codecov
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
@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 <[email protected]>

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

Signed-off-by: moko-poi <[email protected]>

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

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

Signed-off-by: mi11km <[email protected]>

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

Signed-off-by: mi11km <[email protected]>

* Add tests to model/notificationevent (#4631)

* Add tests to model/notificationevent

Signed-off-by: Kenta Kozuka <[email protected]>

* Add Parallel()

Signed-off-by: Kenta Kozuka <[email protected]>

---------

Signed-off-by: Kenta Kozuka <[email protected]>
Signed-off-by: mi11km <[email protected]>

* add piped-handle-timeout(input args)

Signed-off-by: mi11km <[email protected]>

---------

Signed-off-by: mi11km <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>
Co-authored-by: Kenta Kozuka <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
Signed-off-by: moko-poi <[email protected]>

* Increase limit of stale action operations (#4671)

Signed-off-by: moko-poi <[email protected]>

* Add docs for k8s annotations (#4673)

Signed-off-by: Yoshiki Fujikane <[email protected]>
Signed-off-by: moko-poi <[email protected]>

* feat: add modifylisner and modifyrule

Signed-off-by: moko-poi <[email protected]>

* fix: ModifyRules

Signed-off-by: moko-poi <[email protected]>

* fix: rollback

Signed-off-by: moko-poi <[email protected]>

* fix: routing

Signed-off-by: moko-poi <[email protected]>

* fix: action.Type == elbtypes.ActionTypeEnumForward

Signed-off-by: moko-poi <[email protected]>

* fix: Update ModifyListeners and ModifyRules for Selective Action Modification

Signed-off-by: moko-poi <[email protected]>

---------

Signed-off-by: moko-poi <[email protected]>
Signed-off-by: mi11km <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
Co-authored-by: Khanh Tran <[email protected]>
Co-authored-by: Masafumi Ikeyama <[email protected]>
Co-authored-by: Kenta Kozuka <[email protected]>
Co-authored-by: Yoshiki Fujikane <[email protected]>

* Remove ModifyRules interface (#4688)

---------

Signed-off-by: moko-poi <[email protected]>
Signed-off-by: mi11km <[email protected]>
Signed-off-by: Kenta Kozuka <[email protected]>
Signed-off-by: Yoshiki Fujikane <[email protected]>
Co-authored-by: Shun Takahashi <[email protected]>
Co-authored-by: Masafumi Ikeyama <[email protected]>
Co-authored-by: Kenta Kozuka <[email protected]>
Co-authored-by: Yoshiki Fujikane <[email protected]>
@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
sZma5a pushed a commit to sZma5a/pipecd that referenced this pull request Dec 17, 2023
@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
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.

3 participants