1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-24 20:06:55 +01:00
unleash.unleash/src/lib
Ivar Conradi Østhus 815a75a5b4
Wip/environments (#880)
Adds environment support

This PR adds environments as a first-class concept in Unleash.

It necessitated a full rewrite on how we connect feature <-> strategy, as well as a rethink on which levels environments makes sense.

This enables PUTs on strategy configurations for a feature, since all strategies now have ids.

This also updates export/import format. The importer handles both formats, but export is no longer possible in version 1 of the export format, only in version 2, with strategy configurations for a feature as a separate object.

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-07-07 10:46:50 +02:00
..
addons Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
db Wip/environments (#880) 2021-07-07 10:46:50 +02:00
error Wip/environments (#880) 2021-07-07 10:46:50 +02:00
middleware Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
routes Wip/environments (#880) 2021-07-07 10:46:50 +02:00
schema Wip/environments (#880) 2021-07-07 10:46:50 +02:00
services Wip/environments (#880) 2021-07-07 10:46:50 +02:00
types Wip/environments (#880) 2021-07-07 10:46:50 +02:00
util Wip/environments (#880) 2021-07-07 10:46:50 +02:00
app.test.js Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
app.ts Wip/environments (#880) 2021-07-07 10:46:50 +02:00
create-config.ts fix: add option for graceful shutdown (#872) 2021-06-17 20:33:34 +02:00
default-custom-auth-deny-all.ts fix: default custom auth hook now denies all requests to api endpoints (#811) 2021-04-29 15:18:58 +02:00
event-differ.js fix: refactor event types 2021-04-29 10:21:29 +02:00
event-differ.test.js Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
event-hook.test.js Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
event-hook.ts fix: update yarn.lock 2021-05-21 16:51:13 +02:00
extract-user.js Feature/setup typescript 2021-02-12 11:42:00 +01:00
logger.test.js Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
logger.ts feat: add option for LOG_LEVEL (#803) 2021-04-23 15:31:12 +02:00
metric-events.ts fix: refactor event types 2021-04-29 10:21:29 +02:00
metrics.test.js Migrate to jest (#854) 2021-05-28 11:10:24 +02:00
metrics.ts fix: register metrics middleware before pre-hook (#866) 2021-06-07 10:34:32 +02:00
server-impl.test.js fix: Do gracefull shutdown of Unleash on 'SIGINT' & 'SIGTERM' (#870) 2021-06-15 12:32:35 +02:00
server-impl.ts fix: refactor code 2021-06-18 11:53:52 +02:00