| 
							
							
								 ivaosthu | 4f1824c271 | Strip uknown fields in client requests. closes #245 | 2017-06-29 11:10:24 +02:00 |  | 
			
				
					| 
							
							
								 Ivar Conradi Østhus | 98b0ce39a4 | Merge branch 'master' into add-sdk-version | 2017-06-29 09:57:55 +02:00 |  | 
			
				
					| 
							
							
								 sveisvei | 4207bec0ac | add editable tests | 2017-06-29 08:44:03 +02:00 |  | 
			
				
					| 
							
							
								 sveisvei | 0e544a27e2 | shoulda woulda | 2017-06-29 08:44:03 +02:00 |  | 
			
				
					| 
							
							
								 Simen Bekkhus | f554b2ecaa | Upgrade prom-client and yargs | 2017-06-29 08:44:02 +02:00 |  | 
			
				
					| 
							
							
								 Ivar | 46b82ecd6a | Add support for sdkVersion in client registration | 2017-06-28 23:19:19 +02:00 |  | 
			
				
					| 
							
							
								 sveisvei | 664e019e9b | protection against edit on  built in strategies | 2017-06-28 21:10:43 +02:00 |  | 
			
				
					| 
							
							
								 Simen Bekkhus | cdda8d7438 | Upgrade prom-client and yargs | 2017-06-28 14:34:01 +02:00 |  | 
			
				
					| 
							
							
								 sveisvei | 447940ed0c | should expose one feature | 2017-06-28 12:52:27 +02:00 |  | 
			
				
					| 
							
							
								 sveisvei | be4852f63a | Refactor routes setup, move test files, cleanup legacy | 2017-06-28 10:20:22 +02:00 |  | 
			
				
					| 
							
							
								 Simen Bekkhus | 1c02d73c2c | Log client error (#225) * Log client error
* Log all errors | 2017-06-21 11:24:36 +02:00 |  | 
			
				
					| 
							
							
								 Ivar Conradi Østhus | 419380259d | Merge pull request #200 from Unleash/validate-configured-strategy-shape validate configures strategy shape | 2017-03-16 21:03:07 +01:00 |  | 
			
				
					| 
							
							
								 vsandvold | 6a4f453713 | provides a more helpful error msg when a new feature is created with an existing name | 2017-01-28 17:29:22 +01:00 |  | 
			
				
					| 
							
							
								 Sveinung Røsaker | 839aeb01a6 | Merge pull request #199 from Unleash/add-toggle-ep add toggle endpoint | 2017-01-09 11:34:59 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | a892c34be4 | use post instead of put | 2017-01-09 11:06:10 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | 26533034b1 | validate configures strategy shape | 2017-01-08 20:40:50 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | 1f5b1c1925 | add toggle endpoint | 2017-01-08 20:04:46 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | e4eeea10dd | Add simple API resource #191 | 2017-01-06 15:58:02 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 5d58dd56fa | Strategy name can be up to 100chars . Closes #195 | 2016-12-29 14:17:07 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | dfa490affb | fix lint | 2016-12-27 21:03:50 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | d1e809a9a4 | Strategy parameter description is allowed to be empty | 2016-12-17 16:47:52 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 63037b35c3 | Added api for updating a strategy relates to #184 | 2016-12-17 13:00:44 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | d4ddb24b1d | check toggles and strategies in clientapps | 2016-12-13 22:43:24 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | bc82aa6e77 | Add schema validation for strategies | 2016-12-12 21:44:21 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | fbb0445942 | inject metadata on toplevel | 2016-12-09 22:03:25 +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 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 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 |  | 
			
				
					| 
							
							
								 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 | 10a434a992 | more tests | 2016-12-02 17:19:59 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | c32f29e66b | Simplify metrics: We only need timings as it includes counts for free | 2016-12-01 18:10:25 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | c75b12a7ac | cleanup | 2016-12-01 17:47:51 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 5f39115914 | Server Metrics: add response time and status codes | 2016-12-01 17:43:08 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | aeb925cb1b | Some Metrics API cleanups | 2016-12-01 17:15:55 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | b46fb7507f | Server Metrics with Prometheus Implementation use internal eventBus to enable loose counting in the app.
read more at https://prometheus.io/
Closes #98 | 2016-11-30 23:41:57 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | f312caca7c | Metrics: wrte api documentation | 2016-11-30 19:03:46 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | 95388996b9 | 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 | 2016-11-30 19:03:21 +01:00 |  | 
			
				
					| 
							
							
								 Ivar | 2d8947c30f | Added strategies validation when creating/updating toggles | 2016-11-15 21:30:04 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | bb4cf30d22 | add tests, rename folders to ava defaults for helpers/fixtures, remove migration og | 2016-11-13 20:33:23 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 5bdaf2cf91 | Add unit-test for /health route | 2016-11-11 16:24:16 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 4f25533230 | Cleanup route/metrics a bit | 2016-11-11 15:46:59 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | b14c766e97 | Started on unit test for metrics-route | 2016-11-10 22:05:50 +01:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 0bd0924aee | remove all lerna stuff | 2016-11-10 15:52:49 +01:00 |  | 
			
				
					| 
							
							
								 sveisvei | 0ffb9b78b6 | use lerna for multipackaging | 2016-06-18 09:19:57 +02:00 |  | 
			
				
					| 
							
							
								 Ivar | 2d8fa7ee6b | Statefull modules should be injected from top | 2016-06-16 14:35:50 +02:00 |  | 
			
				
					| 
							
							
								 ivaosthu | 225db218d3 | Move all routes to a routes folder | 2016-06-16 14:03:49 +02:00 |  |