Commit Graph

2856 Commits

Author SHA1 Message Date
CI
62461d93a7 fnserver: 0.3.505 release [skip ci] 0.3.505 2018-07-12 10:42:14 +00:00
Richard Connon
5dfd9a9110 Add a GetString helper for simple string annotations. Add tests which call Get and GetString on annotations objects (#1118) 2018-07-12 11:33:26 +01:00
CI
d01fa73209 fnserver: 0.3.504 release [skip ci] 0.3.504 2018-07-11 14:14:54 +00:00
Tom Coupland
c7a50efd2c Plan for func.yaml file changes for triggers. fnproject/cli#324 (#1115)
The changes aim to be as minimal as possible:

* Remove no longer available options
* Add a schema version to the file for validation
* Add trigger list block
2018-07-11 15:05:27 +01:00
CI
4be93147b7 fnserver: 0.3.503 release [skip ci] 0.3.503 2018-07-07 09:46:23 +00:00
Owen Cliffe
fff95e7992 Clean up/make consistent the APIs for registering core components, make Docker an optional component at compile time (#1111) 2018-07-07 10:37:19 +01:00
CI
cc468afeec fnserver: 0.3.502 release [skip ci] 0.3.502 2018-07-05 18:05:11 +00:00
Owen Cliffe
b8b544ed25 HTTP Triggers hookup (#1086)
* Initial suypport for invoking tiggers

* dupe method

* tighten server constraints

* runner tests not working yet

* basic route tests passing

* post rebase fixes

* add hybrid support for trigger invoke and tests

* consoloidate all hybrid evil into one place

* cleanup and make triggers unique by source

* fix oops with Agent

* linting

* review fixes
2018-07-05 12:56:07 -05:00
CI
b07a000a18 fnserver: 0.3.501 release [skip ci] 0.3.501 2018-07-05 14:47:30 +00:00
Richard Connon
9f90530465 Check error on triggers with non-existent app test (#1112) 2018-07-05 15:40:24 +01:00
CI
26ec214739 fnserver: 0.3.500 release [skip ci] 0.3.500 2018-07-04 14:30:36 +00:00
Reed Allman
1cdb47d6e9 server, examples, extensions lint compliant (#1109)
these are all automated changes suggested by golint
2018-07-04 15:23:15 +01:00
CI
6f5e58144a fnserver: 0.3.499 release [skip ci] 0.3.499 2018-07-03 23:12:21 +00:00
Tolga Ceylan
300fcd7d92 fn: applications should be aware of reserved writable space (#1083)
Similar to FN_MEMORY, we pass FN_TMPSIZE to function config.
2018-07-03 16:04:48 -07:00
CI
84eed08247 fnserver: 0.3.498 release [skip ci] 0.3.498 2018-07-03 21:06:12 +00:00
Owen Cliffe
5d970d9295 Set shortcodes in trigger response entities based on config or request URL (#1099)
* adding trigger short code injection

* more annotation provider stuff

* fixed up tests

* Fix validator
2018-07-03 15:59:00 -05:00
CI
83c51fa316 fnserver: 0.3.497 release [skip ci] 0.3.497 2018-07-03 00:22:54 +00:00
Tolga Ceylan
317de18e6b fn: lb-agent: Add Runner Scheduler/Execution Stats (#1107)
LB agent reports lb placer latency. It should also report
how long it took for the runner to initiate the call as
well as execution time inside the container if the runner
has accepted (committed) to the call.
2018-07-02 17:15:43 -07:00
Aurelio Garcia-Ribeyro
e0ae9cc679 Note on Shell script about proxy (#1108)
Added a note on the section about using the shell script to set up the proxy environmental variables before running the script.  Also updated MacOS to macOS
2018-07-02 17:13:15 -07:00
CI
357f22c3f5 fnserver: 0.3.496 release [skip ci] 0.3.496 2018-07-02 18:47:10 +00:00
Reed Allman
35e5f81bc8 add docs for --net=host hackery (#1105)
I've found this to be extremely useful. Not that I expect anyone to be able to
find this document on their own accord considering the breadth of
documentation that we have, this can still be useful for linking to from slack
at least (what docs are really for, right?)

also the triggers doc stuck out as confusing considering all the triggers
stuff going on, I was unable to comprehend how exactly it was helpful other
than making people aware that openstack exists and they could build an
extension into fn for it if they want to, but this seems true of most things?
so, removed it, if anyone objects maybe we could improve it a little?
2018-07-02 11:40:00 -07:00
Owen Cliffe
128c9a5182 Fix verbs in docs (#1097)
* Fix verbs [skip ci]

* run ci
2018-07-02 07:09:42 -07:00
CI
f520fd3927 fnserver: 0.3.495 release [skip ci] 0.3.495 2018-06-30 01:34:06 +00:00
Tolga Ceylan
d0365bd2c9 fn: update route documentation for tmpfs_size (#1104) 2018-06-29 18:26:57 -07:00
CI
3bc39175de fnserver: 0.3.494 release [skip ci] 0.3.494 2018-06-29 23:11:19 +00:00
Tolga Ceylan
3b98c19220 fn: swagger update for tmpfs size (#1034) 2018-06-29 16:03:58 -07:00
CI
ccbfbe5cf8 fnserver: 0.3.493 release [skip ci] 0.3.493 2018-06-29 19:46:49 +00:00
Tolga Ceylan
974a8d6f06 fn: add explanation of read-only disk and /tmp in faq/persistence. (#1103) 2018-06-29 12:39:26 -07:00
CI
7c43128e22 fnserver: 0.3.492 release [skip ci] 0.3.492 2018-06-29 18:21:08 +00:00
Tom Coupland
d7139358ce List Cursor management moved into datastore layer. (#1102)
* Don't try to delete an app that wasn't successfully created in the case of failure

* Allow datastore implementations to inject additional annotations on objects

* Allow for datastores transparently adding annotations on apps, fns and triggers. Change NameIn filter to Name for apps.

* Move *List types including JSON annotations for App, Fn and Trigger into models

* Change return types for GetApps, GetFns and GetTriggers on datastore to
be models.*List and ove cursor generation into datastore

* Trigger cursor handling fixed into db layer

Also changes the name generation so that it is not in the same order
as the id (well is random), this means we are now testing our name ordering.

* GetFns now respects cursors

* Apps now feeds cursor back

* Mock fixes

* Fixing up api level cursor decoding

* Tidy up treatment of cursors in the db layer

* Adding conditions for non nil items lists

* fix mock test
2018-06-29 19:14:13 +01:00
CI
fca107c815 fnserver: 0.3.491 release [skip ci] 0.3.491 2018-06-28 00:35:28 +00:00
Owen Cliffe
73d45db443 Fix JSON list responses (#1098) 2018-06-28 01:28:07 +01:00
CI
6bda57199a fnserver: 0.3.490 release [skip ci] 0.3.490 2018-06-26 17:25:11 +00:00
Rik Gibson
64fb6d27b4 Fixed up a couple of incorrect response codes (#1095)
* Fixed up a couple of incorrect response codes

* Standardise all entities on 204 with no return content on successful delete

* Fix failing Fn.delete() test
2018-06-26 18:17:47 +01:00
CI
ad026eb645 fnserver: 0.3.489 release [skip ci] 0.3.489 2018-06-26 11:18:23 +00:00
Tom Coupland
88a674b24b Removing Swaggerv2 error wrapping (#1092)
The code does not produce errors in this shape.
2018-06-26 12:11:36 +01:00
CI
dcc4a01a8c fnserver: 0.3.488 release [skip ci] 0.3.488 2018-06-26 09:50:57 +00:00
Richard Connon
cd24e1e431 Remove datastoretest from internal namespace so third-party datastore implementations can test compliance (#1091) 2018-06-26 10:43:20 +01:00
CI
41bec645b3 fnserver: 0.3.487 release [skip ci] 0.3.487 2018-06-25 23:40:17 +00:00
Rik Gibson
4b67b0ed26 Tidying and rationalising summary and description strings, some minor… (#1090)
* Tidying and rationalising summary and description strings, some minor rejigging of elements for consistency.

* Removed a single solitary fullstop.

* Quoted a few more unquoted strings...

* Capitalized summaries, no full stops. Sentences for descriptions, yes full stops.

* More Capitals, less full stops...
2018-06-26 00:33:13 +01:00
CI
c6ecf72150 fnserver: 0.3.486 release [skip ci] 0.3.486 2018-06-25 17:55:05 +00:00
Owen Cliffe
4d238c116c Add triggers table via migration (#1088)
* Add triggers table via migration
2018-06-25 18:48:01 +01:00
CI
8f92efa805 fnserver: 0.3.485 release [skip ci] 0.3.485 2018-06-25 14:44:41 +00:00
Tom Coupland
3ebff051a4 Add support for Function and Trigger domain objects (#1060)
Vast commit, includes:

 * Introduces the Trigger domain entity.
 * Introduces the Fns domain entity.
 * V2 of the API for interacting with the new entities in swaggerv2.yml
 * Adds v2 end points for Apps to support PUT updates.
 * Rewrites the datastore level tests into a new pattern.
 * V2 routes use entity ID over name as the path parameter.
2018-06-25 15:37:06 +01:00
CI
a5abecaafb fnserver: 0.3.484 release [skip ci] 0.3.484 2018-06-25 13:02:59 +00:00
Sachin Pikle
abd8580300 Fixed broken links (#1087) 2018-06-25 18:26:19 +05:30
CI
7d1356f458 fnserver: 0.3.483 release [skip ci] 0.3.483 2018-06-25 09:43:51 +00:00
jan grant
edf2fc8831 Add a finer-grained view for placer latency metrics (#1085)
This is a small tweak to the placer latency stats. If we have a cluster of values
around the 1-2s mark, then having a single relatively broad bucket that captures
the (1s, 10s] range will obscure that. In particular, typical Prometheus quartile
estimates may be distorted by this bucket size.
2018-06-25 10:36:46 +01:00
CI
d1d526039d fnserver: 0.3.482 release [skip ci] 0.3.482 2018-06-21 19:40:21 +00:00
Tolga Ceylan
f8d737dd46 fn: api-tests are decommissioned: cleanup Makefile (#1082)
* fn: api-tests are decommissioned: cleanup Makefile

* fn: increase mem in system-tests due to fn-test-utils image
2018-06-21 12:33:20 -07:00