Skip to content

TA-3754: Simplify ContentService#212

Merged
Zgjim Haziri (ZgjimHaziri) merged 7 commits into
content-cli-v2-refactoringfrom
TA-3745-simplify-content-service
Jun 16, 2025
Merged

TA-3754: Simplify ContentService#212
Zgjim Haziri (ZgjimHaziri) merged 7 commits into
content-cli-v2-refactoringfrom
TA-3745-simplify-content-service

Conversation

@ZgjimHaziri
Copy link
Copy Markdown
Contributor

Description

  • After the refactoring that was done, the need for ContentService was reduced because no custom logic was provided there except for calling the push/pull methods of the sent BaseManager.
  • Therefore removed the ContentService as is, in favor of calling the pull/push methods of the BaseManager directly from the manager.
  • The batchPush method of the ContentService seemed to be useful as a helper method, so extracted it in a BaseManagerHelper class.

Relevant links

Jira issue: https://celonis.atlassian.net/browse/TA-3754

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

Comment thread src/core/http/http-shared/base.manager.helper.ts Outdated
Base automatically changed from TA-3754-minor-refactoring to content-cli-v2-refactoring June 16, 2025 08:28
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) dismissed stale reviews from Buqeta (Buqeta), Kastriot Salihu (ksalihu), and Jeta (jetakasabaqi) June 16, 2025 08:28

The base branch was changed.

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) merged commit 8ea093c into content-cli-v2-refactoring Jun 16, 2025
1 check passed
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) deleted the TA-3745-simplify-content-service branch June 16, 2025 11:17
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