Refactoring MON Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in mon-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: I57337260579975a1d07157d616acac5bcbef0577
Signed-off-by:
sousaedu <eduardo.sousa@canonical.com>
Showing
- installers/charm/mon/.gitignore 28 additions, 0 deletionsinstallers/charm/mon/.gitignore
- installers/charm/mon/.yamllint.yaml 33 additions, 0 deletionsinstallers/charm/mon/.yamllint.yaml
- installers/charm/mon/README.md 23 additions, 0 deletionsinstallers/charm/mon/README.md
- installers/charm/mon/config.yaml 62 additions, 0 deletionsinstallers/charm/mon/config.yaml
- installers/charm/mon/metadata.yaml 47 additions, 0 deletionsinstallers/charm/mon/metadata.yaml
- installers/charm/mon/requirements.txt 24 additions, 0 deletionsinstallers/charm/mon/requirements.txt
- installers/charm/mon/src/charm.py 281 additions, 0 deletionsinstallers/charm/mon/src/charm.py
- installers/charm/mon/src/pod_spec.py 204 additions, 0 deletionsinstallers/charm/mon/src/pod_spec.py
- installers/charm/mon/tests/__init__.py 31 additions, 0 deletionsinstallers/charm/mon/tests/__init__.py
- installers/charm/mon/tests/test_charm.py 326 additions, 0 deletionsinstallers/charm/mon/tests/test_charm.py
- installers/charm/mon/tests/test_pod_spec.py 294 additions, 0 deletionsinstallers/charm/mon/tests/test_pod_spec.py
- installers/charm/mon/tox.ini 82 additions, 0 deletionsinstallers/charm/mon/tox.ini
Loading
Please register or sign in to comment