Commit graph

10 commits

Author SHA1 Message Date
James Lopez
ed39d61d74 refactor events facade so it uses separate classes and refactor query stuff 2016-11-17 13:22:27 +01:00
James Lopez
7ac7cfeb75 refactored and added missing spec to light URL builder 2016-11-17 08:22:57 +01:00
James Lopez
bd31f24c54 Added branch option to test events
Also fixed test events ordering issue
2016-11-17 08:22:57 +01:00
James Lopez
eccb6a5e92 Refactored test events
Now test events return the builds instead a list of pipelines to avoid calling pipeline.builds per each and get the info. Also, added missing fields/data, URLs, and fixed specs in events spec.
2016-11-17 08:22:57 +01:00
James Lopez
275292de47 Refactor the SQL/query stuff into a dynamic class. Also merged all the config in a single hash. 2016-11-17 08:22:55 +01:00
James Lopez
1a4ff5d720 Added code events spec and logic. Also fixed SQL issues and refactored the code a bit. 2016-11-17 08:22:55 +01:00
James Lopez
72660d58af plan events and spec working. Also added some TODOs to the code. 2016-11-17 08:22:54 +01:00
James Lopez
3b5d947730 commit events and spec 2016-11-17 08:22:54 +01:00
James Lopez
470e39d64f WIP - refactored some arel queries 2016-11-17 08:22:54 +01:00
James Lopez
ec7db295d2 Started refactoring stuff to add events to cycle analytics
- Refactored cycle analytics class to extract DB logic
- Reuse logic in new events fetcher
- Started adding cycle analytics events class and spec (still not functional)
2016-11-17 08:22:54 +01:00