Conditionally enabling TenantFactory component
This PR contains following changes
- Conditionally enabling TenantFactory component
This change was introduced because some R2 services already have this Class defined and we get conflicting beans exception. Now with this change by default this component will be disabled and services can enable this by setting a flag true
Locally tested in legal service