From c9084f2767249c748fb81fa8d637eb1565b8ab99 Mon Sep 17 00:00:00 2001
From: MaryKilewe <marykilewe@gmail.com>
Date: Wed, 13 Nov 2024 09:21:22 +0300
Subject: [PATCH] qa version

---
 .../ComandHandlers/Dwh/ExtractPatientHandler.cs    |  2 +-
 .../Seed/CentralRegistries.csv                     | 14 +++++++-------
 .../client-src/app/footer/footer.component.html    |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/Dwapi.ExtractsManagement.Core/ComandHandlers/Dwh/ExtractPatientHandler.cs b/src/Dwapi.ExtractsManagement.Core/ComandHandlers/Dwh/ExtractPatientHandler.cs
index 2b17f739..6eec7bca 100644
--- a/src/Dwapi.ExtractsManagement.Core/ComandHandlers/Dwh/ExtractPatientHandler.cs
+++ b/src/Dwapi.ExtractsManagement.Core/ComandHandlers/Dwh/ExtractPatientHandler.cs
@@ -69,7 +69,7 @@ public async Task<bool> Handle(ExtractPatient request, CancellationToken cancell
         
                     if (daysBetween > 2)
                     {
-                        //throw new Exception("Last Dwapi ETL refresh was more than 2 days ago. Refresh first before starting the process.");
+                        throw new Exception("Last Dwapi ETL refresh was more than 2 days ago. Refresh first before starting the process.");
                     }
                 }
             }
diff --git a/src/Dwapi.SettingsManagement.Infrastructure/Seed/CentralRegistries.csv b/src/Dwapi.SettingsManagement.Infrastructure/Seed/CentralRegistries.csv
index b033f5fa..0b27cac2 100644
--- a/src/Dwapi.SettingsManagement.Infrastructure/Seed/CentralRegistries.csv
+++ b/src/Dwapi.SettingsManagement.Infrastructure/Seed/CentralRegistries.csv
@@ -1,9 +1,9 @@
 Id|AuthToken|Url|Name|SubscriberId|DocketId
 a6221bc6-0e85-11e8-ba89-0ed5f89f718b|268DFA3EB92BC53FAE94A048E23112A1|http://52.178.24.227:8026|Card Registry|DWAPI|PSMART
-a6222bc6-0e85-11e8-ba89-0ed5f89f718b|1ba47c2a-6e05-11e8-adc0-fa7ae01bbebc|https://data.kenyahmis.org:444/dwapi|NDWH Registry|DWAPI|NDWH
-a6223bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae01bbebc|https://data.kenyahmis.org:6763|CBS Registry|DWAPI|CBS
-a6224bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-1a96-30e9-adc0-fa7ae01bbebc|https://data.kenyahmis.org:7773|HTS Registry|DWAPI|HTS
-a6225bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|https://data.kenyahmis.org:6763|MGS Registry|DWAPI|MGS
-a6226bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|https://data.kenyahmis.org:444/mnch|MNCH Registry|DWAPI|MNCH
-a6227bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|https://data.kenyahmis.org:444/prep|PREP Registry|DWAPI|PREP
-a6228bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|https://data.kenyahmis.org:444/crs|Client Registry Service|DWAPI|CRS
\ No newline at end of file
+a6222bc6-0e85-11e8-ba89-0ed5f89f718b|1ba47c2a-6e05-11e8-adc0-fa7ae01bbebc|http://localhost:21751|NDWH Registry|DWAPI|NDWH
+a6223bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae01bbebc|http://localhost:6767|CBS Registry|DWAPI|CBS
+a6224bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-1a96-30e9-adc0-fa7ae01bbebc|http://localhost:7777|HTS Registry|DWAPI|HTS
+a6225bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|http://localhost:6767|MGS Registry|DWAPI|MGS
+a6226bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|http://localhost:8787|MNCH Registry|DWAPI|MNCH
+a6227bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|http://localhost:9797|PREP Registry|DWAPI|PREP
+a6228bc6-0e85-11e8-ba89-0ed5f89f718b|1983aeda-6a96-11e8-adc0-fa7ae02bbebc|http://localhost:10707|Client Registry Service|DWAPI|CRS
diff --git a/src/Dwapi/client-src/app/footer/footer.component.html b/src/Dwapi/client-src/app/footer/footer.component.html
index 18f0a04a..edb11473 100644
--- a/src/Dwapi/client-src/app/footer/footer.component.html
+++ b/src/Dwapi/client-src/app/footer/footer.component.html
@@ -5,7 +5,7 @@
             <span style="color: green; font-weight: bolder">v{{version}}</span>
 
 
-<!--            <span style="color: red; font-weight: bolder">QA Only</span>-->
+          <span style="color: red; font-weight: bolder">3.x QA Only</span>
 
         </span>
         <span class="footer-text-right">