Skip to content

Conversation

@futa-ikeda
Copy link
Collaborator

Ticket

Purpose

Changes

Side Effects

API Documentation

QE Notes

CE Notes

@futa-ikeda futa-ikeda changed the title Feature/redirect service support [ENG-8975] Feature/redirect service support Oct 22, 2025
Copy link
Collaborator

@sh-andriy sh-andriy 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 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

@futa-ikeda
Copy link
Collaborator Author

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.

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?

@futa-ikeda futa-ikeda merged commit 84ff28a into feature/25.5.0 Jan 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants