Skip to content

Comments

[ENG-8975] Feature/redirect service support#335

Merged
futa-ikeda merged 13 commits intofeature/25.5.0from
feature/redirect-service-support
Jan 2, 2026
Merged

[ENG-8975] Feature/redirect service support#335
futa-ikeda merged 13 commits intofeature/25.5.0from
feature/redirect-service-support

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
adlius added a commit that referenced this pull request Jan 29, 2026
* [ENG-8975] Feature/redirect service support (#335)

* initial implementation of redirect service

* fix some issues so that API returns external redirect service

* register redirect service as an AddonImp

* Appease pre-commit linters

* Update DummyRedirectImp

* Allow selection of Addon Implementation in admin app

* Add Datapipe logo

* CR feedback

---------

Co-authored-by: jade <101148768+jadeddelta@users.noreply.github.com>
Co-authored-by: Yuhuai Liu <yuhuai@cos.io>

* [ENG-9733] bump django version to 4.2.26 (#337)

---------

Co-authored-by: futa-ikeda <51409893+futa-ikeda@users.noreply.github.com>
Co-authored-by: jade <101148768+jadeddelta@users.noreply.github.com>
Co-authored-by: antkryt <ant.krytskyi@gmail.com>
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.

4 participants