-
Notifications
You must be signed in to change notification settings - Fork 72
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
switch messaging service type db enum to use lowercase values #2746
switch messaging service type db enum to use lowercase values #2746
Conversation
8d340b2
to
248d4b3
Compare
Passing run #683 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2746 +/- ##
=======================================
Coverage 86.55% 86.55%
=======================================
Files 291 291
Lines 16488 16488
Branches 2117 2117
=======================================
Hits 14272 14272
Misses 1817 1817
Partials 399 399
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
535ca7b
to
c336494
Compare
c0c303a
to
d3e4cfa
Compare
d3e4cfa
to
a263aeb
Compare
Closes #2680
Code Changes
MessagingServiceType
Enum in python codebase to have lowercased values, update any references in code and in tests.upper()
calls that coerced user-input values to instead be.lower()
, to maintain backward compatibility and continue to support uppercased user inputSteps to Confirm
main
(e.g.nox -s dev -- ui
) and create a messaging config (e.g. using the system config UI)nox -s teardown
nox -s dev -- ui
) and ensure your messaging config is still present and functional (can check using the API -GET /api/v1/messaging/default/{service_type}
, or checking themessagingconfig
db table directly)Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
main
to configure a messaging config, the UI will have set thenotification.notification_service_type
property to an uppercased value, e.g.MAILGUN
.500
s on calls toGET /api/v1/messaging/default/active
and that's what is used by the messaging config UI to load the "current" messaging provider. so the messaging config UI will show up as if you have no messaging provider configured