Moritz Johner
3f7040772e
feat: add db query latency metrics ( #473 )
...
* feat: add db metrics
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
* fix: use base unit
Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
2019-08-04 11:10:50 +02:00
Ivar Conradi Østhus
0907d4749f
fix: none authentication should have a mock user ( #449 )
...
This also fix the bug introduces where authentication mode triggers readOnly mode in the UI.
2019-06-08 12:50:59 +02:00
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
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
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
7bffe4d1db
chore: Fix formatting all the things
2018-11-22 21:44:07 +01:00
ivaosthu
323320b64d
Implement authentication support for Unleash UI.
...
Closes : #261 , #233 , #232 , #231
2018-01-16 14:26:32 +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
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
sveisvei
45c2021bd6
auto disable, and do not serve archived toggle
2017-06-28 17:44:14 +02:00
sveisvei
be4852f63a
Refactor routes setup, move test files, cleanup legacy
2017-06-28 10:20:22 +02:00
sveisvei
1b9d5b36e5
add simple e2e tests
2017-01-09 11:28:48 +01:00
ivaosthu
63037b35c3
Added api for updating a strategy
...
relates to #184
2016-12-17 13:00:44 +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
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
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
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
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
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
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