1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
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
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
Ivar
17e3edca98 Remove console.log #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
Ivar
5c13ea5d7b Fix eslint complaining 2020-02-20 08:30:27 +01:00
Ivar
08cdecdcd0 syntax fix.. 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
sveisvei
065be3d37d eslint --fix 2020-02-20 08:30:27 +01:00
sveisvei
65c927726f codemods 2020-02-20 08:30:26 +01:00
sveisvei
7bacad7b90 use lerna for multipackaging 2020-02-20 08:30:26 +01:00