moved all references to getTenants from cmdb to tenants table