Denis Makogon
7603e6e8fa
Add idle_timeout to routes API ( #603 )
...
* Add inactivity_timeout to routes API
Closes : #544
* Fix failing datastore tests
* Rename inactivity_timeout to idle_timeout
* Update swagger doc
* Update hot fn doc
* Fix json tags
* Add function timeouts docs
* Rewording
2017-03-25 18:28:53 +01:00
Jordan Krage
1d0ba54b35
server updates ( #566 )
...
* server updates
- improved route create/update validation/defaults
- improved/added route test cases
* cleanup
* negative concurrency check
2017-03-03 09:33:19 -06:00
Jordan Krage
06171800e2
Datastore validator ( #565 )
...
* add datastore validator; adapt mock and tests
* adapt bolt datastore to common validator
* adapt postgres datastore to validator
* adapt redis datastore to common validator
2017-03-02 14:43:53 -08:00
Jordan Krage
17e18d872b
mock datastore tests ( #562 )
2017-03-01 22:04:04 -08:00
Jordan Krage
3fd3da87f3
Datastore tests ( #551 )
...
* common datastore tests
* fix Datastore.UpdateApp
* remove extra datastore tests
* datastore test fixes
2017-03-01 08:40:08 -08:00
Pedro Nasser
a5eeacdadb
fix runner response ( #517 )
2017-02-11 03:36:56 +01:00
Seif Lotfy سيف لطفي
ab9428a937
Unskip tests ( #516 )
...
* Unskip tests
* fix fn output for errors
* Change Error model and add fn routes call return on error
2017-02-09 22:31:39 -02:00
Travis Reeder
d5116397b6
API extension points ( #473 )
...
* API endpoint extensions working.
extensions example.
* Added server.NewEnv and some docs for the API extensions example.
extensions example.
example main.go.
* Uncommented special handler stuff.
* Added section in docs for extending API linking to example main.go.
* Commented out special_handler test
* Changed to NewFromEnv
2017-01-30 12:14:28 -08:00
Pedro Nasser
5367a3ef99
Fix API inconsistencies ( #404 )
...
* fix api inconsistencies
* handling empty format cases
* code style
2016-12-07 17:16:48 -02:00
C Cirello
3b16b7f1d8
functions: application updates no longer accept name in the body ( #391 )
...
* functions: application updates no longer accept name in the body
AppUpdate was initially conceived as an upsert endpoint for apps.
It turns out that it created an inconsistency regarding updates:
updates with names divergent with URL would not actually change
application's name.
This commit atempts to address the issue by returning an HTTP
error when trying to update an application name. In swagger.yml,
application names are already `readOnly:true`. Thus there is no
change from expected behavior.
Fixes #380
* functions: use specific error value for name change
2016-12-07 19:54:21 +01:00
C Cirello
66d446b148
functions: returns HTTP error in case of route update attempt ( #396 )
...
Ensure that attempts to update route's path are properly handled
with a HTTP error. Moreover, updates swagger file to make it
explicit that routes are immutable.
Fixes #381
2016-12-07 19:54:09 +01:00
Pedro Nasser
9382f0b133
fix datastore Put and added tests ( #402 )
2016-12-07 08:59:54 -08:00
C Cirello
a7a466f968
functions: fix route timeout ( #349 )
...
* functions: add route-level timeout configuration options
* functions: harmonize defaults
2016-11-28 20:53:11 -02:00
C Cirello
ac0044f7d9
functions: hot containers ( #332 )
...
* functions: modify datastore to accomodate hot containers support
* functions: protocol between functions and hot containers
* functions: add hot containers clockwork
* fn: add hot containers support
2016-11-28 15:45:35 -02:00
Pedro Nasser
01d5a81389
Add appfilter and tests ( #337 )
...
add appfilter and tests
2016-11-24 03:46:42 -02:00
Pedro Nasser
c14bc323f9
added ctx to datastore and improve mock ( #329 )
...
Added ctx to datastore and improved mock
2016-11-22 03:33:44 -02:00
C Cirello
da96ef471a
api: add support for deleting apps ( #327 )
...
* api: add support for deleting apps
Fixes #274
* functions: improve error name and description
* functions: fix test regression
2016-11-22 01:07:30 +01:00
Pedro Nasser
0343c4990c
server.New signature changes and test fixes. ( #324 )
...
* ctx middleware should always be the first added to router
* plugable enqueue func, changed server.New signature
* fix tests
* remove ctx/ctx.Done from server
2016-11-21 17:11:01 +01:00
Pedro Nasser
7593480d4b
fix route update ( #295 )
...
Fix route update, ensure image exists
2016-11-16 19:46:56 -02:00
Travis Reeder
616112b349
swagger fixes and appname -> app_name ( #294 )
...
* swagger fixes and appname -> app_name
* Swagger errors fixed
2016-11-15 08:13:53 -08:00
Pedro Nasser
7aa1981fba
Datastore refactor and added postgres tests ( #259 )
...
* fix apps & routes creation/update
* refactor datastore and added postgres tests
* added test-datastore and fixed circleci test
2016-11-14 15:03:10 -02:00
Carlos C
d5fb1afda7
Revert "Assert License ( #224 )"
...
This reverts commit a61c4dab78 .
2016-11-06 09:25:12 -08:00
C Cirello
a61c4dab78
Assert License ( #224 )
...
* license: assert license for Go code
* license: add in shell scripts
* license: assert license for Ruby code
* license: assert license to individual cases
* license: assert license to Dockerfile
2016-11-05 23:33:07 +01:00
Seif Lotfy سيف لطفي
e85a31b715
Add missing swagger spec ( #175 )
...
* Add missing swagger spec
* More cleaning up of the swagger.yml and removing unused structs
* Add TaskWrapper
2016-10-19 12:22:41 -07:00
Seif Lotfy سيف لطفي
0270eca460
remove unused ApplyAppFilter which always returns true ( #177 )
2016-10-17 11:37:31 -07:00
C Cirello
42efb2ed6b
Improve routes query ( #172 )
2016-10-14 21:52:25 +02:00
Travis Reeder
75383d060f
Updated route_name in json to app_name.
2016-10-13 20:24:06 -07:00
Travis Reeder
25f582b180
Updated README and simplified/cleaned up some code.
2016-10-13 20:24:06 -07:00
Pedro Nasser
2e12e2c700
Fix input async tasks + tests ( #137 )
2016-10-12 22:23:34 +02:00
C Cirello
3ca137a01c
Upgrade to Go 1.7 ( #128 )
...
* Upgrade to stdlib context package
* Modernized syntax
2016-10-06 20:10:00 +02:00
Carlos C
0ecb6ca5cc
Add context do models.MessageQueue interface
2016-10-03 23:49:08 +02:00
Seif Lotfy
54f66c7b09
update glide
2016-09-26 12:59:18 +02:00
Seif Lotfy
92df53b144
Add support for Async worker
2016-09-24 10:06:57 +02:00
Seif Lotfy
b623fc27e4
Initial work on async functions
2016-09-24 10:06:51 +02:00
Pedro Nasser
f461312553
add required memory configuration to Route
2016-09-09 00:53:46 -03:00
Pedro Nasser
2782a6db54
added config to apps and routes
2016-08-26 23:04:57 -03:00
Henrique Chehad
459620f9b4
fix runner to use global instance
2016-08-22 20:12:02 -03:00
Henrique Chehad
148d52c890
updates after runner factored
2016-08-22 19:17:58 -03:00
Henrique Chehad
e11a1896fd
rebase/merging runner
2016-08-22 18:21:59 -03:00
Pedro Nasser
43ab8da867
added omitempty route struct
2016-08-15 20:05:38 -03:00
Pedro Nasser
c5025142bf
route filter improvement
2016-08-13 19:25:07 -03:00
Pedro Nasser
3ded66b32a
fix filter and added postgres
2016-08-11 02:18:02 -03:00
Pedro Nasser
39f59620aa
added image filter
2016-08-11 01:04:11 -03:00
Travis Reeder
8558d13f07
Added support for hooks to customize behavior.
2016-08-09 22:34:28 -07:00
Travis Reeder
3d94fc64c9
Removed "name" from route, only need path.
2016-08-07 14:58:05 -04:00
Pedro Nasser
e2c5f094f8
small refactor datastore and added tests
2016-08-05 20:00:16 -03:00
Pedro Nasser
dfc4be9861
refactor
2016-08-01 19:23:31 -03:00
Pedro Nasser
0b3d5cec5e
renamed route errors and added path validation
2016-07-30 18:15:57 -03:00
Travis Reeder
871930aaf5
Merge pull request #29 from iron-io/strict-app-name
...
Restrict app names
2016-07-29 11:43:15 -07:00
Evan Shaw
6bd6dd342d
Restrict app name
...
App name must match the regular expression: [\w\-]{1, 30}
2016-07-29 14:00:35 +12:00