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

779 Commits

Author SHA1 Message Date
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
Simen Bekkhus
1010207289 Update to Eslint@3 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
99f3eebc5d fix frontend and fix deploy to dev-master with lerna 2020-02-20 08:30:27 +01:00
sveisvei
ea3ad3c10d procfile should reside in root 2020-02-20 08:30:27 +01:00
sveisvei
ba0958e894 rename server to dev-server 2020-02-20 08:30:27 +01:00
sveisvei
daaeaf7ddc correct typo in main field 2020-02-20 08:30:27 +01:00
sveisvei
b3eaceace2 add eslintignore 2020-02-20 08:30:27 +01:00
sveisvei
7cca6db685 must be singelquotes 2020-02-20 08:30:27 +01:00
sveisvei
9b36f75c54 remove pre-commit hook, add linting to tests 2020-02-20 08:30:27 +01:00
sveisvei
2b4de3a366 use alpha version of lint rules 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
08dfac8b53 eslint config 2020-02-20 08:30:26 +01:00
sveisvei
e5c42f2db6 remove bundle from git 2020-02-20 08:30:26 +01:00
Ivar Conradi Østhus
30393f4c4d Minor cleanup after lerna migration. (#142)
* Minor cleanup after lerna migration.

- fix correct verison number (1.0.0-alpha.2)
- added missing server.js inside unleash-api

* upgrade db-migrate
2020-02-20 08:30:26 +01:00
Ivar Conradi Østhus
e2b50b0f2d Update README.md 2020-02-20 08:30:26 +01:00
sveisvei
514fe754e1 add dummy test:ci run script 2020-02-20 08:30:26 +01:00
sveisvei
295d641338 update readme, add warning 2020-02-20 08:30:26 +01:00
sveisvei
7bacad7b90 use lerna for multipackaging 2020-02-20 08:30:26 +01:00
Ivar Conradi Østhus
77baaa5121 Introduce unleash-docker as a sperate submodule. (#136)
* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* keep ide-user-settings out of repo

* Introduce unleash-docker as a sperate submodule.

this is related to #135 and will solve #126

* mv unleash-docker to packages/unleash-docker

* made docker work for now, by copying migrations

* minro cleanup

* docker on node:6

* minor cleanup
2020-02-20 08:30:26 +01:00
Ivar
f4e7510902 1.0.0-alpha.2 2020-02-20 08:30:26 +01:00
Ivar
be98d26894 releasing scripts for now, to allow others to run the migrations 2020-02-20 08:30:26 +01:00
sveisvei
30ad6e03ad remove finn stuff 2020-02-20 08:30:26 +01:00
Ivar
1df6f674fa keep ide-user-settings out of repo 2020-02-20 08:30:26 +01:00
Ivar
1c9f6a334a more finn cleanups 2020-02-20 08:30:26 +01:00
Ivar
b86d9fbcee remove unsued packages 2020-02-20 08:30:26 +01:00
Ivar
1c092484f7 Remove finn config #133 2020-02-20 08:30:26 +01:00
Ivar
0767c586cc make package.json public 2020-02-20 08:30:25 +01:00
Ivar
1146274882 1.0.0-alpha.1 2020-02-20 08:30:25 +01:00
Ivar
4abf226328 add release scripts 2020-02-20 08:30:25 +01:00
Ivar
a05cea474d Fixed api from server-impl to make it easier to require.
only release resources needed by others.
2020-02-20 08:30:25 +01:00
sveisvei
1bbe65a398 make it possible to require server 2020-02-20 08:30:25 +01:00
Ivar
84852b98e9 formatting 2020-02-20 08:30:25 +01:00
Ivar
b2e9f38965 Statefull modules should be injected from top 2020-02-20 08:30:25 +01:00
Ivar
2355da231e Start injecting config to app. 2020-02-20 08:30:25 +01:00
Ivar
5282ebfcc9 Move all custom-scripts to /scripts folder 2020-02-20 08:30:25 +01:00
Ivar
f7bde74a28 Fixed failing jest-tests 2020-02-20 08:30:25 +01:00
Ivar
29a7cc0049 Fixed placeholder for favicon.ico 2020-02-20 08:30:25 +01:00