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

implement mutex in bebmock subscriptions #12781

Merged
merged 6 commits into from Dec 8, 2021

Conversation

friedrichwilken
Copy link
Contributor

@friedrichwilken friedrichwilken commented Dec 3, 2021

adding mutex to the subscriptions and requests of beb mock.

@friedrichwilken friedrichwilken added the area/eventing Issues or PRs related to eventing label Dec 3, 2021
@friedrichwilken friedrichwilken requested a review from a user December 3, 2021 11:29
@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 3, 2021
k15r
k15r previously approved these changes Dec 3, 2021
@kyma-bot kyma-bot added the lgtm Looks good to me! label Dec 3, 2021
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Dec 4, 2021
@friedrichwilken friedrichwilken force-pushed the mockbeb-mutex branch 3 times, most recently from 2f1f30e to a2458e5 Compare December 4, 2021 01:52
Copy link
Contributor

@k15r k15r left a comment

Choose a reason for hiding this comment

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

cant we use https://onsi.github.io/gomega/#containelementelement-interface these matchers in our tests?

@netlify
Copy link

netlify bot commented Dec 6, 2021

✔️ 🥰 Documentation preview ready! 🥰

🔨 Explore the source changes: 972a6f4

🔍 Inspect the deploy log: https://app.netlify.com/sites/kyma-project-docs-preview/deploys/61af7ba5c8adfc0008ae4943

😎 Browse the preview: https://deploy-preview-12781--kyma-project-docs-preview.netlify.app

@friedrichwilken
Copy link
Contributor Author

/retest

@kyma-bot kyma-bot added the lgtm Looks good to me! label Dec 8, 2021
@kyma-bot kyma-bot merged commit ea9cd1c into kyma-project:main Dec 8, 2021
pxsalehi pushed a commit to pxsalehi/kyma that referenced this pull request Jan 11, 2022
* implement mutex in bebmock subscriptions and requests

* simplify beb reconciler test

* breaking beb

* re-fix countBEBRequests

* fix imports
pxsalehi added a commit that referenced this pull request Jan 11, 2022
* eventing controller reconciler should validate only the host part in sink url (#12811)

Co-authored-by: johgoe <johannes.goehr@mobilexag.de>

* implement mutex in bebmock subscriptions (#12781)

* implement mutex in bebmock subscriptions and requests

* simplify beb reconciler test

* breaking beb

* re-fix countBEBRequests

* fix imports

* Preserve Eventing Publisher proxy deployment annotations after reconciliation (#12769)

* Preserve publisher deployment annotations

* Update Eventing controller image

* Add a unit-test

* Preserve allowed annotations only

* Increased timeout and separated out nats invalid sink tests (#12826)

* increased timeout and separated out nats invalid sink tests

* removed replicated code

* Update components/eventing-controller/controllers/subscription/nats/reconciler_test.go

Co-authored-by: Friedrich <58187735+FriedrichWilken@users.noreply.github.com>

Co-authored-by: Friedrich <58187735+FriedrichWilken@users.noreply.github.com>

* Fix endless reconciliation of the Publisher proxy deployment (#12833)

* Fix endless reconciliation of the Publisher proxy deployment

* Update Eventing controller image

* Fix "retry sending an event to sink" for NATS dispatcher (#12808)

* add retry strategy for NATS dispatcher

* solve check-imports

* solve vet issues

* Add the retry configurable parameters to charts

* solve spelling errors

* bump eventing-controller image to PR-12808

* solve check-imports

* Extend the retrying tests to check the sent/received data too, solve comments

* Solve check-imports

* Rename URLs to solve comments

* Update README.md

* Update components/eventing-controller/README.md

Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>

* do not use PR image

Co-authored-by: johgoe <johannes.goehr@gmx.net>
Co-authored-by: johgoe <johannes.goehr@mobilexag.de>
Co-authored-by: Friedrich <58187735+FriedrichWilken@users.noreply.github.com>
Co-authored-by: Marco Bebway <marco.bebway@sap.com>
Co-authored-by: Muhammad Faizan <mfaizanse@users.noreply.github.com>
Co-authored-by: Radu Fantaziu <radu.fantaziu@sap.com>
Co-authored-by: Aleksandra Simeonova <aleksandra.simeonova@sap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/eventing Issues or PRs related to eventing lgtm Looks good to me! size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants