Commit Graph

34 Commits

Author SHA1 Message Date
Chad Arimura
49d397293b global url replace 2017-05-29 17:10:47 -07:00
James
e4bb04887e Rewrite imports to use forks files on gitlab not use githubs. 2017-05-16 11:06:32 -07:00
Travis Reeder
ffae780f07 functions: 0.2.60 release [skip ci] 2017-05-15 12:00:43 -07:00
Travis Reeder
4b9bba352d Rename location. 2017-05-15 11:00:15 -07:00
Travis Reeder
615ae5c36f Mass s&r: iron-io -> kumokit 2017-04-19 09:49:12 -06:00
Pedro Nasser
5e8340bc1c Solving postgres marshal/unmarshal issue (#610)
* Solving postgres marshal/unmarshal issue

Postgres datastore was not marshaling the App config during its insert, that behavior was resulting in issues when fetching the App and the datastore couldn't unmarshal the config.

The same issue was probably happening with the Route's headers in some situations.

This commit's idea is to always try to marshal configs and headers when inserting/updating Apps or Routes. But in Apps and Routes get methods, if the  config/headers unmarshal fails, it returns an empty config/headers.

* fix one more unmarshal case

* returning error when unmarshaling non-empty
2017-03-28 11:30:12 -07:00
Pedro Nasser
5761ce3499 fix: error unmarshal empty app config (#609) 2017-03-27 09:58:03 -07:00
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
Denis Makogon
23360d45f3 Make datastore tests pass with remote Docker containers (#587)
* Make datastore tests pass with remote Docker containers
* Make tests consume DOCKER_HOST IP address as bind host while constucting database URI.

 This fix makes datastore tests pass against
 remote Docker (with host IP different from 127.0.0.1)

Fixes: #586

* Make datastore tests pass on Go1.7.1
2017-03-14 14:32:50 +01:00
Jordan Krage
690d0d92e4 Postgres datastore errors and cleanup (#579)
* improved postgres datastore error handling

* remove excess postgres datastore validation

* postgres datastore errors and cleanup
2017-03-13 20:31:08 +01: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
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
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
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
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
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
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
dfc4be9861 refactor 2016-08-01 19:23:31 -03:00