Comments (3)
Added pull request: #15
from waterline.
Just for some additional context, here is the output of my "php artisan route:list" after I configure the HORIZON_PATH environment variable to "admin/horizon":
GET|HEAD admin/horizon/api/batches .................................................... horizon.jobs-batches.index › Laravel\Horizon › BatchesController@index POST admin/horizon/api/batches/retry/{id} ......................................... horizon.jobs-batches.retry › Laravel\Horizon › BatchesController@retry GET|HEAD admin/horizon/api/batches/{id} ................................................. horizon.jobs-batches.show › Laravel\Horizon › BatchesController@show GET|HEAD admin/horizon/api/jobs/completed ..................................... horizon.completed-jobs.index › Laravel\Horizon › CompletedJobsController@index GET|HEAD admin/horizon/api/jobs/failed .............................................. horizon.failed-jobs.index › Laravel\Horizon › FailedJobsController@index GET|HEAD admin/horizon/api/jobs/failed/{id} ........................................... horizon.failed-jobs.show › Laravel\Horizon › FailedJobsController@show GET|HEAD admin/horizon/api/jobs/pending ........................................... horizon.pending-jobs.index › Laravel\Horizon › PendingJobsController@index POST admin/horizon/api/jobs/retry/{id} ................................................. horizon.retry-jobs.show › Laravel\Horizon › RetryController@store GET|HEAD admin/horizon/api/jobs/silenced ........................................ horizon.silenced-jobs.index › Laravel\Horizon › SilencedJobsController@index GET|HEAD admin/horizon/api/jobs/{id} ............................................................... horizon.jobs.show › Laravel\Horizon › JobsController@show GET|HEAD admin/horizon/api/masters ................................................ horizon.masters.index › Laravel\Horizon › MasterSupervisorController@index GET|HEAD admin/horizon/api/metrics/jobs ............................................ horizon.jobs-metrics.index › Laravel\Horizon › JobMetricsController@index GET|HEAD admin/horizon/api/metrics/jobs/{id} ......................................... horizon.jobs-metrics.show › Laravel\Horizon › JobMetricsController@show GET|HEAD admin/horizon/api/metrics/queues ...................................... horizon.queues-metrics.index › Laravel\Horizon › QueueMetricsController@index GET|HEAD admin/horizon/api/metrics/queues/{id} ................................... horizon.queues-metrics.show › Laravel\Horizon › QueueMetricsController@show GET|HEAD admin/horizon/api/monitoring ................................................ horizon.monitoring.index › Laravel\Horizon › MonitoringController@index POST admin/horizon/api/monitoring ................................................ horizon.monitoring.store › Laravel\Horizon › MonitoringController@store GET|HEAD admin/horizon/api/monitoring/{tag} ................................ horizon.monitoring-tag.paginate › Laravel\Horizon › MonitoringController@paginate DELETE admin/horizon/api/monitoring/{tag} .................................. horizon.monitoring-tag.destroy › Laravel\Horizon › MonitoringController@destroy GET|HEAD admin/horizon/api/stats ...................................................... horizon.stats.index › Laravel\Horizon › DashboardStatsController@index GET|HEAD admin/horizon/api/workload ...................................................... horizon.workload.index › Laravel\Horizon › WorkloadController@index GET|HEAD admin/horizon/{view?} ........................................................................ horizon.index › Laravel\Horizon › HomeController@index
from waterline.
After digging deeper, looks like you already have it covered:
`
/**
- Register the Waterline routes.
- @return void
*/
protected function registerRoutes()
{
Route::group([
'domain' => config('waterline.domain', null),
'prefix' => config('waterline.path', 'waterline'),
'namespace' => 'Waterline\Http\Controllers',
'middleware' => config('waterline.middleware', 'web'),
], function () {
$this->loadRoutesFrom(DIR.'/../routes/web.php');
});
}
`
I simply copied the horizon.php file from config to waterline.php, stripped it to just the variables you have above, and modified the values. Voila, my route is route:list changed. Awesome! I can work on a push request to publish a config file as part of the vendor assets, but it looks like you already planned it.
Once again, thanks for a great project!
from waterline.
Related Issues (8)
- i can't add it to my laravel 8 / 9 projects HOT 3
- Polling works even when it's disabled
- The detailed workflow view always shows the same entry
- Dashboard not showing after database access error
- Your requirements could not be resolved to an installable set of packages HOT 1
- Change the DB connection on StoredWorkflow? HOT 7
- Stats endpoint doesn't work with Postgres DB
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from waterline.