sveisvei
|
b137cf0eaa
|
add editable tests
|
2020-02-20 08:33:16 +01:00 |
|
sveisvei
|
a9b783443b
|
shoulda woulda
|
2020-02-20 08:33:16 +01:00 |
|
sveisvei
|
ae245293f4
|
protection against edit on built in strategies
|
2020-02-20 08:30:52 +01:00 |
|
Ivar
|
915158212c
|
Add support for sdkVersion in client registration
|
2020-02-20 08:30:52 +01:00 |
|
Simen Bekkhus
|
e1cc0b2e99
|
Upgrade prom-client and yargs
|
2020-02-20 08:30:51 +01:00 |
|
sveisvei
|
93bb1ac66d
|
should expose one feature
|
2020-02-20 08:30:51 +01:00 |
|
sveisvei
|
0ae24c68e6
|
Refactor routes setup, move test files, cleanup legacy
|
2020-02-20 08:30:51 +01:00 |
|
Simen Bekkhus
|
e85ac8a52f
|
Log client error (#225)
* Log client error
* Log all errors
|
2020-02-20 08:30:50 +01:00 |
|
sveisvei
|
86ac44908d
|
validate configures strategy shape
|
2020-02-20 08:30:49 +01:00 |
|
vsandvold
|
743a597f42
|
provides a more helpful error msg when a new feature is created with an existing name
|
2020-02-20 08:30:46 +01:00 |
|
sveisvei
|
07dc23d23d
|
use post instead of put
|
2020-02-20 08:30:46 +01:00 |
|
sveisvei
|
32a0b93096
|
add toggle endpoint
|
2020-02-20 08:30:46 +01:00 |
|
ivaosthu
|
8beb4b8876
|
Add simple API resource #191
|
2020-02-20 08:30:46 +01:00 |
|
ivaosthu
|
df7ad8c8bf
|
Strategy name can be up to 100chars . Closes #195
|
2020-02-20 08:30:45 +01:00 |
|
sveisvei
|
1d3faca238
|
fix lint
|
2020-02-20 08:30:45 +01:00 |
|
ivaosthu
|
744e41f9aa
|
Strategy parameter description is allowed to be empty
|
2020-02-20 08:30:43 +01:00 |
|
ivaosthu
|
79de8fb7ed
|
Added api for updating a strategy
relates to #184
|
2020-02-20 08:30:43 +01:00 |
|
sveisvei
|
f5578d986e
|
check toggles and strategies in clientapps
|
2020-02-20 08:30:43 +01:00 |
|
ivaosthu
|
c8a9b39f27
|
Add schema validation for strategies
|
2020-02-20 08:30:43 +01:00 |
|
sveisvei
|
381e7d4763
|
inject metadata on toplevel
|
2020-02-20 08:30:43 +01:00 |
|
sveisvei
|
76d642069b
|
Revert "Remove /api/client/seen-toggles as we don't need it anyway"
This reverts commit 63e6931265 .
|
2020-02-20 08:30:42 +01:00 |
|
ivaosthu
|
52fcfb4a2b
|
Remove /api/client/seen-toggles as we don't need it anyway
|
2020-02-20 08:30:42 +01:00 |
|
ivaosthu
|
51442a6cc4
|
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.
|
2020-02-20 08:30:42 +01:00 |
|
ivaosthu
|
8764b952b3
|
A client-register should upsert client_applications table
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
3a6e7d02ef
|
client applications
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
066fe5fdd2
|
recieve togglename to archive or revive via path
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
92111890d9
|
uppercase event type key constants
|
2020-02-20 08:30:42 +01:00 |
|
ivaosthu
|
9c6fad83c2
|
Added enpoint for fetching application implementing a strategy
`/api/client/applications?strategyName=foo` now returns list of
apps implementing that strategy!
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
803fc6752d
|
send toggleName back
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
a959dc777d
|
fetch seen apps instead
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
7609d0abeb
|
add getAppsFromToggleName
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
d3063073b3
|
fix typ0
|
2020-02-20 08:30:42 +01:00 |
|
sveisvei
|
b5b846835b
|
add single toggle metric endpoint
|
2020-02-20 08:30:41 +01:00 |
|
sveisvei
|
f425597640
|
fix lint
|
2020-02-20 08:30:41 +01:00 |
|
ivaosthu
|
bec646d797
|
more tests
|
2020-02-20 08:30:41 +01:00 |
|
ivaosthu
|
471518b41d
|
Simplify metrics: We only need timings as it includes counts for free
|
2020-02-20 08:30:40 +01:00 |
|
ivaosthu
|
e075917136
|
cleanup
|
2020-02-20 08:30:40 +01:00 |
|
ivaosthu
|
8e6bcafa24
|
Server Metrics: add response time and status codes
|
2020-02-20 08:30:40 +01:00 |
|
ivaosthu
|
84e0810d64
|
Some Metrics API cleanups
|
2020-02-20 08:30:40 +01:00 |
|
ivaosthu
|
b8014fdddf
|
Server Metrics with Prometheus
Implementation use internal eventBus to enable loose counting in the app.
read more at https://prometheus.io/
Closes #98
|
2020-02-20 08:30:40 +01:00 |
|
ivaosthu
|
93c37b30c0
|
Metrics: wrte api documentation
|
2020-02-20 08:30:40 +01:00 |
|
sveisvei
|
e55378e1c4
|
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
|
2020-02-20 08:30:40 +01:00 |
|
Ivar
|
3fa930baf0
|
Added strategies validation when creating/updating toggles
|
2020-02-20 08:30:39 +01:00 |
|
sveisvei
|
067b93abfd
|
add tests, rename folders to ava defaults for helpers/fixtures, remove migration og
|
2020-02-20 08:30:39 +01:00 |
|
ivaosthu
|
39b5f26f56
|
Add unit-test for /health route
|
2020-02-20 08:30:38 +01:00 |
|
ivaosthu
|
5735b0931a
|
Cleanup route/metrics a bit
|
2020-02-20 08:30:38 +01:00 |
|
ivaosthu
|
a665b1b999
|
Started on unit test for metrics-route
|
2020-02-20 08:30:38 +01:00 |
|
ivaosthu
|
90859701c6
|
remove all lerna stuff
|
2020-02-20 08:30:37 +01:00 |
|
sveisvei
|
7bacad7b90
|
use lerna for multipackaging
|
2020-02-20 08:30:26 +01:00 |
|
Ivar
|
b2e9f38965
|
Statefull modules should be injected from top
|
2020-02-20 08:30:25 +01:00 |
|
ivaosthu
|
0325cd92fb
|
Move all routes to a routes folder
|
2020-02-20 08:30:24 +01:00 |
|