Renames DbClient to CommonDbClient to avoid confusion 53/6653/8
authorBenjamin Diaz <bdiaz@whitestack.com>
Mon, 8 Oct 2018 19:26:32 +0000 (16:26 -0300)
committerdiazb <bdiaz@whitestack.com>
Tue, 16 Oct 2018 20:30:23 +0000 (22:30 +0200)
commit8d2d6a02f2282c50a934ccab25fc909e3bbc27c6
treefa63daff8d42dc62e37bca780c1ca6b8216c9f6b
parent16256cbbf6cdfde8debc3254bf55ce0b8fa51b08
Renames DbClient to CommonDbClient to avoid confusion

POL comunicates with two different databases, a relational
one, that stores records for alarms, scaling groups and more,
and a nonrelational one, that is common to all OSM modules,
which we call CommonDB, that currently corrsponds to a MongoDB
instance and stores nsds, vnfds, etc.
The name db_client and DbClient used in the file and
class that comunicates with CommonDB may be open to confussion,
so it has been renamed as common_db_client and CommonDbClient.

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