congress/congress/tests
Eric Kao 94fdc38c86 Add policy creation with rules or from policy library
persistent_create_policy_with_rules method added to agnostic runtime
to transactionally create policy along with rules. The main work is
done by the persistent_insert_rules method extended to allow creation
of the target policy along with the rule inserts.

Database transactions added in persistent_insert_rules to make sure
all changes (policy add and rules insert) can be committed or rolled
back together.

DB table locking expanded to the `policies` table in the policy
creation case to prevent conflicting policy changes from other nodes.

policy_model add_item API method extended to accept policy item with
rules, (exclusive) or parameter specifying ID of library policy to
activate.

Partially implements: blueprint policy-library
Partial-Bug: 1693622

Change-Id: I2a83ac11b7014d417ff7553f602a8bb96a9adc34
2017-07-17 16:26:24 -07:00
..
api Add policy creation with rules or from policy library 2017-07-17 16:26:24 -07:00
common Use more specific asserts in tests 2017-02-28 03:14:25 +00:00
datalog Pad positional args up to required number 2017-04-12 15:13:19 -07:00
datasources Merge "Add tempest tests for keystonev3 driver" 2017-06-02 05:15:52 +00:00
db Automatically load library policy files at start 2017-07-06 17:45:19 -07:00
dse2 Parallel execution in DataSource Driver 2017-05-19 03:53:33 +00:00
etc Update and add haht rule test cases for locking 2017-01-30 20:22:39 +00:00
haht Automatically load library policy files at start 2017-07-06 17:45:19 -07:00
library_service Automatically load library policy files at start 2017-07-06 17:45:19 -07:00
policy_engines Add policy creation with rules or from policy library 2017-07-17 16:26:24 -07:00
__init__.py Replace retrying with tenacity 2016-09-08 10:36:34 -06:00
base.py Removes unnecessary utf-8 encoding 2017-02-27 19:38:03 -08:00
datasources.conf Added per-datasource configuration 2014-08-15 12:28:07 -07:00
fake_datasource.py Remove deepsix reference in datasource drivers 2016-09-01 04:01:57 +00:00
fake_policy.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
fake_wsgi.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
helper.py Increase timeout for unittest 2016-11-24 11:09:23 +00:00
policy_fixture.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
test_auth.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00
test_benchmark_updates.py Merge "Check DB only to detect duplicate DS name on add" 2016-10-06 21:10:20 +00:00
test_config.py use - instead of _ in cli opts 2016-08-30 14:36:55 -07:00
test_congress.py Add policy creation with rules or from policy library 2017-07-17 16:26:24 -07:00
test_server.py Launch Congress with distributed_architecture flag is true 2016-05-13 04:49:37 +00:00
test_utils.py Use python3 print, division, import 2016-01-20 15:31:02 -08:00