The python-freezerclient 2.0.0 is released now. We can directly use
freezerclinent.client to support api v1 or v2.
Change-Id: I30ad8694d137e0fab081b0f8ded842caa723c86f
Let's use Horizon unit-tests framework where it's
possible to have better cross-project integration.
Related blueprint: improve-horizon-testing
Change-Id: Ibfe2c062c54563e2bd35410459be8b5c7b2d550e
The OPENSTACK_SSL_CACERT dashboard option was incorrectly
passed as 'cert' instead of 'cacert' when initializing the
freezer-client session.
Change-Id: I1f0b9fe27046caa87398800d91a944bb1d72a1e3
Closes-Bug: #1744992
The old syntax using patterns is deprecated in Django 1.8, and is
removed in Django 1.10. The current version Django<1.11, this
patch fix the syntax.
Change-Id: I26564c97538c23378c0494739257b31dd8796f5a
Closes-Bug: #1709742
Currently, there is no delete backup operation in freezer-web-ui, if
we want to delete a backup, we can only use the command line. This is
not convenient. This patch will add operation of deleting backup in
freezer web ui.
Change-Id: I31de6b8cafd7cba043ae050f9d4a83d697adb6c6
It can not create a job when i use the freezer ui and it does not
report any error on ui or in log file. When i input corresponding
information and click "save" button on the 'Job Configuration' dialog,
it dose nothing and the 'Job Configuration' dialog still exists.
The cause of this problem is that it get None of uuid when get clients.
This patch will fix it.
Change-Id: I633ba237f18df63072c36ef545497aa51c3dda2c
Closes-Bug: #1688212
The backup_uuid parameter was dropped from the API for sometime which
means that some of the API calls that expect it to be there in the
dashboard do not get it and return 'None' instead. This breaks a few
things like the backup list and other features.
This patch addresses this issue by replacing the backup_uuid with
the new key, backup_id.
Change-Id: I4a1ed6cb1247a281f5f1a980fe96fc4a63b18162
Closes-Bug: #1683174
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.
http://docs.openstack.org/developer/hacking/#imports
Change-Id: Ibfaf35be7506db820bea8e41a7fc8fcaf20fe08a
freezer-web-ui needs to be switched to python-freezerclient
in the same way as freezer. freezer.apiclient is no longer
available.
Change-Id: Icba3e628f7b1e9305b556609bf55676a776ecfa5
Implements: blueprint switch-to-python-freezer-client
Closes-Bug: #1643950
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
The oslo.log (logging) configuration library provides standardized
configuration for all openstack projects. It also provides custom
formatters, handlers and support for context specific
logging (like resource id's etc).
In addition, freezer-web-ui should be consistent with freezer in terms
of style commandments, for
more information,see:
https://github.com/openstack/freezer/blob/master/HACKING.rst
Change-Id: I99499c2b16bd7f7fec1be8ebc72f7632994576cc
Fix calendar to better display in small windows
Bump the number of results for listing items
Quick workaround to successfully listing items after being created
Closes bug: 1556939
Change-Id: Ibaf0a999a729197900b18c1f22fd819f5e11e797
By priority:
- Getting it from the FREEZER_API_URL parameter in the enabled file
- Getting it from keystone with the provided endpoint type
- Getting it from keystone with the 'internal' endpoint type
- Getting it from keystone with the 'public' endpoint type
Resolves bug: 1541933
Change-Id: I7c369ca192f9c3acf551270382abb2bf231abb38
js code cannot reach the api endpoints for action retrieval in specific cases
because it depends on the actual url in the browser
Closes-bug: 1525169
Depends-On: I837e3fe973d72c792cb34711cef9f6507a004d49
Change-Id: Ibffad1a6a24559535c71ea94ba98deeb78ebeccb
When a session is selected and then deleted, freezer-web-ui breaks by trying to
create a list of clients inside a non-existing session
Resolves bug: 1533705
Change-Id: I460c0abca746e74f2eab78694765ea941406ecf7
max retries, max retries interval and mandatory values are not present in
the dictionary that the api gets, this commit fix that by updating the
dictionary with those values
Resolves bug: 1533637
Change-Id: I3be163db0da7e3e84881bb6c3ab378cb1687037c
remove empty tab for job edition
remove possibility to add job without interval if start and end date
are provided
show a message when a job is started/stoped
Resolves bug: 1523497
Change-Id: Iff39fc9e813969672eecd48d9084fd100bcf611c
rename _50_freezer.py to _50_freezer.py.example
updated readme to point to freezer launchpad
improved readability for actions and jobs in the ui
Change-Id: Ib07719e5f91443ea6716f940b6b125b872505088
If a key is not present in the database, the panel failed to open the modal
windows for edition, this fix that by using the dict.get()
Change-Id: Ic5f5e216828f10d41f288408fc5109dc004c6ab9
action, job, session, backup, clients are now objects in api.py
shield decorator to avoid having boilerplate code in views
move from freezer_ui to disaster_recovery url
improved actions edition in a job
javascript lint
added clients panel
added actions panel
improved restore functionality from the dashboard
Change-Id: I23aed516bcde3a40b24144b05f858d1e3a49a796