balena-supervisor/test
Felipe Lalanne 7425d1110b Add support for GET v3 target state
This change updates types and database format in order to allow
receiving the new format of the target state from the cloud and allow
applications to keep working.

This change also updates metadata in the containers, meaning services
will need to be restarted on supervisor update

Change-type: major
2022-03-22 19:08:02 -03:00
..
config Moved test setup into file included for all tests 2022-03-18 18:19:21 -04:00
data Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
lib Rename aplication manager getStatus as getLegacyState 2022-03-22 19:08:02 -03:00
src Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
.mocharc.fast.js Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
.mocharc.js Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
01-constants.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
02-db.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
03-config.spec.ts Fix apiUpdatePollInterval default to line up with API 2022-02-15 12:49:03 -03:00
05-device-state.spec.ts Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
06-validation.spec.ts Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
07-blink.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
08-event-tracker.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
09-network.spec.ts Add support for local ipv6 reporting 2022-02-08 19:06:13 -03:00
10-api-binder.spec.ts Create & unify src/device-state/current-state tests 2021-05-12 18:33:01 +09:00
11-logger.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
12-device-config.spec.ts Use a breadcrumb to mark that a reboot is required 2022-02-15 12:52:48 -03:00
14-conversions.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
15-ports.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
16-config-utils.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
18-startup.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
19-compose-utils.spec.ts Remove mz, mkdirp, body-parser dependencies 2021-04-28 07:20:15 +09:00
21-supervisor-api.spec.ts Update apiSecret table to id services by name 2021-07-28 09:57:38 -04:00
22-local-mode.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
23-contracts.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
24-deltas.spec.ts Convert all test files to TS and add .spec to all filenames 2020-06-05 18:34:24 -04:00
25-journald.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
27-extlinux-config.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
28-db-format.spec.ts Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
29-append-directive.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
30-fdt-directive.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
31-docker-utils.spec.ts docker-utils: Test network gateway determination logic 2020-07-22 13:17:16 +01:00
33-extra-uenv-config.spec.ts test: Update extra_uEnv test slugs list 2021-11-17 13:48:19 +01:00
34-firewall.spec.ts Add support for GET v3 target state 2022-03-22 19:08:02 -03:00
35-os-release.spec.ts tests: Clean up and consistify naming scheme 2020-10-12 14:41:21 +01:00
37-odmdata-config.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
39-compose-commit.spec.ts Upgrade mocha to v8, use mocha fixtures for chai plugins 2021-05-12 17:10:57 +09:00
40-target-state.spec.ts Throw if target states gets a 304 without an ETAG 2022-01-26 11:27:15 -03:00
41-device-api-v1.spec.ts Add update lock check to PATCH /v1/device/host-config 2022-02-14 22:22:00 +00:00
42-device-api-v2.spec.ts Rename aplication manager getStatus as getLegacyState 2022-03-22 19:08:02 -03:00
43-splash-image.spec.ts Simplify splash test to verify just correct outcomes 2021-09-28 14:53:26 -04:00