579f5afc64
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> |
||
---|---|---|
.. | ||
install_venv.py | ||
start-fake-mode.sh | ||
stop-fake-mode.sh | ||
test-setup.sh | ||
trove-policy-generator.conf | ||
trove-pylint.config | ||
trove-pylint.py | ||
trove-pylint.README | ||
with_venv.sh |