1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
Commit Graph

79 Commits

Author SHA1 Message Date
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
sveisvei
df99a547e8 add more unit tests for metrics 2016-11-13 18:14:29 +01:00
sveisvei
cbf3db4597 revert schema reset for each migration 2016-11-13 16:14:51 +01:00
sveisvei
2f6c43052d use ava as testrunner 2016-11-13 15:59:35 +01:00
sveisvei
c7de9f084a rename finn-no to unleash 2016-11-13 15:58:14 +01:00
ivaosthu
8ec9aa08ca Fix test db setup 2016-11-13 11:23:07 +01:00
ivaosthu
6cfae5299b always drop test-schema first 2016-11-13 11:02:27 +01:00
ivaosthu
ce5258e6a6 options to specify different db-schema 2016-11-12 11:21:40 +01:00
ivaosthu
f4e2bf50a6 added e2e for metrics api 2016-11-11 17:39:33 +01:00
ivaosthu
0eeba44db0 fix db test 2016-11-11 16:36:51 +01:00
ivaosthu
5bdaf2cf91 Add unit-test for /health route 2016-11-11 16:24:16 +01:00
ivaosthu
4f25533230 Cleanup route/metrics a bit 2016-11-11 15:46:59 +01:00
ivaosthu
b14c766e97 Started on unit test for metrics-route 2016-11-10 22:05:50 +01:00
ivaosthu
8c2ba0415f Fix failing test after bluebird removal 2016-11-10 21:32:48 +01:00
ivaosthu
4e6912b65f remove bluebird 2016-11-10 21:24:39 +01:00
ivaosthu
9f459e600c fix tests 2016-11-10 21:16:59 +01:00
ivaosthu
0bd0924aee remove all lerna stuff 2016-11-10 15:52:49 +01:00