Threading pt 2 (of 3, likely) 93/1193/5 1.0.3
authorTommy Carpenter <tc677g@att.com>
Mon, 21 Oct 2019 20:07:31 +0000 (16:07 -0400)
committerTommy Carpenter <tc677g@att.com>
Wed, 23 Oct 2019 13:36:42 +0000 (09:36 -0400)
commit8bcc51a6d44d40a1a338fb6a721b5ee8f992f323
treefcc1cc53a7592ac3e2155c53683343e324bae3e0
parent6b69910923309e05820706dc025e1441463906c9
Threading pt 2 (of 3, likely)

* Move database cleanup (e.g., deleting instances based on statuses) into the polling loop
* Rework how unit testing works with the polling loop; prior, exceptions were being thrown silently from the thread but not printed. The polling thread has now been paramaterized with override functions for the purposes of testing
* Make type cleanup more efficient since we know exactly what instances were touched, and it's inefficient to iterate over all instances if they were not
* Bump rmr-python version, and bump rmr version
* Still an item left to do in this work; refactor the thread slightly to tie in a healthcheck with a1s healthcheck. We need k8s to restart a1 if that thread dies too.

Change-Id: Ia7c4f29c9fd4de4287f17ec0d88c6129a06a5a87
Signed-off-by: Tommy Carpenter <tc677g@att.com>
13 files changed:
Dockerfile
Dockerfile-Unit-Test
a1/a1rmr.py
a1/data.py
a1/run.py
container-tag.yaml
docs/developer-guide.rst
docs/release-notes.rst
integration_tests/Dockerfile
integration_tests/a1mediator/Chart.yaml
integration_tests/test_a1.tavern.yaml
setup.py
tests/test_controller.py