trove/tools
Zhao Chao 579f5afc64 Use RootHistory to check if root is ever enabled
When disabling root, there is no need to call guestagent to check
whether the root user is ever enabled. Root hisotry table should
be used for this purpose.

As datastore specific root controller of MySQL/Cassandra/PostgreSQL
were created only for the '_find_root_user' which were calling
guestagent to find root user, these controllers are removed and
'DefaultRootController' is used instead.

RedisRootController is also updated as it didn't do this check
previously.

Unittests directory structure is also slightly changed. It's more
clear to use similar directory hierarchies for testing and source
code, e.g.
    trove/extensions/common/service.py
    trove/tests/unitests/extensions/common/test_service.py

Change-Id: I9faac61d9650347b51f23e8fcaf5a92aed5fbf93
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-02-28 09:14:36 +08:00
..
install_venv.py Fix to use "." to source script files 2017-08-29 00:25:50 +08:00
start-fake-mode.sh Remove Python 2.6 classifier 2014-12-02 09:57:52 +01:00
stop-fake-mode.sh Migrating trove to entry points 2014-02-01 01:19:58 +00:00
test-setup.sh Prepare for using standard python tests 2017-02-02 12:10:40 +00:00
trove-policy-generator.conf Generate policy sample file automatically. 2018-02-12 18:11:22 +08:00
trove-pylint.README improve pylint; generate errors and config in sorted order 2016-09-19 21:04:14 +00:00
trove-pylint.config Use RootHistory to check if root is ever enabled 2018-02-28 09:14:36 +08:00
trove-pylint.py trove pylint cleanup(s) 2016-12-18 08:18:47 -05:00
with_venv.sh Enclose command args in with_venv.sh 2013-09-09 15:02:40 +08:00