This is the upgrade of the statistics server application to use the Framework 2.0 packages, and refactors the application's internals appropriately. Major changes include:
PHPUnit upgraded to 8.0 and test suite refactored
More services use a more complete integration test approach versus using a purely unit testing approach
A number of mocks are replaced by anonymous classes, which simplifies mocking behaviors in some cases a fair bit
CLI structure migrated to joomla/console
Controllers adjusted based on application and router changes
Migrations system now allows the application database to be created in full (minus triggers because these statements don't parse over into either the Joomla or PDO APIs very well)
Creates an explicit whitelist of allowed API resources versus implicit based on partial blacklisting, removes the query for fetching table columns on most requests
Uses Flysystem for all the filesystem stuff
Uses the event system from the parent applications, removing the need for root application classes
Introduces a Kernel concept for the application's initial bootup
Testing Instructions
Clone branch, run app, profit
TODO
[x] Fix Travis configuration to correctly run the database tests (it passes but a third of the tests are skipped)
Summary of Changes
This is the upgrade of the statistics server application to use the Framework 2.0 packages, and refactors the application's internals appropriately. Major changes include:
joomla/console
Testing Instructions
Clone branch, run app, profit
TODO