-
Notifications
You must be signed in to change notification settings - Fork 0
Ofrich/add logs to multitenant violations #15
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
base: master
Are you sure you want to change the base?
Conversation
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Added warn logs on tenant changes, with an ability to allow tenant changes, to be used in the beginning of flows (for example - when an HTTP request comes in)
PR Type
Enhancement
Description
Add logging for multitenant violations with sampling
Implement skip mechanism for allowed operations
Add comprehensive test coverage for logging
Diagram Walkthrough
File Walkthrough
multitenant.rb
Add multitenant violation logging system
lib/multitenant.rb
allow_next_tenant_operation
skip mechanismmultitenant_spec.rb
Add comprehensive logging tests
spec/multitenant_spec.rb