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

11: [ART] POA request seed task for dev #20018

Draft
wants to merge 3 commits into
base: art/poa-requests/part-5/representatives.5
Choose a base branch
from

Conversation

nihil2501
Copy link
Contributor

@nihil2501 nihil2501 commented Dec 24, 2024

bin/rails accredited_representative_portal:seed

Seeds 123 POA requests associated with the staging seed data for representatives introduced by ARM (but locally).

Copy link

github-actions bot commented Dec 24, 2024

2 Errors
🚫 This PR changes 1555 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

  • app/models/accredited_individual.rb (+5/-0)

  • app/models/accredited_organization.rb (+5/-0)

  • db/schema.rb (+15/-6)

  • modules/accredited_representative_portal/Rakefile (+1/-0)

  • modules/accredited_representative_portal/app/controllers/accredited_representative_portal/v0/power_of_attorney_requests_controller.rb (+11/-2)

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb (+34/-6)

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request.rb (+26/-3)

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_decision.rb (+7/-4)

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_expiration.rb (+1/-0)

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_resolution.rb (+18/-5)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/application_serializer.rb (+18/-0)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_decision_serializer.rb (+0/-18)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_expiration_serializer.rb (+0/-4)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_resolution_serializer.rb (+0/-6)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer.rb (+20/-6)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/accredited_individual_serializer.rb (+14/-0)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/decision_serializer.rb (+21/-0)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/expiration_serializer.rb (+7/-0)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/power_of_attorney_holder_serializer.rb (+27/-0)

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/resolution_serializer.rb (+7/-0)

  • modules/accredited_representative_portal/db/migrate/20241227212839_remove_old_indices_from_poa_forms.rb (+6/-0)

  • modules/accredited_representative_portal/db/migrate/20241227212922_remove_columns_from_poa_forms.rb (+5/-0)

  • modules/accredited_representative_portal/db/migrate/20241227212942_add_columns_to_poa_forms.rb (+10/-0)

  • modules/accredited_representative_portal/db/migrate/20241227213018_add_new_index_to_poa_forms.rb (+8/-0)

  • modules/accredited_representative_portal/db/migrate/20241227213059_add_claimant_type_to_poa_requests.rb (+5/-0)

  • modules/accredited_representative_portal/db/migrate/20241227213060_add_poa_request_references_representatives.rb (+20/-0)

  • modules/accredited_representative_portal/db/migrate/20241227213061_add_poa_request_references_representatives_foreign_key.rb (+5/-0)

  • modules/accredited_representative_portal/db/migrate/20241227213062_add_poa_request_references_representatives_foreign_key_validate.rb (+5/-0)

  • modules/accredited_representative_portal/lib/tasks/seed.rake (+186/-0)

  • modules/accredited_representative_portal/lib/tasks/seed/records.rb (+407/-0)

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb (+102/-4)

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request.rb (+3/-0)

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request_decision.rb (+1/-0)

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb (+21/-3)

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_decision_spec.rb (+13/-0)

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_resolution_spec.rb (+16/-0)

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_spec.rb (+19/-0)

  • modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb (+350/-66)

  • spec/factories/accredited_individuals.rb (+3/-0)

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

    *.csv, *.json, *.tsv, *.txt, *.md, 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/, *.bru, *.pdf
    

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

🚫

Modified files in db/migrate or db/schema.rb changes should be the only files checked into this PR.

File Summary

DB File(s)

  • db/schema.rb

  • modules/accredited_representative_portal/db/migrate/20241227212839_remove_old_indices_from_poa_forms.rb

  • modules/accredited_representative_portal/db/migrate/20241227212922_remove_columns_from_poa_forms.rb

  • modules/accredited_representative_portal/db/migrate/20241227212942_add_columns_to_poa_forms.rb

  • modules/accredited_representative_portal/db/migrate/20241227213018_add_new_index_to_poa_forms.rb

  • modules/accredited_representative_portal/db/migrate/20241227213059_add_claimant_type_to_poa_requests.rb

  • modules/accredited_representative_portal/db/migrate/20241227213060_add_poa_request_references_representatives.rb

  • modules/accredited_representative_portal/db/migrate/20241227213061_add_poa_request_references_representatives_foreign_key.rb

  • modules/accredited_representative_portal/db/migrate/20241227213062_add_poa_request_references_representatives_foreign_key_validate.rb

    App File(s)

    • app/models/accredited_individual.rb
  • app/models/accredited_organization.rb

  • modules/accredited_representative_portal/Rakefile

  • modules/accredited_representative_portal/app/controllers/accredited_representative_portal/v0/power_of_attorney_requests_controller.rb

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_form.rb

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request.rb

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_decision.rb

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_expiration.rb

  • modules/accredited_representative_portal/app/models/accredited_representative_portal/power_of_attorney_request_resolution.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/application_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_decision_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_expiration_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_resolution_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/accredited_individual_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/decision_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/expiration_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/power_of_attorney_holder_serializer.rb

  • modules/accredited_representative_portal/app/serializers/accredited_representative_portal/power_of_attorney_request_serializer/resolution_serializer.rb

  • modules/accredited_representative_portal/lib/tasks/seed.rake

  • modules/accredited_representative_portal/lib/tasks/seed/records.rb

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_form.rb

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request.rb

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request_decision.rb

  • modules/accredited_representative_portal/spec/factories/power_of_attorney_request_resolution.rb

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_decision_spec.rb

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_resolution_spec.rb

  • modules/accredited_representative_portal/spec/models/accredited_representative_portal/power_of_attorney_request_spec.rb

  • modules/accredited_representative_portal/spec/requests/accredited_representative_portal/v0/power_of_attorney_requests_spec.rb

  • spec/factories/accredited_individuals.rb

Application code must always be backwards compatible with the DB,
both before and after migrations have been run. For more info:

Generated by 🚫 Danger

@va-vfs-bot va-vfs-bot temporarily deployed to art/seeds/main/main December 24, 2024 13:29 Inactive
@va-vfs-bot va-vfs-bot temporarily deployed to art/seeds/main/main December 26, 2024 07:36 Inactive
@nihil2501 nihil2501 force-pushed the art/poa-requests/part-5/representatives.5 branch from c3db96b to a156ad7 Compare December 31, 2024 01:47
Base automatically changed from art/poa-requests/part-5/representatives.5 to art/poa-requests/part-5/representatives.4 December 31, 2024 02:54
@va-vfs-bot va-vfs-bot temporarily deployed to art/seeds/main/main December 31, 2024 03:12 Inactive
@nihil2501 nihil2501 changed the base branch from art/poa-requests/part-5/representatives.4 to art/poa-requests/part-5/representatives.5 December 31, 2024 03:15
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.

3 participants