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

55 Commits

Author SHA1 Message Date
ivaosthu
12279e822d cleanup api-db-stores a bit 2020-02-20 08:30:35 +01:00
ivaosthu
908c46e45f mend 2020-02-20 08:30:35 +01:00
ivaosthu
c836d45f80 Added view for client-instances 2020-02-20 08:30:35 +01:00
ivaosthu
fb369867a9 some cleanup 2020-02-20 08:30:35 +01:00
sveisvei
88bb97656c move service 2020-02-20 08:30:35 +01:00
sveisvei
7e970670db remove internal storage 2020-02-20 08:30:35 +01:00
sveisvei
7c53bfa60b add metrics projections for last hour 2020-02-20 08:30:35 +01:00
sveisvei
7e86867de5 add limit to database entries 2020-02-20 08:30:35 +01:00
ivaosthu
88c87beec0 linting 2020-02-20 08:30:34 +01:00
ivaosthu
9e4e594969 Minor cleanup: eventDb inside db 2020-02-20 08:30:34 +01:00
ivaosthu
7f452d1366 client-instances WIP 2020-02-20 08:30:34 +01:00
ivaosthu
bc707f3bc0 fix failing test 2020-02-20 08:30:34 +01:00
Ivar
fba30e359a fix lint 2020-02-20 08:30:34 +01:00
Ivar
6b6b400847 WIP client_strategies 2020-02-20 08:30:34 +01:00
sveisvei
99ed8cc946 add metrics client register 2020-02-20 08:30:34 +01:00
sveisvei
a4951d8dc8 rename files 2020-02-20 08:30:34 +01:00
sveisvei
0a73ea0574 add metricsdb, fix lint 2020-02-20 08:30:34 +01:00
sveisvei
5b41bf4b84 fix error on empty metrics 2020-02-20 08:30:34 +01:00
sveisvei
b5e2563bbb make naming consistent 2020-02-20 08:30:34 +01:00
ivaosthu
5c42cd2fd6 wip metrics via db 2020-02-20 08:30:34 +01:00
sveisvei
4778f9a7bd process buckets 2020-02-20 08:30:34 +01:00
sveisvei
44f5d5edd4 add client-metrics endpoint and in-memory client-metrics 2020-02-20 08:30:34 +01:00
sveisvei
bc5a7cd877 limit to 100, ref #159 2020-02-20 08:30:34 +01:00
Simen Bekkhus
9ccfa526d3 Upgrade and fix lint 2020-02-20 08:30:33 +01:00
sveisvei
c4adff4a2d avoid exception if missing strategy 2020-02-20 08:30:31 +01:00
ivaosthu
ec77cd05ec Adjusted layout #153
- fill full screen
- be more responsive (don't show hamburger on desktop)
2020-02-20 08:30:30 +01:00
Ivar
a5b54818c3 Minor fixes after feedback #150 2020-02-20 08:30:30 +01:00
ivaosthu
e2d5153edb upgrade db-migrate to support programmatic API #150 2020-02-20 08:30:30 +01:00
Ivar
36a57ae5b4 upgrade pg and knex 2020-02-20 08:30:28 +01:00
Ivar
5ee3cd3ddb upgrade bluebird to ^3.4.6 2020-02-20 08:30:28 +01:00
Ivar
cf553bc675 upgrading dependencies 2020-02-20 08:30:28 +01:00
Ivar
879bc6188b bump express 2020-02-20 08:30:28 +01:00
Ivar
3f273f8e99 bump express-validator to 2.20.8 2020-02-20 08:30:28 +01:00
Ivar
17e3edca98 Remove console.log #102 2020-02-20 08:30:28 +01:00
Ivar
b07e24bf05 Added som docs #102 2020-02-20 08:30:28 +01:00
ivaosthu
0546100556 Added version indicator to collection responses to ease migration of client parsers
relates to #102
2020-02-20 08:30:28 +01:00
Ivar
356570493d Cleaning up tests: e2e vs unit #102 2020-02-20 08:30:28 +01:00
Ivar
55bc634b66 User should not be allowed to post both 'strategy' and 'strategies' at the same time
Relates #102
2020-02-20 08:30:28 +01:00
Ivar
1de0d0a737 Added some unit-test #102 2020-02-20 08:30:28 +01:00
Ivar
0e8dab784c Api documentation on the new format #102 2020-02-20 08:30:28 +01:00
Ivar
0cb45f110c Add support for aggregate_strategies in the API.
This commit changes the features-tables:
- drop columns 'strategy' and 'parameters'
- add column 'strategies' of type json.
- migrates existing strategy-mappings in to the new format.

The idea is that the 'strategies' column should contain a json-array
of strategy-configuration for the toggle:

```
[{
 "name" : "strategy1",
 "parameters": { "name": "vale" }
}]

```

To make sure to not break exiting clients the api is extended with a
mapping layer (adding old fields to the json-respons, and mapping
to the new format on create/update a feature toggle.

this commit is first step in solving #102
2020-02-20 08:30:27 +01:00
Simen Bekkhus
611942551d Use latest (hopefully last) alpha of eslint config 2020-02-20 08:30:27 +01:00
Tollef Fog Heen
0e3c793f50 Allow 0-9 in feature and strategy names (#144) 2020-02-20 08:30:27 +01:00
Simen Bekkhus
5aa14262a2 Fix linting errors (#145)
* Use pretty (svg) badges

* Fix build
2020-02-20 08:30:27 +01:00
Ivar
5c13ea5d7b Fix eslint complaining 2020-02-20 08:30:27 +01:00
Ivar
1e6c6104d7 move script to unleash-api 2020-02-20 08:30:27 +01:00
Ivar
08cdecdcd0 syntax fix.. 2020-02-20 08:30:27 +01:00
sveisvei
ba0958e894 rename server to dev-server 2020-02-20 08:30:27 +01:00
sveisvei
7cca6db685 must be singelquotes 2020-02-20 08:30:27 +01:00
sveisvei
1cdc41a5d9 manual fix lint errors 2020-02-20 08:30:27 +01:00