Miguel Casqueira
5550a3a330
Refactor device-state healthchecks to log reason for failure
...
Closes : #1292
Change-type: minor
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 16:24:01 -04:00
Miguel Casqueira
ef83acdaeb
Refactor api-binder healthchecks to log reason for failure
...
Signed-off-by: Miguel Casqueira <miguel@balena.io>
2020-05-29 16:14:58 -04:00
Cameron Diver
1d7381327e
Make the db module a singleton
...
We were treating the database class as a singleton, but still having to pass
around the db instance. Now we can simply require the db module and have
access to the database handle.
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-29 15:02:38 +01:00
Cameron Diver
eaaa9c257e
check for 409 status code, rather than string matching uuid conflicts
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-05-21 14:57:26 -04:00
Pagan Gazzard
913418bb37
Remove unnecessary config.json keys
...
Change-type: patch
2020-05-08 12:56:42 +01:00
Pagan Gazzard
a59af6abe8
Workaround a circular dependency
...
Change-type: patch
2020-04-08 17:40:39 +01:00
Pagan Gazzard
a2ec35456b
Convert application-manager.coffee to javascript
...
Change-type: patch
2020-04-08 12:15:06 +01:00
Cameron Diver
c21da8f3db
Convert device-state module to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2020-02-25 14:50:21 +07:00
Cameron Diver
b5a427f2b9
Convert some coffeescript tests to typescript
...
Change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
2019-10-30 10:58:32 +00:00