1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
ivaosthu
8b9f9dbd2c fix: Database migrator does use the databaseSchema option
closes #387
2020-02-20 08:34:19 +01:00
ivaosthu
2dde9c4b95 chore(modernize): Modernize IndexController 2020-02-20 08:34:17 +01:00
ivaosthu
3903015cbb chore(modernize): Modernize HealthCheckController 2020-02-20 08:34:17 +01:00
Benjamin Ludewig
822d718a9b Add prometheus compatible feature metrics endpoint 2020-02-20 08:34:16 +01:00
ivaosthu
bc359c2b82 feat(metrics): Expose toggle updates to prometheus
closes #323
2020-02-20 08:34:11 +01:00
Ivar Conradi Østhus
4c73d279aa fix(migration): Unleash should not start if migration fails.
Closes #320
2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
d8f8bf6fd9 Clean up using servers listening and error events 2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
d757993432 Use options object with server.listen 2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
378544f326 createApp should wait for server.listen callback 2020-02-20 08:34:10 +01:00
Ivar Conradi Østhus
4f808f13eb feat(bind): Added option to bind to http address.
Closes #318
2020-02-20 08:34:10 +01:00
ivaosthu
f4feab89f3 Implement authentication support for Unleash UI.
Closes: #261, #233, #232, #231
2020-02-20 08:34:06 +01:00
ivaosthu
f5e9ca3bbe Implement support for logger provider.
This allows the users of 'unleash-server' to programatically
change the logger implemnentation. #175
2020-02-20 08:33:33 +01:00
sveisvei
375a8b1d4f Prettier/lint 2020-02-20 08:30:50 +01:00
sveisvei
6e4a22bf54 use object.assign and pass along options 2020-02-20 08:30:50 +01:00
sveisvei
fa6c28de8f pass along hooks, add test to server impl 2020-02-20 08:30:50 +01:00
Simen Bekkhus
21e0522116 Remove uncaught exception logging
This is the responsibility of the app
2020-02-20 08:30:48 +01:00
sveisvei
f425597640 fix lint 2020-02-20 08:30:41 +01:00
ivaosthu
d4d63af2b0 Option to disable request logging.
Because all request details are available via
prometheus there is no need to also log all requests.

This solves #164 but we should still replace log4j with something else.
2020-02-20 08:30:41 +01:00
ivaosthu
7057d11553 replace commander with yargs 2020-02-20 08:30:41 +01:00
ivaosthu
8e6bcafa24 Server Metrics: add response time and status codes 2020-02-20 08:30:40 +01:00
ivaosthu
b8014fdddf Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.

read more at https://prometheus.io/

Closes #98
2020-02-20 08:30:40 +01:00
sveisvei
68ac0c71c9 fix typ0 2020-02-20 08:30:39 +01:00
sveisvei
1dab39f0f9 move app and server-impl into lib folder 2020-02-20 08:30:39 +01:00