Environments: reload page after all the environments have been updated
Before murano had an overriden datatable script in
horizon.tables+reload.js. This script was copy-pasted for a single
single line edit. This is actually not required, because horion
datatables fire a "update" trigger after row updates,
which is enough for the purpose of updating the page.
Before any row in the ready/deploy_failure would trigger a reload.
With this patch only an update trigger is set for the services table
instead of overriding whole datatable js routine. The page is
reloaded only after there are no rows with 'status_unknown', i.e.
when every app either deployed or failed to deploy.
Reviewed: https:/ /review. openstack. org/182369 /git.openstack. org/cgit/ openstack/ murano- dashboard/ commit/ ?id=7480d700527 741da27c03ef4ca 44d8cf00ffca6e
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit 7480d700527741d a27c03ef4ca44d8 cf00ffca6e
Author: Kirill Zaitsev <email address hidden>
Date: Tue May 12 16:23:38 2015 +0300
Environments: reload page after all the environments have been updated
Before murano had an overriden datatable script in tables+ reload. js. This script was copy-pasted for a single
horizon.
single line edit. This is actually not required, because horion
datatables fire a "update" trigger after row updates,
which is enough for the purpose of updating the page.
Before any row in the ready/deploy_ failure would trigger a reload.
With this patch only an update trigger is set for the services table
instead of overriding whole datatable js routine. The page is
reloaded only after there are no rows with 'status_unknown', i.e.
when every app either deployed or failed to deploy.
Change-Id: I254538cb776d2d ee422be0363a736 a5a9c1c9e2b
Closes-Bug: #1454221