Skip to content

refactor: redesign filers #179

@uniqueg

Description

@uniqueg

Current object filer design, as inherited from TESK-core), is a bit messy. To make it easier to add support for different file protocols in the future, it would be nice to clean up the filer-related code and make it a bit more pluggable.

For example, we could have the following directory layout:

.
└── tesk
    └── services
        ├── abstract
        │   ├── filer.py
        │   └── __init__.py
        └── filers
            ├── ftp.py
            ├── http.py
            ├── __init__.py
            └── s3.py

with an abstract Filer class/interfact defined in tesk.services.abstract.filer that has some methods that individual file protocol plugins in tesk.services.filers then can inherit from and implement.

Metadata

Metadata

Assignees

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