Skip to content

CLI: modules package refactor PoC #2786

@musztardem

Description

@musztardem

Problem

  • During the QA phase there were multiple bugs, improvement ideas, inconsistencies found.
  • We've noticed that some things require changes of similar things in multiple places in order to work consistently. That suggest there's a room for architectural improvement.
  • Over the course of months the requirements for community modules were changing and now we're at point where we already have a good idea how we want things to work. The modules package grew big enough that there's a solid reason to think about incorporating more mature architectural solutions.

Expected output:

  • The first command that's going to be refactored is kyma module catalog
  • The idea is to do research on approaches that could be used in order to structure the code more efficiently, in a way that would allow for a better scalability, readability and maintainability.
  • From the user perspective, the kyma module catalog command should work similarly as the previous version.
  • The command should be available under the kyma alpha module catalog command - both versions are still available to the user.
  • Prepare the ADR document that will describe solutions used in the refactored code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions