From 28a650f2fe222b5b47a930fc8d60a97fa9b889b1 Mon Sep 17 00:00:00 2001 From: Stephen Barrs Date: Wed, 24 Apr 2024 15:45:32 -0400 Subject: [PATCH 1/6] add MHV MedicalRecords breakers.rb Added MHV MedicalRecords to Breakers Sort list by Alpha --- config/initializers/breakers.rb | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index 66de56892bb..0bd6d60ac08 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -42,11 +42,12 @@ redis_namespace = Redis::Namespace.new('breakers', redis: $redis) services = [ - DebtManagementCenter::DebtsConfiguration.instance.breakers_service, + BB::Configuration.instance.breakers_service, Caseflow::Configuration.instance.breakers_service, + ClaimsApi::LocalBGS.breakers_service + CovidVaccine::V0::VetextConfiguration.instance.breakers_service, + DebtManagementCenter::DebtsConfiguration.instance.breakers_service, DecisionReview::Configuration.instance.breakers_service, - Rx::Configuration.instance.breakers_service, - BB::Configuration.instance.breakers_service, EVSS::ClaimsService.breakers_service, EVSS::CommonService.breakers_service, EVSS::DisabilityCompensationForm::Configuration.instance.breakers_service, @@ -56,15 +57,23 @@ EVSS::GiBillStatus::Configuration.instance.breakers_service, EVSS::Dependents::Configuration.instance.breakers_service, EVSS::ReferenceData::Configuration.instance.breakers_service, - Gibft::Configuration.instance.breakers_service, Facilities::AccessWaitTimeConfiguration.instance.breakers_service, Facilities::AccessSatisfactionConfiguration.instance.breakers_service, GI::Configuration.instance.breakers_service, + Gibft::Configuration.instance.breakers_service, HCA::Configuration.instance.breakers_service, + IAMSSOeOAuth::Configuration.instance.breakers_service, + MedicalRecords::Configuration.instance.breakers_service, MHVAC::Configuration.instance.breakers_service, MPI::Configuration.instance.breakers_service, + PagerDuty::Configuration.instance.breakers_service, Preneeds::Configuration.instance.breakers_service, + Rx::Configuration.instance.breakers_service, + Search::Configuration.instance.breakers_service, + SearchClickTracking::Configuration.instance.breakers_service, + SearchTypeahead::Configuration.instance.breakers_service, SM::Configuration.instance.breakers_service, + VAOS::Configuration.instance.breakers_service, VAProfile::AddressValidation::Configuration.instance.breakers_service, VAProfile::ContactInformation::Configuration.instance.breakers_service, VAProfile::Communication::Configuration.instance.breakers_service, @@ -72,15 +81,7 @@ VAProfile::HealthBenefit::Configuration.instance.breakers_service, VAProfile::MilitaryPersonnel::Configuration.instance.breakers_service, VAProfile::VeteranStatus::Configuration.instance.breakers_service, - Search::Configuration.instance.breakers_service, - SearchTypeahead::Configuration.instance.breakers_service, - SearchClickTracking::Configuration.instance.breakers_service, - VAOS::Configuration.instance.breakers_service, - IAMSSOeOAuth::Configuration.instance.breakers_service, - CovidVaccine::V0::VetextConfiguration.instance.breakers_service, - VEText::Configuration.instance.breakers_service, - PagerDuty::Configuration.instance.breakers_service, - ClaimsApi::LocalBGS.breakers_service + VEText::Configuration.instance.breakers_service, ] services << CentralMail::Configuration.instance.breakers_service if Settings.central_mail&.upload&.enabled From c2654be2fdabb78ac12fcea188d861c72c6d615c Mon Sep 17 00:00:00 2001 From: Stephen Barrs Date: Wed, 24 Apr 2024 15:54:00 -0400 Subject: [PATCH 2/6] Remove typo comma --- config/initializers/breakers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index 0bd6d60ac08..0d6ded29053 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -81,7 +81,7 @@ VAProfile::HealthBenefit::Configuration.instance.breakers_service, VAProfile::MilitaryPersonnel::Configuration.instance.breakers_service, VAProfile::VeteranStatus::Configuration.instance.breakers_service, - VEText::Configuration.instance.breakers_service, + VEText::Configuration.instance.breakers_service ] services << CentralMail::Configuration.instance.breakers_service if Settings.central_mail&.upload&.enabled From 2b401f889d0a584241b3fdeb643feb23c0c2e0a3 Mon Sep 17 00:00:00 2001 From: Stephen Barrs Date: Wed, 24 Apr 2024 15:56:49 -0400 Subject: [PATCH 3/6] fix typo Commas, Grrrrr! --- config/initializers/breakers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index 0d6ded29053..7ff448a9ab8 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -44,7 +44,7 @@ services = [ BB::Configuration.instance.breakers_service, Caseflow::Configuration.instance.breakers_service, - ClaimsApi::LocalBGS.breakers_service + ClaimsApi::LocalBGS.breakers_service, CovidVaccine::V0::VetextConfiguration.instance.breakers_service, DebtManagementCenter::DebtsConfiguration.instance.breakers_service, DecisionReview::Configuration.instance.breakers_service, From c1b7cdf86b3019c6859afd89aa44200048ebc622 Mon Sep 17 00:00:00 2001 From: Stephen Barrs Date: Wed, 24 Apr 2024 16:04:08 -0400 Subject: [PATCH 4/6] Update breakers.rb trailing space removed, happy rubocop! --- config/initializers/breakers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index 7ff448a9ab8..ccb7775aafe 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -81,7 +81,7 @@ VAProfile::HealthBenefit::Configuration.instance.breakers_service, VAProfile::MilitaryPersonnel::Configuration.instance.breakers_service, VAProfile::VeteranStatus::Configuration.instance.breakers_service, - VEText::Configuration.instance.breakers_service + VEText::Configuration.instance.breakers_service ] services << CentralMail::Configuration.instance.breakers_service if Settings.central_mail&.upload&.enabled From b8e4b82204e5cb9a9df3ee718c5c1c2a20cb9ab2 Mon Sep 17 00:00:00 2001 From: Stephen Barrs Date: Wed, 24 Apr 2024 16:17:17 -0400 Subject: [PATCH 5/6] add require medical_records --- config/initializers/breakers.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index ccb7775aafe..89b38511f54 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -19,6 +19,7 @@ require 'gi/configuration' require 'gibft/configuration' require 'hca/configuration' +require 'medical_records/configuration' require 'mhv_ac/configuration' require 'mpi/configuration' require 'pagerduty/configuration' From 467ccc3dbc0510804dd7ffb589df2a182b9592e4 Mon Sep 17 00:00:00 2001 From: Adrian Rollett Date: Tue, 30 Apr 2024 22:56:03 +0000 Subject: [PATCH 6/6] Restore breakers service ordering --- config/initializers/breakers.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/config/initializers/breakers.rb b/config/initializers/breakers.rb index 89b38511f54..989a83c1f5a 100644 --- a/config/initializers/breakers.rb +++ b/config/initializers/breakers.rb @@ -43,12 +43,11 @@ redis_namespace = Redis::Namespace.new('breakers', redis: $redis) services = [ - BB::Configuration.instance.breakers_service, - Caseflow::Configuration.instance.breakers_service, - ClaimsApi::LocalBGS.breakers_service, - CovidVaccine::V0::VetextConfiguration.instance.breakers_service, DebtManagementCenter::DebtsConfiguration.instance.breakers_service, + Caseflow::Configuration.instance.breakers_service, DecisionReview::Configuration.instance.breakers_service, + Rx::Configuration.instance.breakers_service, + BB::Configuration.instance.breakers_service, EVSS::ClaimsService.breakers_service, EVSS::CommonService.breakers_service, EVSS::DisabilityCompensationForm::Configuration.instance.breakers_service, @@ -58,23 +57,16 @@ EVSS::GiBillStatus::Configuration.instance.breakers_service, EVSS::Dependents::Configuration.instance.breakers_service, EVSS::ReferenceData::Configuration.instance.breakers_service, + Gibft::Configuration.instance.breakers_service, Facilities::AccessWaitTimeConfiguration.instance.breakers_service, Facilities::AccessSatisfactionConfiguration.instance.breakers_service, GI::Configuration.instance.breakers_service, - Gibft::Configuration.instance.breakers_service, HCA::Configuration.instance.breakers_service, - IAMSSOeOAuth::Configuration.instance.breakers_service, MedicalRecords::Configuration.instance.breakers_service, MHVAC::Configuration.instance.breakers_service, MPI::Configuration.instance.breakers_service, - PagerDuty::Configuration.instance.breakers_service, Preneeds::Configuration.instance.breakers_service, - Rx::Configuration.instance.breakers_service, - Search::Configuration.instance.breakers_service, - SearchClickTracking::Configuration.instance.breakers_service, - SearchTypeahead::Configuration.instance.breakers_service, SM::Configuration.instance.breakers_service, - VAOS::Configuration.instance.breakers_service, VAProfile::AddressValidation::Configuration.instance.breakers_service, VAProfile::ContactInformation::Configuration.instance.breakers_service, VAProfile::Communication::Configuration.instance.breakers_service, @@ -82,7 +74,15 @@ VAProfile::HealthBenefit::Configuration.instance.breakers_service, VAProfile::MilitaryPersonnel::Configuration.instance.breakers_service, VAProfile::VeteranStatus::Configuration.instance.breakers_service, - VEText::Configuration.instance.breakers_service + Search::Configuration.instance.breakers_service, + SearchTypeahead::Configuration.instance.breakers_service, + SearchClickTracking::Configuration.instance.breakers_service, + VAOS::Configuration.instance.breakers_service, + IAMSSOeOAuth::Configuration.instance.breakers_service, + CovidVaccine::V0::VetextConfiguration.instance.breakers_service, + VEText::Configuration.instance.breakers_service, + PagerDuty::Configuration.instance.breakers_service, + ClaimsApi::LocalBGS.breakers_service ] services << CentralMail::Configuration.instance.breakers_service if Settings.central_mail&.upload&.enabled