Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L landb-operator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • paas-tools
  • operators
  • landb-operator
  • Issues
  • #5

Closed
Open
Created Aug 28, 2020 by Joao Esteves Marcal@estevesmContributor

Refactor Python script to implement the command patter

The LanDB python script that interacts with LanDB SOAP was originally very simple and only meant to do some calls to LanDB. However as things evolved today is not anymore a simple script and it's starting to gain some small complexity, I'm especially not fond of all the if...else that it has nowadays. Hence, I think it would be worth refactoring the script to start using the command pattern, in order to improve maintainability and future improvements.

@alossent I don't see as an immediate task but seems like something to be done in a not so distant future since the problem only aggravates with the passing of time

Edited Aug 28, 2020 by Joao Esteves Marcal
Assignee
Assign to
Time tracking