balena-supervisor/test/integration/device-api
Felipe Lalanne 3d43f7e3b3 Simplify doRestart and doPurge actions
The actions now work by passing an intermediate state to the state
engine.

- doPurge first removes the user app from the target state and passes
  that to the state engine for purging. Since intermediate state doesn't
  remove images, this will have the effect of basically re-installing
  the app.

- doRestart modifies the target state by first removing only the
  services from the current state but keeping volumes and networks. This
  has the same effect as before where services were stopped one by one

Change-type: patch
2023-04-20 14:58:58 -04:00
..
actions.spec.ts Simplify doRestart and doPurge actions 2023-04-20 14:58:58 -04:00
api-keys.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
index.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
middleware.spec.ts Migrate API tests to unit/integration 2022-10-25 19:06:39 +00:00
v1.spec.ts Update host-config, route, and action tests for host config endpoints 2023-01-11 15:48:13 -08:00
v2.spec.ts Use executeServiceAction for v1/v2 service action endpoints 2023-01-09 18:20:24 -08:00