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

66 Commits

Author SHA1 Message Date
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
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
Ivar
b85d9eb6d6 Start injecting config to app. 2016-06-16 14:27:23 +02:00
ivaosthu
225db218d3 Move all routes to a routes folder 2016-06-16 14:03:49 +02:00
ivaosthu
6cc28ede55 seems like knex 0.11 is more restrict about not using undefined 2016-05-06 11:11:32 +02:00
Anders Olsen Sandvik
f01ef69d7e #108 Add eslint-config-spt and remove jshint (#111)
* #108 Add eslint-config-spt

* #108 Ignore bundle.js file

* #108 Change eslint ignore path to a glob file

* Remove jshint and follow more of eslint rules
2016-04-24 22:41:37 +02:00
andsandv
94f78797df Check if strategy exsit before deleting it 2015-02-12 11:41:30 +01:00
andsandv
e7d1740e38 Add test for trying to get strategy that dose not exist 2015-02-10 18:28:17 +01:00
andsandv
ee75ac2eca Add test for asking for feature that dose not exist 2015-02-10 17:30:18 +01:00
andsandv
f2fdf4c771 Add test for creating features when name is not unique 2015-02-10 17:19:32 +01:00
Ivar Conradi Østhus
ae444039b1 #33 Added unit test for createdBy 2015-02-05 16:46:07 +01:00
Jari Bakken
b1f2bce248 log views: show event diffs by default, toggle to show the full event. 2015-02-04 17:16:59 +00:00
ivaosthu
505d6373cd Added archived toggles feature #43 2014-12-17 21:57:38 +01:00