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
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
a80fe9c897
Fix datastore error for inexistent app ( #493 )
...
* fix datastore error inexistent app
* fix get route error handling
* fix API errors handling and tests
2017-01-26 14:41:18 -08:00
Pedro Nasser
bf1f435458
API initialization changes ( #483 )
...
* initialization changes and shows no error
* fix issues
* remove unnecessary go routine
* revert
* fix http.Serve
* add change log
2017-01-18 19:07:11 -02:00
Reed Allman
dd2af59fc7
fixes make run-docker ( #471 )
...
since the db files were being created inside of the docker container with only
permissions for the root user to rwx and docker run needs all of $PWD to be
readable in order to build a docker container on the host, `make run-docker`
was broken on any subsequent runs. If we create more permissive permissions
then we don't have that issue (group +rx)
2017-01-03 20:41:05 +01:00
Pedro Nasser
597d66b5b3
fix: using bolt config/header update now overwrites ( #456 )
2016-12-22 22:27:52 +01: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
Pedro Nasser
9382f0b133
fix datastore Put and added tests ( #402 )
2016-12-07 08:59:54 -08:00
Pedro Nasser
7183c440d9
minor postgres fix ( #392 )
2016-12-05 10:44:37 -08:00
Pedro Nasser
9387e9bc41
fix postgres GetApp bug when filter is nil ( #383 )
2016-12-02 16:44:57 -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
Guilherme Rezende
707fc5ec0e
fix bolt UpdateRoute header bug ( #341 )
2016-11-25 15:00:55 -02:00
Pedro Nasser
107033d5d7
Fix: handle nil filters ( #340 )
...
fix bug when filter is nil
2016-11-24 15:29:07 -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
f6d19c3cc9
functions: performance improvements - LRU & singleflight DB calls ( #322 )
...
* functions: add cache and singleflight to ease database load
* runner: upgrade
* deps: upgrade glide files
* license: add third party notifications
* functions: fix handling of implicitly created apps
* functions: code deduplication
* functions: fix missing variable
2016-11-21 19:48:11 +01: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
C Cirello
42efb2ed6b
Improve routes query ( #172 )
2016-10-14 21:52:25 +02:00
C Cirello
34b4b25092
Log messages cleanup ( #158 )
2016-10-13 18:11:31 +02:00
C Cirello
4cbfb3ccfd
Reduce test log verbosity ( #150 )
...
* Reduce test verbosity
* Divert gin's log to the test buffer
* Divert stdlib's log to the test buffer
* Add bolt tests into log buffer
* Add a linebreak to improve log output layout
2016-10-13 00:06:02 +02:00
Carlos C
bc3fba088f
Fix start problem with two IronFunction colliding configurations
...
By default, BoltDB will hang while waiting to acquire lock to the
datafile, thus the users might find themselves waiting for something
but not what. The added timeout aims inform use about what's
happening.
Also this renames MQADR to TASKSRV, refactor configuration to read
environment variables. RunAsyncRunner now fills the gaps when
parsing TASKSRV.
Fixes #119
2016-10-04 23:57:43 +02:00
Pedro Nasser
51fcdd2327
small fix postgres insert query
2016-09-20 19:21:30 -03:00
Pedro Nasser
f461312553
add required memory configuration to Route
2016-09-09 00:53:46 -03:00
Pedro Nasser
a417cb52e3
fix postgres
2016-08-30 13:41:20 -03:00
Travis Reeder
662216f7f1
Bug in postgres schema.
2016-08-30 01:26:21 -07:00
Pedro Nasser
2782a6db54
added config to apps and routes
2016-08-26 23:04:57 -03:00
Pedro Nasser
c5025142bf
route filter improvement
2016-08-13 19:25:07 -03:00
Travis Reeder
680bd08137
Merge pull request #47 from pedronasser/fix-tests-and-mock
...
fix mock and tests
2016-08-11 08:39:25 -07:00
Pedro Nasser
9472575303
fix mock and tests
2016-08-11 02:18:54 -03:00
Pedro Nasser
3ded66b32a
fix filter and added postgres
2016-08-11 02:18:02 -03:00
Travis Reeder
f3d2aa09ef
Another PG bug.
2016-08-10 15:02:43 -07:00
Travis Reeder
63bb215cd2
Fixed some postgres bugs.
2016-08-10 14:03:01 -07: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