Refactoring POL Charm to use Operator Framework 49/9949/11
authorsousaedu <eduardo.sousa@canonical.com>
Wed, 4 Nov 2020 18:48:17 +0000 (18:48 +0000)
committerbeierlm <mark.beierl@canonical.com>
Mon, 23 Nov 2020 16:09:57 +0000 (17:09 +0100)
commitcab58cb714924d6a6f2d4bc83dcc29445cf84bf4
tree7d9ca90b7f66e6d6e8fd4dbf6d4ed9e5b60e9c7e
parent1dd4c0d0edbeb0579540f094930743d47dce5174
Refactoring POL Charm to use Operator Framework

This refactoring work includes tests.

Note 1: old charm is in pol-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: Ib21779c5fc781cbb5901351ccf02ca5f9b36b181
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
12 files changed:
installers/charm/pol/.gitignore [new file with mode: 0644]
installers/charm/pol/.yamllint.yaml [new file with mode: 0644]
installers/charm/pol/README.md [new file with mode: 0644]
installers/charm/pol/config.yaml [new file with mode: 0644]
installers/charm/pol/metadata.yaml [new file with mode: 0644]
installers/charm/pol/requirements.txt [new file with mode: 0644]
installers/charm/pol/src/charm.py [new file with mode: 0755]
installers/charm/pol/src/pod_spec.py [new file with mode: 0644]
installers/charm/pol/tests/__init__.py [new file with mode: 0644]
installers/charm/pol/tests/test_charm.py [new file with mode: 0644]
installers/charm/pol/tests/test_pod_spec.py [new file with mode: 0644]
installers/charm/pol/tox.ini [new file with mode: 0644]