Refactoring RO Charm to use Operator Framework
This refactoring work includes tests.
Note 1: old charm is in ro-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: Ia97de802aec2c4e10a1d2c86ba2515d3f17f55af
Signed-off-by:
sousaedu <eduardo.sousa@canonical.com>
Showing
- installers/charm/ro/.gitignore 28 additions, 0 deletionsinstallers/charm/ro/.gitignore
- installers/charm/ro/.yamllint.yaml 33 additions, 0 deletionsinstallers/charm/ro/.yamllint.yaml
- installers/charm/ro/README.md 23 additions, 0 deletionsinstallers/charm/ro/README.md
- installers/charm/ro/config.yaml 46 additions, 0 deletionsinstallers/charm/ro/config.yaml
- installers/charm/ro/metadata.yaml 50 additions, 0 deletionsinstallers/charm/ro/metadata.yaml
- installers/charm/ro/requirements.txt 23 additions, 0 deletionsinstallers/charm/ro/requirements.txt
- installers/charm/ro/src/charm.py 218 additions, 0 deletionsinstallers/charm/ro/src/charm.py
- installers/charm/ro/src/pod_spec.py 275 additions, 0 deletionsinstallers/charm/ro/src/pod_spec.py
- installers/charm/ro/tests/__init__.py 31 additions, 0 deletionsinstallers/charm/ro/tests/__init__.py
- installers/charm/ro/tests/test_charm.py 353 additions, 0 deletionsinstallers/charm/ro/tests/test_charm.py
- installers/charm/ro/tests/test_pod_spec.py 389 additions, 0 deletionsinstallers/charm/ro/tests/test_pod_spec.py
- installers/charm/ro/tox.ini 81 additions, 0 deletionsinstallers/charm/ro/tox.ini
installers/charm/ro/.gitignore
0 → 100644
installers/charm/ro/.yamllint.yaml
0 → 100644
installers/charm/ro/README.md
0 → 100644
installers/charm/ro/config.yaml
0 → 100644
installers/charm/ro/metadata.yaml
0 → 100644
installers/charm/ro/requirements.txt
0 → 100644
installers/charm/ro/src/charm.py
0 → 100755
installers/charm/ro/src/pod_spec.py
0 → 100644
installers/charm/ro/tests/__init__.py
0 → 100644
installers/charm/ro/tests/test_charm.py
0 → 100644
installers/charm/ro/tests/test_pod_spec.py
0 → 100644
installers/charm/ro/tox.ini
0 → 100644
Please register or sign in to comment