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

[45352] remove MHV Accounts #11922

Merged
merged 0 commits into from
Mar 8, 2023
Merged

[45352] remove MHV Accounts #11922

merged 0 commits into from
Mar 8, 2023

Conversation

bramleyjl
Copy link
Contributor

@bramleyjl bramleyjl commented Feb 28, 2023

Summary

  • (Summarize the changes that have been made to the platform)
    • This PR removes the backend code controlling MHV Accounts. The feature has been determined to no longer be in use, and following the MHVA Accounts removal from vets-website its related code can now safely be removed from vets-api.
  • (Which team do you work for, does your team own the maintainence of this component?)
    • Identity, neither of these features have specific codeowners.

Related issue(s)

Testing done

  • SiS & SSOe authentications & user profile lookups performed without error.
  • Unit specs for removed code also removed.

Acceptance criteria

  • I fixed|updated|added unit tests and integration tests for each feature (if applicable).
  • No error nor warning in the console.
  • If app impacted requires authentication, did you login to a local build and verify all authenticated routes work as expected

@bramleyjl bramleyjl self-assigned this Feb 28, 2023
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main February 28, 2023 18:17 Inactive
@github-actions
Copy link

github-actions bot commented Feb 28, 2023

1 Error
🚫 This PR changes 1399 LoC (not counting whitespace/newlines).

In order to ensure each PR receives the proper attention it deserves, those exceeding
500 will not be reviewed, nor will they be allowed to merge. Please break this PR up into
smaller ones.

If you have reason to believe that this PR should be granted an exception, please see the
Submitting pull requests for approval - FAQ.

File Summary

Files

  • .rubocop.yml (+0/-1)

  • app/controllers/v0/mhv_accounts_controller.rb (+0/-47)

  • app/models/mhv_account.rb (+0/-230)

  • app/models/mhv_account_ineligible.rb (+0/-31)

  • app/models/terms_and_conditions_acceptance.rb (+0/-1)

  • app/models/user.rb (+0/-7)

  • app/policies/mhv_account_creation_policy.rb (+0/-7)

  • app/serializers/mhv_account_serializer.rb (+0/-11)

  • app/services/mhv_accounts_service.rb (+0/-139)

  • app/services/users/services.rb (+0/-1)

  • app/workers/mhv/account_statistics_job.rb (+0/-53)

  • config/redis.yml (+0/-3)

  • config/routes.rb (+0/-4)

  • spec/controllers/v1/sessions_controller_spec.rb (+0/-2)

  • spec/factories/mhv_accounts.rb (+0/-22)

  • spec/jobs/mhv/account_statistics_job_spec.rb (+0/-50)

  • spec/models/mhv_account_spec.rb (+0/-332)

  • spec/requests/mhv_accounts_request_spec.rb (+0/-287)

  • spec/requests/swagger_spec.rb (+0/-7)

  • spec/requests/user_request_spec.rb (+0/-6)

  • spec/services/mhv_accounts_service_spec.rb (+0/-156)

  • spec/services/mhv_logging_service_spec.rb (+0/-2)

    Note: We exclude files matching the following when considering PR size:

    *.csv, *.json, *.tsv, *.txt, Gemfile.lock, app/swagger, modules/mobile/docs, spec/fixtures/, spec/support/vcr_cassettes/, modules/mobile/spec/support/vcr_cassettes/, db/seeds, modules/vaos/app/docs, modules/meb_api/app/docs, modules/appeals_api/app/swagger/
    

Big PRs are difficult to review, often become stale, and cause delays.

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main February 28, 2023 18:22 Inactive
@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from a059e5a to d349f2d Compare February 28, 2023 22:38
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main February 28, 2023 22:39 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main February 28, 2023 23:14 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main February 28, 2023 23:38 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main March 1, 2023 20:36 Inactive
@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from 631e2c5 to 63473de Compare March 1, 2023 21:03
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main March 1, 2023 21:04 Inactive
@bramleyjl bramleyjl marked this pull request as ready for review March 1, 2023 23:08
@bramleyjl bramleyjl requested review from a team as code owners March 1, 2023 23:08
@bramleyjl bramleyjl added identity identity-backend Identity team backend label labels Mar 1, 2023
rileyanderson
rileyanderson previously approved these changes Mar 2, 2023
Copy link
Contributor

@rileyanderson rileyanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Tested authentication locally

@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from 63473de to d4b7ff0 Compare March 7, 2023 16:24
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main March 7, 2023 16:25 Inactive
@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from d4b7ff0 to 4a4e70a Compare March 7, 2023 18:29
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main March 7, 2023 18:32 Inactive
@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from 4a4e70a to ef22071 Compare March 7, 2023 19:55
@va-vfs-bot va-vfs-bot temporarily deployed to 45352_remove_mhv_accounts/main/main March 7, 2023 19:56 Inactive
@bramleyjl bramleyjl force-pushed the 45352_remove_mhv_accounts branch from ef22071 to c99c2ac Compare March 8, 2023 02:58
Copy link
Contributor

@rileyanderson rileyanderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@bramleyjl bramleyjl merged commit f0f4b17 into master Mar 8, 2023
@bramleyjl bramleyjl deleted the 45352_remove_mhv_accounts branch March 8, 2023 18:15
@bramleyjl bramleyjl changed the title [45352] remove MHV Accounts / Terms & Conditions [45352] remove MHV Accounts Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants