Commit Graph

20 Commits

Author SHA1 Message Date
James
8a3edb8309 All of the changes for func logs 2017-06-19 11:38:11 -07:00
Denis Makogon
3f065ce6bf [Feature] Function status 2017-06-06 14:12:50 -07: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
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
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
Pedro Nasser
01d5a81389 Add appfilter and tests (#337)
add appfilter and tests
2016-11-24 03:46:42 -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
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
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
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
Pedro Nasser
2489fd851f added wrapper on models; changed handlers; fixes 2016-07-26 00:10:45 -03:00
Pedro Nasser
5a13e2c0cc improv api, datastore, postgres, runner 2016-07-21 21:18:02 -03:00
Pedro Nasser
66fa3d4035 refactoring API and added dbs: postgres, bolt 2016-07-21 16:04:58 -03:00