Ivar Conradi Østhus
6827807c8c
Merge pull request #185 from Unleash/update_strategy
...
Update strategy
2016-12-17 13:06:23 +01:00
ivaosthu
d301d75817
Updated strategy-api documentation
2016-12-17 13:03:31 +01:00
ivaosthu
63037b35c3
Added api for updating a strategy
...
relates to #184
2016-12-17 13:00:44 +01:00
ivaosthu
2c46672784
use fake timers for ttl test
2016-12-17 12:55:28 +01:00
sveisvei
d4ddb24b1d
check toggles and strategies in clientapps
2016-12-13 22:43:24 +01:00
Ivar Conradi Østhus
5a27da0efe
Update developer-guide.md
2016-12-13 21:20:19 +01:00
Ivar Conradi Østhus
940f18c869
Merge pull request #183 from Unleash/strategy_def_format
...
Strategy should use better param description
2016-12-13 15:52:19 +01:00
ivaosthu
cea7b45b1c
Update strategy-api docs
2016-12-13 14:07:55 +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
8c869cc5c2
Add required flag to strategy parameters
2016-12-12 16:56:52 +01:00
ivaosthu
e34eed6ecf
Strategy should use better param description
...
Adds support for more fields sucha as description, required, etc.
relates to #182
2016-12-12 16:52:20 +01:00
ivaosthu
70c2078539
Strategy list should be sorted by name
2016-12-10 12:12:00 +01:00
Ivar Conradi Østhus
b62ee42c9a
Merge pull request #181 from Unleash/cleanup_db_migrations
...
Cleanup client_instances
2016-12-10 11:43:30 +01:00
ivaosthu
2bd7b24dea
Cleanup legacy migrations
2016-12-10 11:39:21 +01:00
ivaosthu
b67f9a6487
Cleanup client_instances
...
related to #176
2016-12-10 11:14:35 +01:00
sveisvei
fbb0445942
inject metadata on toplevel
2016-12-09 22:03:25 +01:00
sveisvei
4c454d5d08
serve with metadata
2016-12-09 22:01:43 +01:00
sveisvei
3346108594
Revert "Remove /api/client/seen-toggles as we don't need it anyway"
...
This reverts commit 63e6931265
.
2016-12-09 20:21:24 +01:00
ivaosthu
63e6931265
Remove /api/client/seen-toggles as we don't need it anyway
2016-12-09 17:46:08 +01:00
Ivar Conradi Østhus
2f6dabb8ea
Merge pull request #180 from Unleash/add-metadata
...
client applications
2016-12-09 17:38:58 +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
ivaosthu
ac846b9879
Add client_applications table
2016-12-09 16:02:06 +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
sveisvei
7c2196cbc1
send toggleName back
2016-12-05 17:58:29 +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
421a6413bf
fetch seen apps instead
2016-12-05 13:53:53 +01:00
sveisvei
e9938d9a5b
add getAppsFromToggleName
2016-12-05 13:27:18 +01:00
sveisvei
94ee490e0d
fix typ0
2016-12-05 13:27:18 +01:00
Ivar Conradi Østhus
a5d1e4eb0c
Merge pull request #179 from bjarneo/patch-1
...
fix typos
2016-12-05 11:09:55 +01:00
Ivar Conradi Østhus
215356b49a
Update README.md
2016-12-05 10:55:11 +01:00
Ivar Conradi Østhus
a7afba1312
Update README.md
2016-12-05 10:51:11 +01:00
bjarneo
daa3d57472
fix typos
2016-12-05 10:32:29 +01:00
Ivar Conradi Østhus
512d13c059
Merge pull request #178 from bjarneo/patch-1
...
fix typos
2016-12-05 10:08:50 +01:00
bjarneo
c6eb0d832b
fix typos
2016-12-05 09:40:34 +01:00
bjarneo
0580aa6655
fix typos
2016-12-05 09:38:13 +01:00
sveisvei
77858218cf
only log if num of cleaned is above 0
2016-12-04 22:12:35 +01:00
sveisvei
7513c045c1
add single toggle metric endpoint
2016-12-04 18:08:19 +01:00
sveisvei
5bf0b36588
fix lint
2016-12-04 14:09:37 +01:00
ivaosthu
de55bbc9ef
Option to disable request logging.
...
Because all request details are available via
prometheus there is no need to also log all requests.
This solves #164 but we should still replace log4j with something else.
2016-12-03 14:09:09 +01:00
ivaosthu
dba0b2b2ae
remove console...
2016-12-03 13:53:52 +01:00
ivaosthu
7189b0ba33
replace commander with yargs
2016-12-03 13:45:34 +01:00