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

feat(zero-downtime-deploy): redis integration #157

Conversation

pietro-tota
Copy link
Contributor

@pietro-tota pietro-tota commented Jan 21, 2025

Depends on #158

List of Changes

Add integration with eCommerce Redis instance and configure templates for:

  • save/retrieve event receivers instances running state
  • redis stream commands
  • add generic Redis stream command + concrete stop/start event receivers commands

Motivation and Context

Those modifications are needed in order to configure Redis for this module that will be used for handle Redis event send/receive and save event receivers statuses

How Has This Been Tested?

Junit tests

Screenshots (if appropriate):

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 not work as
    expected)

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Copy link

Pull request label validation error!
Required label for app version: patch,minor,major,ignore-for-release
Required label for chart version: chart-patch,chart-minor,chart-major.

Found labels on PR...

app version:
chart version:

If you want to skip release for this PR add skip-release label

Copy link

This PR exceeds the recommended size of 400 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.

@pietro-tota pietro-tota changed the base branch from main to CHK-3654-programmatic-receivers-stop-rest-controller January 21, 2025 18:30
pietro-tota and others added 4 commits January 21, 2025 19:31
…nto CHK-3656-programmatic-receivers-stop-redis-integration

# Conflicts:
#	src/main/kotlin/it/pagopa/ecommerce/transactions/scheduler/controller/EventReceiversApiController.kt
#	src/main/kotlin/it/pagopa/ecommerce/transactions/scheduler/controller/exceptionhandler/ExceptionHandler.kt
#	src/main/kotlin/it/pagopa/ecommerce/transactions/scheduler/exceptions/exceptions.kt
…nto CHK-3656-programmatic-receivers-stop-redis-integration
…nto CHK-3656-programmatic-receivers-stop-redis-integration
…nto CHK-3656-programmatic-receivers-stop-redis-integration
* feat: add control bus integration

* feat: add junit tests

* feat(zero downtime deploy): add redis stream consumer (#160)

* feat(zero downtime deploy): add redis stream consumer

* feat(zero downtime deploy): receiver status service + status poller (#161)

* feat(zero downtime deploy): receiver status service + status poller

* feat(zero downtime deploy): event receivers api commands (#163)

* feat(zero downtime deploy): event receivers api comnmand

* chore(typo): change redis template parameters

* fix: deployment pipeline (#165)

* fix: enable scaled object for all envs
Copy link

dpulls bot commented Jan 24, 2025

🎉 All dependencies have been resolved !

@pietro-tota pietro-tota merged commit ca1c51c into CHK-3654-programmatic-receivers-stop-rest-controller Jan 24, 2025
1 check passed
@pietro-tota pietro-tota deleted the CHK-3656-programmatic-receivers-stop-redis-integration branch January 24, 2025 10:05
pietro-tota added a commit that referenced this pull request Jan 24, 2025
* feat(zero-downtime-deploy): openapi for receiver stop/start

* feat(zero-downtime-deploy): openapi

* fix: spotless apply

* fix: update doc refs

* fix: openapi generation execution id

* feat(zero-downtime-deploy): redis integration (#157)

* feat(zero-downtime-deploy): redis integration

* feat(zero-downtime-deploy): openapi for receiver stop/start

* feat(zero-downtime-deploy): openapi

* feat: add redis template wrapper implementation

* feat: add redis template wrapper implementation

* feat: add redis template wrapper implementation

* feat(zero-downtime-deploy): add control bus integration (#158)

* feat: add control bus integration

* feat: add junit tests

* feat(zero downtime deploy): add redis stream consumer (#160)

* feat(zero downtime deploy): add redis stream consumer

* feat(zero downtime deploy): receiver status service + status poller (#161)

* feat(zero downtime deploy): receiver status service + status poller

* feat(zero downtime deploy): event receivers api commands (#163)

* feat(zero downtime deploy): event receivers api comnmand

* chore(typo): change redis template parameters

* fix: deployment pipeline (#165)

* fix: enable scaled object for all envs
pietro-tota added a commit that referenced this pull request Jan 24, 2025
…#164)

* wip

* feat(zero-downtime-deploy): openapi for receiver stop/start (#156)

* feat(zero-downtime-deploy): openapi for receiver stop/start

* feat(zero-downtime-deploy): openapi

* fix: spotless apply

* fix: update doc refs

* fix: openapi generation execution id

* feat(zero-downtime-deploy): redis integration (#157)

* feat(zero-downtime-deploy): redis integration

* feat(zero-downtime-deploy): openapi for receiver stop/start

* feat(zero-downtime-deploy): openapi

* feat: add redis template wrapper implementation

* feat: add redis template wrapper implementation

* feat: add redis template wrapper implementation

* feat(zero-downtime-deploy): add control bus integration (#158)

* feat: add control bus integration

* feat: add junit tests

* feat(zero downtime deploy): add redis stream consumer (#160)

* feat(zero downtime deploy): add redis stream consumer

* feat(zero downtime deploy): receiver status service + status poller (#161)

* feat(zero downtime deploy): receiver status service + status poller

* feat(zero downtime deploy): event receivers api commands (#163)

* feat(zero downtime deploy): event receivers api comnmand

* chore(typo): change redis template parameters

* fix: deployment pipeline (#165)

* fix: enable scaled object for all envs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants