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

36 Commits

Author SHA1 Message Date
Simen Bekkhus
50da40da4b
Replace sinon with lolex 2017-08-23 11:36:44 +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
Ivar Conradi Østhus
98b0ce39a4 Merge branch 'master' into add-sdk-version 2017-06-29 09:57:55 +02:00
sveisvei
942afd74a3 auto disable, and do not serve archived toggle 2017-06-29 08:44:03 +02:00
Ivar
46b82ecd6a Add support for sdkVersion in client registration 2017-06-28 23:19:19 +02:00
sveisvei
664e019e9b protection against edit on built in strategies 2017-06-28 21:10:43 +02:00
sveisvei
45c2021bd6 auto disable, and do not serve archived toggle 2017-06-28 17:44:14 +02:00
sveisvei
20af766086 Prettier/lint 2017-06-28 10:17:14 +02:00
sveisvei
dfa490affb fix lint 2016-12-27 21:03:50 +01:00
ivaosthu
63037b35c3 Added api for updating a strategy
relates to #184
2016-12-17 13:00:44 +01:00
ivaosthu
e60c7c5cfc Fix failing tests 2016-12-12 17:09:44 +01:00
ivaosthu
70c2078539 Strategy list should be sorted by name 2016-12-10 12:12:00 +01:00
sveisvei
4c454d5d08 serve with metadata 2016-12-09 22:01:43 +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
ivaosthu
46c8d83dc1 A client-register should upsert client_applications table 2016-12-09 16:25:18 +01:00
sveisvei
50f3cf9a82 fix lint and mock 2016-12-09 15:25:37 +01:00
sveisvei
80d3f5be1c client applications 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
sveisvei
d6bdc578c9 uppercase event type key constants 2016-12-09 14:50:30 +01:00
Ivar Conradi Østhus
775b6f5900 Delete app.js 2016-12-05 22:31:45 +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
2eb9e878b1 amend prev commit 2016-12-05 15:50:34 +01:00
ivaosthu
e58bf41b91 fix strateiges format for /client/applications 2016-12-05 15:40:05 +01:00
sveisvei
77858218cf only log if num of cleaned is above 0 2016-12-04 22:12: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
69e2827d9a minor cleanup 2016-12-02 16:20:13 +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
sveisvei
a44b8987b3 use options obj 2016-11-13 15:58:14 +01:00
ivaosthu
ce5258e6a6 options to specify different db-schema 2016-11-12 11:21:40 +01:00
ivaosthu
4f25533230 Cleanup route/metrics a bit 2016-11-11 15:46:59 +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
sveisvei
0ffb9b78b6 use lerna for multipackaging 2016-06-18 09:19:57 +02:00
Ivar
2d8fa7ee6b Statefull modules should be injected from top 2016-06-16 14:35:50 +02:00
ivaosthu
225db218d3 Move all routes to a routes folder 2016-06-16 14:03:49 +02:00