Skip to content

TA-3767: Migrate Studio commands#202

Merged
Zgjim Haziri (ZgjimHaziri) merged 39 commits into
content-cli-v2-refactoringfrom
TA-3767-migrate-studio-commands
May 22, 2025
Merged

TA-3767: Migrate Studio commands#202
Zgjim Haziri (ZgjimHaziri) merged 39 commits into
content-cli-v2-refactoringfrom
TA-3767-migrate-studio-commands

Conversation

@ZgjimHaziri

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) commented May 20, 2025

Copy link
Copy Markdown
Contributor

Description

  • Migrated Studio commands into the new structure.
  • The code logic is copy-pasted, besides some things like e.g. dependency management, restructuring, command definition format.
  • Removed profile management logic from the services.
  • Removed profile management logic from base manager. This is now provided by the tool.
    • This is not an ideal state, but wanted to keep the existing pattern and leave it to the command owners to decide if they want to change it.

Relevant links

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

Notes

I would suggest to review the code along with some functional testing of the commands. This will make easier reviewing the large number of added lines here.

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

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) requested a review from a team as a code owner May 20, 2025 13:42
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) requested a review from a team May 20, 2025 13:57
Comment thread src/commands/studio/api/batch-import-export-api.ts Outdated
Comment thread src/commands/studio/api/variables-api.ts Outdated
Comment thread src/commands/studio/interfaces/batch-export-import.constants.ts Outdated
Comment thread src/commands/studio/interfaces/variable-assignment-apis.constants.ts Outdated
Comment thread src/commands/studio/service/variable.service.ts Outdated
Comment thread src/commands/studio/api/batch-import-export-api.ts Outdated
Comment thread src/commands/studio/interfaces/manifest.interface.ts
@ZgjimHaziri

Copy link
Copy Markdown
Contributor Author

Agree with the above comments. The idea was to keep everything used by Studio commands here, and then move the Pacman-related things as part of the Pacman migration PR. Will move them to Pacman in the following commit here.

@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) merged commit 2c2e5d2 into content-cli-v2-refactoring May 22, 2025
1 check passed
@ZgjimHaziri Zgjim Haziri (ZgjimHaziri) deleted the TA-3767-migrate-studio-commands branch May 22, 2025 08:51
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.

7 participants