consent-manager icon indicating copy to clipboard operation
consent-manager copied to clipboard

Allow read from postgres replica if there's

Open ganesanarun opened this issue 4 years ago • 1 comments

It's configurable in case if we have replica then we could use to read from replica, otherwise by default it will use the master configuration from read postgres client too.

Right now, it's being enabled only for ConsentRequestRepository. We can do the same thing for other repositories once we tested out.

ganesanarun avatar Aug 04 '20 10:08 ganesanarun

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 1 Code Smell

44.4% 44.4% Coverage
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Aug 04 '20 10:08 sonarqubecloud[bot]

Codacy Here is an overview of what got changed by this pull request:


Complexity increasing per file
==============================
- consent/src/main/java/in/projecteka/consentmanager/properties/DbOptions.java  2
         

Clones added
============
- consent/src/main/java/in/projecteka/consentmanager/user/OtpAttemptService.java  1
         

See the complete overview on Codacy

ganesanarun avatar Aug 21 '20 09:08 ganesanarun