-
Notifications
You must be signed in to change notification settings - Fork 20
[ENG-8975] Feature/redirect service support #335
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
Conversation
Update redirect service feature branch with latest from develop
Update DummyRedirectImp
implement redirect service
Redirect service updates
sh-andriy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, this follows the existing patterns well and the implementation is clean.
One small cleanup needed in addon_service/admin/__init__.py:110-112:
enum_multiple_choice_fields = {
"int_supported_features": StorageSupportedFeatures,
}
ExternalRedirectService doesn't have an int_supported_features field, so this config does nothing. Should just remove these lines.
Optionally, for consistency with other service types, you could add a validate_redirect_imp_number validator in validators.py and call it in a clean() method on the model - but not blocking since the current setup still works fine.
Otherwise LGTM
I've opted for just removing those lines. My thinking is, it may be best to keep it as lightweight as possible, and if the need arises, we can add the validator later? |
Ticket
Purpose
Changes
Side Effects
API Documentation
QE Notes
CE Notes