deckhand/deckhand/tests/integration
Felipe Monteiro 1c394a2bdc Delete secret references from Barbican when deleting all revisions
This patchset adds logic to delete all secret references from Barbican
when deleting all Deckhand revisions -- because this action effectively
purges the Deckhand database. Consequently, to avoid stale secrets
lingering about in Barbican, this action should clean up those
secret references too.

Change-Id: I88782404bd7f6d953cae343f21231b2943eaf7d2
2018-07-22 15:53:31 +00:00
..
gabbits Delete secret references from Barbican when deleting all revisions 2018-07-22 15:53:31 +00:00
__init__.py Add integration tests 2018-04-18 09:05:04 -04:00
README.rst Add integration tests 2018-04-18 09:05:04 -04:00

Integration Tests

What

These tests validate integration scenarios between Deckhand, Keystone and Barbican. These scenarios include validating Deckhand's secret lifecycle management as well as substitution of encrypted secrets, which are stored in Barbican and retrieved by Deckhand during document rendering.

How

Deckhand uses gabbi to drive its integration tests. The entry point for these tests is integration-tests.sh under tools directory.

The integration environment is deployed using OpenStack-Helm which uses Helm to orchestrate deployment of Keystone, Barbican and other pre-requisite services.

Usage

These tests can be executed via ./tools/integration-tests.sh <test-regex> from the command line, where <test-regex> is optional and if omitted all available tests are run. sudo permissions are required. It is recommended that these tests be executed inside a VM as a lot of data is pulled in (which requires thorough clean up) during the deployment phase.