Refactoring LCM charm to use Operator Framework 51/9951/17
authorsousaedu <eduardo.sousa@canonical.com>
Wed, 4 Nov 2020 15:13:35 +0000 (15:13 +0000)
committerbeierlm <mark.beierl@canonical.com>
Mon, 23 Nov 2020 16:09:35 +0000 (17:09 +0100)
commitabe7321ec4e652cdb0f359169788a6c8ac9295f8
treeee7078d35cb255d7a65c8bd7c77600597ee51542
parent4df5a461573ae47200e893453c7c7d9cb89da30d
Refactoring LCM charm to use Operator Framework

This refactoring work includes tests.

Note 1: old charm is in lcm-k8s folder.
Note 2: relation-departed is currently not tested because there is
        no function to remove a relation in the Testing Harness.
        There is currently one issue open and the Charmcraft team
        should provide feedback soon.

Change-Id: Iae2a0e59e74fab8820d2a9a0ef3f3ec449349dbe
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
12 files changed:
installers/charm/lcm/.gitignore [new file with mode: 0644]
installers/charm/lcm/.yamllint.yaml [new file with mode: 0644]
installers/charm/lcm/README.md [new file with mode: 0644]
installers/charm/lcm/config.yaml [new file with mode: 0644]
installers/charm/lcm/metadata.yaml [new file with mode: 0644]
installers/charm/lcm/requirements.txt [new file with mode: 0644]
installers/charm/lcm/src/charm.py [new file with mode: 0755]
installers/charm/lcm/src/pod_spec.py [new file with mode: 0644]
installers/charm/lcm/tests/__init__.py [new file with mode: 0644]
installers/charm/lcm/tests/test_charm.py [new file with mode: 0644]
installers/charm/lcm/tests/test_pod_spec.py [new file with mode: 0644]
installers/charm/lcm/tox.ini [new file with mode: 0644]