Skip to content

Introduce and use ShortlinksService#3749

Merged
demiankatz merged 8 commits intovufind-org:devfrom
demiankatz:shortlinks-service
Jun 13, 2024
Merged

Introduce and use ShortlinksService#3749
demiankatz merged 8 commits intovufind-org:devfrom
demiankatz:shortlinks-service

Conversation

@demiankatz
Copy link
Member

@demiankatz demiankatz commented Jun 4, 2024

The Shortlinks port in #2233 moves a lot of logic into the database service; this PR takes a different approach to keep higher-level logic in a higher-level class. I'll reconcile the differences once it's merged.

TODO:

  • Hands-on testing of upgrade controller

@demiankatz demiankatz added this to the 10.0 milestone Jun 4, 2024
@demiankatz demiankatz added the architecture pull requests that involve significant refactoring / architectural changes label Jun 4, 2024
demiankatz added a commit to demiankatz/vufind that referenced this pull request Jun 4, 2024
@demiankatz demiankatz requested review from EreMaijala and aleksip June 4, 2024 18:25
* @return void
* @throws Exception
*/
public function beginTransaction(): void;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move these transaction methods to a separate feature interface since they are not specific to shortlinks.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent idea; I suspect they may eventually get refactored to the base class, but having their own interface is helpful wherever they end up in the long run.

@demiankatz demiankatz merged commit 17888e6 into vufind-org:dev Jun 13, 2024
@demiankatz demiankatz deleted the shortlinks-service branch June 13, 2024 16:54
@EreMaijala EreMaijala removed their request for review June 24, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture pull requests that involve significant refactoring / architectural changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants