1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-31 00:16:47 +01:00
Commit Graph

95 Commits

Author SHA1 Message Date
ivaosthu
de16a7854d fix: LogProvider as option injected to unleash.
Instead of instructing users to do static calls
in to Unleash, she should instead be allwed to
specify the log provider as an option to Unleash.

This commit introduces the "getLogger" option,
a function responsible for creating a logger.
2019-05-04 05:01:28 +02:00
Benjamin Ludewig
1f55eaedad Refactored state-service, schemas, added e2e tests #395 2019-03-15 15:07:32 +01:00
Benjamin Ludewig
5e8059dcf1 feat: Added import & export through stateService #395 2019-03-15 15:07:32 +01:00
ivaosthu
0f4d7df735 fix: override field changed name to contextName 2019-02-08 09:38:23 +01:00
ivaosthu
b36fc73a7b feat: Add suppport for variant overrides 2019-02-08 09:38:23 +01:00
ivaosthu
13e431ed17 fix: Update variant protocol 2019-02-08 09:38:23 +01:00
ivaosthu
24ca56e041 fix: variant tests more stable 2019-02-08 09:38:23 +01:00
Juan Hoyos
8c12ead2ae feat: Added feature toggle variants 2019-02-08 09:38:23 +01:00
Benjamin Ludewig
d9804c0114 Use full name instead of perms, 403 error message now includes expected permission 2019-01-17 09:25:12 +01:00
Benjamin Ludewig
1af921c535 feature: Add action specific user permissions 2019-01-17 09:25:12 +01:00
ivaosthu
59ef1d356b fix(http-status): Client errors should use 400 status codes 2019-01-02 12:38:58 +01:00
ivaosthu
e83e3694c6 chore: Upgrade ava to 1.0.1 2018-12-17 10:16:18 +01:00
ivaosthu
fae3488580 chore(modernize): Remove unused files 2018-12-17 08:27:49 +01:00
ivaosthu
7bffe4d1db chore: Fix formatting all the things 2018-11-22 21:44:07 +01:00
Ivar Conradi Østhus
5ad2e246e5 Include user information on revive
Closes #327
2018-06-25 18:39:54 +02:00
ivaosthu
56ca8bde7a Bugfix: more informative name validation errors
Will know tell the user if the toggle name is already
in use by an active feature toggle or an archived toggle.

Also brings lates unleash-frontend fix, which prevents an
invalid form from submitting.

closes: #290, #291
2018-01-20 14:11:44 +01:00
ivaosthu
28d6a1b46e A bit of house-keeping 2018-01-17 15:36:38 +01:00
ivaosthu
323320b64d Implement authentication support for Unleash UI.
Closes: #261, #233, #232, #231
2018-01-16 14:26:32 +01:00
ivaosthu
f9b4455519 Add unit tests for archived toggles 2017-12-18 14:34:43 +01:00
ivaosthu
98f5e43f68 Add e2e test for client metrics 2017-12-18 14:22:15 +01:00
ivaosthu
19efad832d Should not be allow creation of archived toggle
closes #284
2017-12-18 09:08:04 +01:00
Ivar
8a40a288bd Fix unstable e2e test 2017-11-02 09:37:14 +01:00
Ivar
fe0e65a4f2 Fix formatting 2017-11-02 09:23:38 +01:00
Ivar Conradi Østhus
40a691cafc Merge branch 'master' into metrics_validation 2017-08-08 17:16:27 +02:00
ivaosthu
1081b9d865 Implement support for logger provider.
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2017-08-04 16:07:17 +02:00
ivaosthu
10c2493e28 Add metrics validation to avoid NaN #253 2017-08-04 11:24:58 +02:00
sveisvei
4207bec0ac add editable tests 2017-06-29 08:44:03 +02:00
sveisvei
942afd74a3 auto disable, and do not serve archived toggle 2017-06-29 08:44:03 +02:00
sveisvei
be4852f63a Refactor routes setup, move test files, cleanup legacy 2017-06-28 10:20:22 +02:00
Sveinung Røsaker
839aeb01a6 Merge pull request #199 from Unleash/add-toggle-ep
add toggle endpoint
2017-01-09 11:34:59 +01:00
sveisvei
1b9d5b36e5 add simple e2e tests 2017-01-09 11:28:48 +01:00
ivaosthu
e4eeea10dd Add simple API resource #191 2017-01-06 15:58:02 +01:00
ivaosthu
63037b35c3 Added api for updating a strategy
relates to #184
2016-12-17 13:00:44 +01:00
ivaosthu
9d1f1e5639 Unit tests for strategy-api 2016-12-13 13:59:52 +01:00
ivaosthu
bc82aa6e77 Add schema validation for strategies 2016-12-12 21:44:21 +01:00
ivaosthu
e60c7c5cfc Fix failing tests 2016-12-12 17:09:44 +01:00
ivaosthu
ab3694cc94 Remove client_strategies table
We can just have a strategies column in the client_applications
table. This solves all our needs, and thus avoids the need
for an extra table.
2016-12-09 17:30:12 +01:00
sveisvei
50f3cf9a82 fix lint and mock 2016-12-09 15:25:37 +01:00
sveisvei
baf2c62f25 recieve togglename to archive or revive via path 2016-12-09 14:54:18 +01:00
ivaosthu
b56be10276 Added enpoint for fetching application implementing a strategy
`/api/client/applications?strategyName=foo` now returns list of
apps implementing that strategy!
2016-12-05 22:20:35 +01:00
sveisvei
5bf0b36588 fix lint 2016-12-04 14:09:37 +01:00
ivaosthu
7189b0ba33 replace commander with yargs 2016-12-03 13:45:34 +01:00
ivaosthu
10a434a992 more tests 2016-12-02 17:19:59 +01:00
ivaosthu
aeb925cb1b Some Metrics API cleanups 2016-12-01 17:15:55 +01:00
ivaosthu
b46fb7507f Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.

read more at https://prometheus.io/

Closes #98
2016-11-30 23:41:57 +01:00
sveisvei
95388996b9 Better client informations from the API.
Impelements:
- http://unleash.host.com/api/client/seen-toggles
- http://unleash.host.com/api/metrics/feature-toggles
- http://localhost:4242/api/client/applications
- http://localhost:4242/api/client/applications/:appName
2016-11-30 19:03:21 +01:00
Ivar
961f9bef34 Mute EventEmitter memory leak detected for tests.
See #171
2016-11-18 20:49:56 +01:00
Ivar
2d8947c30f Added strategies validation when creating/updating toggles 2016-11-15 21:30:04 +01:00
sveisvei
34f6e5d809 move app and server-impl into lib folder 2016-11-13 21:07:14 +01:00
sveisvei
bb4cf30d22 add tests, rename folders to ava defaults for helpers/fixtures, remove migration og 2016-11-13 20:33:23 +01:00