department-of-veterans-affairs / notification-api

Notification API
MIT License
16 stars 9 forks source link

Remove Unused SMS Provider Code #962

Closed EvanParish closed 4 weeks ago

EvanParish commented 1 year ago

Value Statement

As a developer working on the notification-api repo. I want to remove the unused code that has been made obsolete by #944, sms provider selection changes. So that it's not confusing in the future when looking through the code.

Checklist

Assumptions

Additional Info/Resources

Acceptance Criteria

Testing:

GIVEN the provider specified for a template or service is pinpoint WHEN I send a valid request to {{notification-api-url}}/v2/notifications/sms THEN the message will be sent using pinpoint

GIVEN the provider specified for a template or service is twilio WHEN I send a valid request to {{notification-api-url}}/v2/notifications/sms THEN the message will be sent using twilio

Documentation:

QA Considerations

mjones-oddball commented 1 year ago

Hey team! Please add your planning poker estimate with Zenhub @babyjunior56 @cris-oddball @EvanParish @k-macmillan @kalbfled @ldraney @nikolai-efimov

npmartin-oddball commented 4 months ago

Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @EvanParish @k-macmillan @MackHalliday @mchlwellman

npmartin-oddball commented 4 months ago

Please add your planning poker estimate with Zenhub @kalbfled

npmartin-oddball commented 4 months ago

Please add your planning poker estimate with Zenhub @k-macmillan

kalbfled commented 4 months ago
.../notification-api$ grep -rni TODO | grep 962
grep: .git/objects/pack/pack-dabca01fa53fc6afa4ae334458d6c65f6cbd587e.pack: binary file matches
app/dao/provider_details_dao.py:29:# TODO #962 - Should this be deleted? sms provider swap code
app/dao/provider_details_dao.py:73:# TODO #962 - Should this be deleted? sms provider swap code
app/dao/provider_details_dao.py:83:# TODO #962 - Should this be deleted? sms provider swap code
app/dao/provider_details_dao.py:157:# TODO #962 - Should this be deleted? sms provider swap code
app/provider_details/switch_providers.py:28:# TODO #962 - Should this be deleted?
npmartin-oddball commented 4 weeks ago

Canning this. We're not updating this logic for the api as we're transitioning to enp-api.