Refactor common_db client code 19/6619/2
authorBenjamin Diaz <bdiaz@whitestack.com>
Wed, 3 Oct 2018 17:36:49 +0000 (14:36 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Thu, 4 Oct 2018 13:56:19 +0000 (10:56 -0300)
commitbe75541d2f2306f8992f47bca8179210f858c593
tree9c220cd35dfaffd22358634bbee851a94f0dc9a9
parentd0fea7ea94e262be18a0f473eebd7e7239d892b2
Refactor common_db client code

Creates DbClient which exposes methods to interact with the common
database, using osm_common module.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
Change-Id: Ib81bb44e5f2c6ffd289380936b089af2f9e76e63
osm_policy_module/common/db_client.py [new file with mode: 0644]
osm_policy_module/core/agent.py
osm_policy_module/tests/integration/test_policy_agent.py