-
Notifications
You must be signed in to change notification settings - Fork 340
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
Multiple storage drivers. #273
Conversation
…mongo. New classes for storage New class for filtering New class for watched function storage template updates other changes. Initial commit. Known issues: - unit tests are not working - javascript date time picker does not work - custom view does not work - search filters should expose more fields
# Conflicts: # config/config.default.php # src/Xhgui/Controller/Run.php # src/Xhgui/Controller/Watch.php # src/Xhgui/Controller/Waterfall.php # src/Xhgui/Searcher/Mongo.php # src/Xhgui/ServiceContainer.php # src/Xhgui/WatchFunctions.php
Merge fixes
RunController tests
Missing run controller tests.
Changing some code to work better with testing.
fix common test class
Change filename generation
Add different db schema files Fix import
Make custom view avalible only for mongodb for now.
Add missing tests for import controller.
Allow argument in url to be only date
Postgresql cannot easily cast jsonb to text, use native search capabilities of both mysql and pg. For pg versions lower than 5.6 it can be disabled setting variable in config.
Fix missing cookie and ip filtering.
Hi @markstory, this code is ready for review. |
@GrzegorzDrozd could you please rebase (not merge) the changes against |
@glensc I will try to do that tonight but I am not used to do rebases - I hope I will not break anything. |
I have some computer issues and I am waiting for a new machine. I will get back to this PR asap. |
- make sure no array uses short syntax - rename PDO to Pdo
- remove all unnecessary code changes and formatting.
Hi. I have tried to do rebase couple of times but I don't know how to do that properly. Code never worked after that. I removed all unnecessary code changes from my branch. I can do following: make new clean branch with just current state of the code, will that work ? |
You can re-create the branch, but lets not create another PR, as this already contains the review comments. Just important is to push your new branch to the branch this PR is based against: And need |
@GrzegorzDrozd do you have a checklist whats holding to get this merged? Really hate to lose huge work like this because its acceptance got stalled. I'm thinking maybe just go with one squash merge commit, i.e forget the beautiful git history |
$this->_template = ''; | ||
|
||
$readConfig = $this->app->container->get('settings'); | ||
$saveHandlerConfig = $this->app->container->get('settings'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$readConfig and $saveHandlerConfig are identical
This looks very useful, maybe I find some time to help here. |
Unfortunately, @GrzegorzDrozd has no interest in working further on this PR and decided to maintain his own version in this Github Org: https://github.com/phpperftools/ @GrzegorzDrozd is it ok for you if I take this over? |
Of course :) Not a problem for me :) Go ahead. |
I think @GrzegorzDrozd work is based on older version and has conflicting changes now that #244 is merged. see: but as this PR was made from "master" branch, the contents of this PR and what was intended to be submitted is unknown. I personally think that all adapters other than upload should be deprecated I also started new project for the client, trying to cleanup API needed at client side. |
this is not suitable for merge or review. submit changes in smaller chunks and per feature. |
Introduce multiple storage drivers, currently supported are:
All current Unit tests are updated and all in green. I did extensive testing and everything except custom views is working ok. Custom views will have to be rethink because it is impossible to support them with storage different than mongo in the current form.
This also requires collector changes: