-
Notifications
You must be signed in to change notification settings - Fork 461
Events
Henne Vogelsang edited this page Apr 22, 2020
·
12 revisions
This is an explanation of the Events sub-system
In the frontend there are many sub-classes of Event::Base like Event::CommentForProject or Event::RequestStatechange. They describe something that happened throughout the OBS (backend and frontend).
- An
Eventget created in the database- the frontend saves an instance of
Event -
clockworkrunsUpdateNotificationEventsevery 17 seconds which queries the backend via its API (/lastnotifications) and saves instances ofEvent
- the frontend saves an instance of
- Other sub-systems (Notifications, the rabbitmq message bus etc.) take over and do something based on this
Event - The
CleanupEventsjob destroys all theEventwhere the others subs-systems have done their job
In July 2017 we have conducted an architecture review for all of this, you might find the notes interesting.
- Development Environment Overview
- Development Environment Tips & Tricks
- Spec-Tips
- Code Style
- Rubocop
- Testing with VCR
- Test in kanku
- Authentication
- Authorization
- Autocomplete
- BS Requests
- Events
- ProjectLog
- Notifications
- Feature Toggles
- Build Results
- Attrib classes
- Flags
- The BackendPackage Cache
- Maintenance classes
- Cloud uploader
- Delayed Jobs
- Staging Workflow
- StatusHistory
- OBS API
- Owner Search
- Search
- Links
- Distributions
- Repository
- Data Migrations
- Package Versions
- next_rails
- Ruby Update
- Rails Profiling
- Remote Pairing Setup Guide
- Factory Dashboard
- osc
- Setup an OBS Development Environment on macOS
- Run OpenQA smoketest locally
- Responsive Guidelines
- Importing database dumps
- Problem Statement & Solution
- Kickoff New Stuff
- New Swagger API doc
- Documentation and Communication
- GitHub Actions
- Brakeman
- How to Introduce Software Design Patterns
- Query Objects
- Services
- View Components
- RFC: Core Components
- RFC: Decorator Pattern
- RFC: Backend models
- RFC: Hotwire Turbo Frames Pattern