Refactoring NBI Charm to use Operator Framework 17/9917/22
authorsousaedu <eduardo.sousa@canonical.com>
Tue, 13 Oct 2020 22:46:51 +0000 (23:46 +0100)
committersousaedu <eduardo.sousa@canonical.com>
Wed, 11 Nov 2020 10:56:15 +0000 (10:56 +0000)
commit6248fe6005403005832d6e770e83322d5f679e0f
tree8d41c3621fce32b2b918c29966ec7c5dd662e3b1
parenta1376012fbf0a42f18d327a10cefa9a462c9fedd
Refactoring NBI Charm to use Operator Framework

This refactoring work includes tests.

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