Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update time zone #23461

Draft
wants to merge 33 commits into
base: current-user-mgmt
Choose a base branch
from
Draft

Conversation

SanthiParakal133
Copy link
Contributor

Resolves APPEALS-64000

Description

Update Time zone

Acceptance Criteria

  • Code compiles correctly

Testing Plan

  1. Go to Jira Issue/Test Plan Link or list them below
  • For feature branches merging into main: Was this deployed to UAT?

tradesmanhelix and others added 30 commits October 25, 2024 14:39
* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher
* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* small fix

---------

Co-authored-by: Alexander Smith <[email protected]>
* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Updated Vbms Service for RestAPI

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: Deepak <[email protected]>
* Add series_id assignment to initial fetch from VBMS

* Wrap attribute assignment in feature toggle and added test case
* Allow Vet File Update via Claim Evidence API

* Update Gem Version and Get Specs Passing
- Remove curly brackets around file series IDs and update call
  to use series ID.

- Correctly format date_va_received_document string.

- Update specs.
* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update
* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* allow VeteranFileUpload to connect with CEAPI

* update response

* update specs

* fix

* add json adapter

* small fix

* Fix lint issues

* lint fix

* rubocop fix

* Updated ruby ce api gem

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>
* Update How Caseflow Adapts CE API Responses

* Remove Unneeded Gemfile Changes

* Reset Gemfile to Match Feature Branch

---------

Co-authored-by: youfoundmanesh <[email protected]>
Address issues with AWS requests failing by falling back to older
versions of some gems.
* Add Base Sensitivity Methods and Services

- Add user/veteran sensitivity methods to BGSService, borrowed
from work done for correspondence auto assignment.

- Create new service for checking the compatibility of
user/veteran sensitivity.

* Add Sensitivity Method to VBMS Service
* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email
* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Add checks for Sensitivity level

* small fix

* update specs

---------

Co-authored-by: Alexander Smith <[email protected]>
* Added method to fetch and verify access by vet file number

* Added spec tests and guard clause for unassosciated documents
* Update Feature Toggle Logic

- Remove references to the send_current_user_cred_to_ce_api flag
  as it is not yet implemented.

- Update sensitivity checks in vbms_service to be controlled by
  the use_ce_api feature toggle.

- Remove sensitivity checks from VbmsRequestWithFileNumber and
  child classes.

* Revert Unintended DB Schema Changes
* Add New CE REST API REST Functionality for Vet Docs (#21812)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Deepak/appeals 46955 (#21865)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* small fix

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 46956 v1 (#21920)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Updated Vbms Service for RestAPI

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: Deepak <[email protected]>

* Updated ruby_claim_evidence_api gem

* Added ClaimEvidenceApiError to rescue block (#21987)

* update result_hash (#22011)

* Fix nil Series_id for GetDocumentContent (#22038)

* Add series_id assignment to initial fetch from VBMS

* Wrap attribute assignment in feature toggle and added test case

* Allow Vet File Update via Claim Evidence API (#22194)

* Allow Vet File Update via Claim Evidence API

* Update Gem Version and Get Specs Passing

* Update Caseflow to Use Updated CE API Gem (#22272)

* Fix Misc. Issues with Caseflow Vet Doc Updates (#22301)

- Remove curly brackets around file series IDs and update call
  to use series ID.

- Correctly format date_va_received_document string.

- Update specs.

* Move update_document Feature Flag Logic (#22345)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* Deepak/appeals 51312 (#22364)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* allow VeteranFileUpload to connect with CEAPI

* update response

* update specs

* fix

* add json adapter

* small fix

* Fix lint issues

* lint fix

* rubocop fix

* Updated ruby ce api gem

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>

* Updated ruby_claim_evidence_ap gem

* Update How Caseflow Adapts CE API Responses (#22395)

* Update How Caseflow Adapts CE API Responses

* Remove Unneeded Gemfile Changes

* Reset Gemfile to Match Feature Branch

---------

Co-authored-by: youfoundmanesh <[email protected]>

* Reset Gem Versions (#22458)

Address issues with AWS requests failing by falling back to older
versions of some gems.

* Updated ruby_claim_evidence_api gem

* Create Example Sensitivity Banner (#22562)

* Add Base Sensitivity Methods and Services (#22589)

* Add Base Sensitivity Methods and Services

- Add user/veteran sensitivity methods to BGSService, borrowed
from work done for correspondence auto assignment.

- Create new service for checking the compatibility of
user/veteran sensitivity.

* Add Sensitivity Method to VBMS Service

* Add FindDocumentSeriesReference Sensitivity Checks (#22616)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Deepak/appeals 53851 (#22628)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Add checks for Sensitivity level

* small fix

* update specs

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 53862 (#22636)

* Added method to fetch and verify access by vet file number

* Added spec tests and guard clause for unassosciated documents

* Updated ruby_claim_evidence_api gem with ref

* Updated ruby_claim_evidence_api gem

* Update feature toogle to send_current_user_cred

* Update feature toogle to send_current_user_cred_to_ce_api

* Update Feature Toggle Logic (#23001)

* Update Feature Toggle Logic

- Remove references to the send_current_user_cred_to_ce_api flag
  as it is not yet implemented.

- Update sensitivity checks in vbms_service to be controlled by
  the use_ce_api feature toggle.

- Remove sensitivity checks from VbmsRequestWithFileNumber and
  child classes.

* Revert Unintended DB Schema Changes

* Update VBMSService to Pass ClaimEvidenceRequest to CE API Gem

- This change will allow the CE API gem to call the CE API using
  the css_id and station_id in the passed ClaimEvidenceRequest
  object.

- The send_current_user_cred_to_ce_api in Caseflow will control
  whether user credentials or system credentials flow the CE API
  gem.

* Update ruby_claim_evidence_api Gem

- Update gem to use changes that allow for sending user creds
  to the CE API.

* Fix Misc. Issues

- Refactor some duplicate code.

- Use branch for CE API gem in Gemfile.

---------

Co-authored-by: SanthiParakal133 <[email protected]>
Co-authored-by: Kevma50287 <[email protected]>
Co-authored-by: Deepak <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>
* update unused parameter

* rubocop fix
* Updated to error object

* Fix rspec failures

* Update VBMSService to Pass ClaimEvidenceRequest to CE API Gem (#23101)

* Add New CE REST API REST Functionality for Vet Docs (#21812)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Deepak/appeals 46955 (#21865)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* small fix

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 46956 v1 (#21920)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Updated Vbms Service for RestAPI

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: Deepak <[email protected]>

* Updated ruby_claim_evidence_api gem

* Added ClaimEvidenceApiError to rescue block (#21987)

* update result_hash (#22011)

* Fix nil Series_id for GetDocumentContent (#22038)

* Add series_id assignment to initial fetch from VBMS

* Wrap attribute assignment in feature toggle and added test case

* Allow Vet File Update via Claim Evidence API (#22194)

* Allow Vet File Update via Claim Evidence API

* Update Gem Version and Get Specs Passing

* Update Caseflow to Use Updated CE API Gem (#22272)

* Fix Misc. Issues with Caseflow Vet Doc Updates (#22301)

- Remove curly brackets around file series IDs and update call
  to use series ID.

- Correctly format date_va_received_document string.

- Update specs.

* Move update_document Feature Flag Logic (#22345)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* Deepak/appeals 51312 (#22364)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* allow VeteranFileUpload to connect with CEAPI

* update response

* update specs

* fix

* add json adapter

* small fix

* Fix lint issues

* lint fix

* rubocop fix

* Updated ruby ce api gem

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>

* Updated ruby_claim_evidence_ap gem

* Update How Caseflow Adapts CE API Responses (#22395)

* Update How Caseflow Adapts CE API Responses

* Remove Unneeded Gemfile Changes

* Reset Gemfile to Match Feature Branch

---------

Co-authored-by: youfoundmanesh <[email protected]>

* Reset Gem Versions (#22458)

Address issues with AWS requests failing by falling back to older
versions of some gems.

* Updated ruby_claim_evidence_api gem

* Create Example Sensitivity Banner (#22562)

* Add Base Sensitivity Methods and Services (#22589)

* Add Base Sensitivity Methods and Services

- Add user/veteran sensitivity methods to BGSService, borrowed
from work done for correspondence auto assignment.

- Create new service for checking the compatibility of
user/veteran sensitivity.

* Add Sensitivity Method to VBMS Service

* Add FindDocumentSeriesReference Sensitivity Checks (#22616)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Deepak/appeals 53851 (#22628)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Add checks for Sensitivity level

* small fix

* update specs

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 53862 (#22636)

* Added method to fetch and verify access by vet file number

* Added spec tests and guard clause for unassosciated documents

* Updated ruby_claim_evidence_api gem with ref

* Updated ruby_claim_evidence_api gem

* Update feature toogle to send_current_user_cred

* Update feature toogle to send_current_user_cred_to_ce_api

* Update Feature Toggle Logic (#23001)

* Update Feature Toggle Logic

- Remove references to the send_current_user_cred_to_ce_api flag
  as it is not yet implemented.

- Update sensitivity checks in vbms_service to be controlled by
  the use_ce_api feature toggle.

- Remove sensitivity checks from VbmsRequestWithFileNumber and
  child classes.

* Revert Unintended DB Schema Changes

* Update VBMSService to Pass ClaimEvidenceRequest to CE API Gem

- This change will allow the CE API gem to call the CE API using
  the css_id and station_id in the passed ClaimEvidenceRequest
  object.

- The send_current_user_cred_to_ce_api in Caseflow will control
  whether user credentials or system credentials flow the CE API
  gem.

* Update ruby_claim_evidence_api Gem

- Update gem to use changes that allow for sending user creds
  to the CE API.

* Fix Misc. Issues

- Refactor some duplicate code.

- Use branch for CE API gem in Gemfile.

---------

Co-authored-by: SanthiParakal133 <[email protected]>
Co-authored-by: Kevma50287 <[email protected]>
Co-authored-by: Deepak <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>

* Update rspec failures

* Update for lint errors

---------

Co-authored-by: Alex Smith <[email protected]>
Co-authored-by: SanthiParakal133 <[email protected]>
Co-authored-by: Deepak <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>
* Updated to error object

* Fix rspec failures

* Update VBMSService to Pass ClaimEvidenceRequest to CE API Gem (#23101)

* Add New CE REST API REST Functionality for Vet Docs (#21812)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Deepak/appeals 46955 (#21865)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* small fix

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 46956 v1 (#21920)

* Add New CE REST API REST Functionality for Vet Docs

- Add feature toggle to enable/disable new functionality.

- Call REST endpoint for veteran docs when the use_ce_api feature
toggle is enabled.

- Add supporting services and specs.

* Fix Misc. Issues

- Update JsonApiResponseAdapter with latest changes to respnse
parsing found in caseflow-efolder testing.

- Update ruby_claim_evidence_api to bugfix version.

* Update received_at Date Parsing Logic

- Use slashes instead of hyphens to help JS correctly parse the
date.

* Fix Double Quote Issue

* add CE-API endpoint to fetch document

* Improve JsonApiResponseAdapter Blank Response Handling

* Pass Rails Logger to VeteranFileFetcher

* Updated Vbms Service for RestAPI

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: Deepak <[email protected]>

* Updated ruby_claim_evidence_api gem

* Added ClaimEvidenceApiError to rescue block (#21987)

* update result_hash (#22011)

* Fix nil Series_id for GetDocumentContent (#22038)

* Add series_id assignment to initial fetch from VBMS

* Wrap attribute assignment in feature toggle and added test case

* Allow Vet File Update via Claim Evidence API (#22194)

* Allow Vet File Update via Claim Evidence API

* Update Gem Version and Get Specs Passing

* Update Caseflow to Use Updated CE API Gem (#22272)

* Fix Misc. Issues with Caseflow Vet Doc Updates (#22301)

- Remove curly brackets around file series IDs and update call
  to use series ID.

- Correctly format date_va_received_document string.

- Update specs.

* Move update_document Feature Flag Logic (#22345)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* Deepak/appeals 51312 (#22364)

* Move update_document Feature Flag Logic

Move to wrap call to the legacy SOAP request. Previously, the
legacy request could still be used if users called update_document
directly, but this PR closes that loophole.

* Add Subject to Doc Update

* allow VeteranFileUpload to connect with CEAPI

* update response

* update specs

* fix

* add json adapter

* small fix

* Fix lint issues

* lint fix

* rubocop fix

* Updated ruby ce api gem

---------

Co-authored-by: Alexander Smith <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>

* Updated ruby_claim_evidence_ap gem

* Update How Caseflow Adapts CE API Responses (#22395)

* Update How Caseflow Adapts CE API Responses

* Remove Unneeded Gemfile Changes

* Reset Gemfile to Match Feature Branch

---------

Co-authored-by: youfoundmanesh <[email protected]>

* Reset Gem Versions (#22458)

Address issues with AWS requests failing by falling back to older
versions of some gems.

* Updated ruby_claim_evidence_api gem

* Create Example Sensitivity Banner (#22562)

* Add Base Sensitivity Methods and Services (#22589)

* Add Base Sensitivity Methods and Services

- Add user/veteran sensitivity methods to BGSService, borrowed
from work done for correspondence auto assignment.

- Create new service for checking the compatibility of
user/veteran sensitivity.

* Add Sensitivity Method to VBMS Service

* Add FindDocumentSeriesReference Sensitivity Checks (#22616)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Deepak/appeals 53851 (#22628)

* Add Sensitivity Checks

- Verify user/veteran sensitivity levels are compatible when
calling ExternalApi::VBMSService.fetch_document_series_for and
when calling ExternalApi::VbmsDocumentSeriesForAppeal.fetch.

* Add Class Comment

* Add Sensitivity Check Failure Handling Logic to Frontend

* Improve Comment Wording

* Add Missing Space Before Access Email

* Add checks for Sensitivity level

* small fix

* update specs

---------

Co-authored-by: Alexander Smith <[email protected]>

* Kev ma/appeals 53862 (#22636)

* Added method to fetch and verify access by vet file number

* Added spec tests and guard clause for unassosciated documents

* Updated ruby_claim_evidence_api gem with ref

* Updated ruby_claim_evidence_api gem

* Update feature toogle to send_current_user_cred

* Update feature toogle to send_current_user_cred_to_ce_api

* Update Feature Toggle Logic (#23001)

* Update Feature Toggle Logic

- Remove references to the send_current_user_cred_to_ce_api flag
  as it is not yet implemented.

- Update sensitivity checks in vbms_service to be controlled by
  the use_ce_api feature toggle.

- Remove sensitivity checks from VbmsRequestWithFileNumber and
  child classes.

* Revert Unintended DB Schema Changes

* Update VBMSService to Pass ClaimEvidenceRequest to CE API Gem

- This change will allow the CE API gem to call the CE API using
  the css_id and station_id in the passed ClaimEvidenceRequest
  object.

- The send_current_user_cred_to_ce_api in Caseflow will control
  whether user credentials or system credentials flow the CE API
  gem.

* Update ruby_claim_evidence_api Gem

- Update gem to use changes that allow for sending user creds
  to the CE API.

* Fix Misc. Issues

- Refactor some duplicate code.

- Use branch for CE API gem in Gemfile.

---------

Co-authored-by: SanthiParakal133 <[email protected]>
Co-authored-by: Kevma50287 <[email protected]>
Co-authored-by: Deepak <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>

* Update rspec failures

* Update for lint errors

* Updated error handling

---------

Co-authored-by: Alex Smith <[email protected]>
Co-authored-by: SanthiParakal133 <[email protected]>
Co-authored-by: Deepak <[email protected]>
Co-authored-by: youfoundmanesh <[email protected]>
* Add CE API Error Handler Class

* Add Error Handling

Update the VBMSService and SensitivityChecker clases to use the
new ClaimEvidenceApiErrorHandler service.

* Add Specs

* Fix Lint Errors and Spec Failures
- Restore code we know is good.

- Wrap in begin/rescue blocks and handle errors there.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants