mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
(POOLER-181) Separate Dashboard from api
Allow the dashboard to run separately from the API, so that the dashboard can be scaled appropriately. Note - this implementation actually co-runs the api in the dashboard instance to re-use the api code for the dashboard endpoints and other v1 endpoints collecting the operating information.
This commit is contained in:
parent
6d01079f4a
commit
1073629c13
3 changed files with 16 additions and 10 deletions
|
|
@ -27,7 +27,7 @@ describe Vmpooler::API do
|
|||
|
||||
before(:each) do
|
||||
expect(app).to receive(:run!)
|
||||
app.execute([:api], config, redis, nil, nil)
|
||||
app.execute([:dashboard], config, redis, nil, nil)
|
||||
app.settings.set :config, auth: false
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue