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>
Showing
- installers/charm/pol/.gitignore 28 additions, 0 deletionsinstallers/charm/pol/.gitignore
- installers/charm/pol/.yamllint.yaml 33 additions, 0 deletionsinstallers/charm/pol/.yamllint.yaml
- installers/charm/pol/README.md 23 additions, 0 deletionsinstallers/charm/pol/README.md
- installers/charm/pol/config.yaml 26 additions, 0 deletionsinstallers/charm/pol/config.yaml
- installers/charm/pol/metadata.yaml 45 additions, 0 deletionsinstallers/charm/pol/metadata.yaml
- installers/charm/pol/requirements.txt 24 additions, 0 deletionsinstallers/charm/pol/requirements.txt
- installers/charm/pol/src/charm.py 231 additions, 0 deletionsinstallers/charm/pol/src/charm.py
- installers/charm/pol/src/pod_spec.py 175 additions, 0 deletionsinstallers/charm/pol/src/pod_spec.py
- installers/charm/pol/tests/__init__.py 31 additions, 0 deletionsinstallers/charm/pol/tests/__init__.py
- installers/charm/pol/tests/test_charm.py 236 additions, 0 deletionsinstallers/charm/pol/tests/test_charm.py
- installers/charm/pol/tests/test_pod_spec.py 217 additions, 0 deletionsinstallers/charm/pol/tests/test_pod_spec.py
- installers/charm/pol/tox.ini 82 additions, 0 deletionsinstallers/charm/pol/tox.ini
Loading
Please register or sign in to comment