1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/test/e2e/api/admin
Christopher Kolstad c17a1980a2
Add service layer
This simplifies stores to just be storage interaction, they no longer react to events.

Controllers now call services and awaits the result from the call.

When the service calls are returned the database is updated.
This simplifies testing dramatically, cause you know that your state is
updated when returned from a call, rather than hoping the store has
picked up the event (which really was a command) and reacted to it.

Events are still emitted from eventStore, so other parts of the app can
react to events as they're being sent out.

As part of the move to services, we now also emit an application-created
event when we see a new client application.

Fixes: #685
Fixes: #595
2021-01-21 10:59:19 +01:00
..
context.e2e.test.js fix: failing tests for 409 2020-09-25 22:31:35 +02:00
event.e2e.test.js fix: e2e tests should only set up one database per test file (#504) 2020-02-20 08:34:29 +01:00
feature-archive.e2e.test.js fix: use airbnb lint rules directly (#583) 2020-04-14 22:29:11 +02:00
feature.auth.e2e.test.js Add service layer 2021-01-21 10:59:19 +01:00
feature.custom-auth.e2e.test.js Add service layer 2021-01-21 10:59:19 +01:00
feature.e2e.test.js Add service layer 2021-01-21 10:59:19 +01:00
metrics.e2e.test.js Add service layer 2021-01-21 10:59:19 +01:00
state.e2e.test.js fix: exporting only feature toggles as yaml should not crash 2020-07-30 23:57:17 +02:00
strategy.e2e.test.js fix: failing tests for 409 2020-09-25 22:31:35 +02:00
tag-types.e2e.test.js Add service layer 2021-01-21 10:59:19 +01:00
tags.e2e.test.js Add Tags and tag types 2021-01-14 13:09:05 +01:00