Every reactive charm that uses charms.openstack and implements unit
testing needs to mock charmhelpers, as otherwise the tests blow up.
This patch uses the mocking of charmhelpers in charms.openstack so that
a charm layer can just import test_mocks and charmhelpers will be mocked
out along with setting up a default
charmhelpers.c.o.u.OPENSTACK_RELEASES so that when an OpenStackCharm()
derived charm class won't fail on definition.
Change-Id: Iea3a6dcab0a9bba952208ae92c636ade55627ef4
Related-Bug: #1693017
Depends-On: I5ac40617ee30e5f421ec16fc7592177a5e6aa166
Use default openstack charm hooks where possible, implemented
2 functions to facilitate this: get_amqp_credentials() and get_database_setup().
Allow for additional trove configuration by the user:
trove-volume-support: same name as in trove.conf
trove-datastore-database: used to set datastore_registry_ext in
trove-guestagent.conf
trove-database-volume-support: corresponds to volume_support per DB in
trove.conf
default-neutron-networks: same name as in trove.conf
Add Newton version of the trove configuration files, remove verbose
setting as it's deprecated and ignored in Newton.
Change-Id: I0a9a33128e13ad232f28996b24fea48d081786f2
Remove non-working unit tests (left only the ones that pass
- let's make it a baseline and add more afterwards).
Fix functional tests (dependency + API urls)
Repository tidy up:
Remove log files from tox from git repo;
Fixup gitreview to point to trove repository;
Make gate tests executable.
Change-Id: Ide6b833f77f76e43ebbc9fbe435cff0bd4060ef8