Soam Vasani
0456df0d63
Refactor kubewatcher/webhook publisher
...
Create a Publisher interface. Refactor webhook publisher to satisfy
that interface.
Add some limited retries to webhook publisher.
2016-12-19 14:38:44 -08:00
Soam Vasani
dddb50c00f
cli watch impl
2016-12-16 00:54:06 -08:00
Soam Vasani
de30886c9e
compile error
2016-12-16 00:43:45 -08:00
Soam Vasani
215f4fc30f
comments
2016-12-15 19:48:45 -08:00
Soam Vasani
53c49d1485
Add an atomic bool to track if a watch is stopped
...
Saw a watch channel close once without actually calling watch.Stop.
Need to investigate this a bit and handle it if necessary.
2016-12-15 09:34:03 -08:00
Soam Vasani
4bc7480acd
Add request logging to router
2016-12-15 09:33:02 -08:00
Soam Vasani
5c6dcca19d
Pass obj type to functions
2016-12-12 08:46:19 -08:00
Soam Vasani
b7906905c2
Make the internal triggers point to the latest version
2016-12-11 19:59:10 -08:00
Soam Vasani
f1e1da4ceb
Bugfix in fission-bundle arg parsing
2016-12-11 19:58:26 -08:00
Soam Vasani
5e3adc0b59
Log on function exception
2016-12-11 19:58:04 -08:00
Soam Vasani
0fb4cc1536
Use latest version of function for watches
2016-12-11 00:07:25 -08:00
Soam Vasani
193cf594be
Let fission CLI tolerate URL with/without leading http://
2016-12-10 19:56:45 -08:00
Soam Vasani
7918b89fd2
Bugfix in kubewatcher deployment yaml
2016-12-10 19:56:15 -08:00
Soam Vasani
2379cb6f81
Add watches to fission CLI
2016-12-10 19:55:43 -08:00
Soam Vasani
f29e69c581
Fix cleanup on duplicate function specialization
2016-12-10 19:55:20 -08:00
Soam Vasani
ddb189bda2
Kube requests: add content-type
2016-12-10 19:54:01 -08:00
Soam Vasani
188280488c
Fix bug in populating watch url
2016-12-10 19:53:13 -08:00
Soam Vasani
9dcd2b711f
Add kubewatcher deployment to yaml
2016-12-09 23:58:31 -08:00
Soam Vasani
4ae0ab98e8
Add kubewatcher to fission-bundle
2016-12-09 23:43:27 -08:00
Soam Vasani
a69834157f
Controller crud for Watch type
...
Controller and client crud, API routes, and a unit test for the Watch
type.
2016-12-09 23:42:03 -08:00
Soam Vasani
3a6d5bb070
Add "internal" routes for all functions
...
These routes allow us to call any function without explicitly defining
a route for them. TODO: if we can serve these routes from a separate
instance of router (controlled by a commandline flag or env var), we'd
be able to keep this instance of the router "private" by not assigning
it a loadbalancer/nodeport or other externally-visible service.
2016-12-09 23:34:46 -08:00
Soam Vasani
e49af8ca78
Watch type
...
Contains parameters to start a Kubernetes watch, and a function to
call when the watch triggers.
2016-12-09 23:25:29 -08:00
Soam Vasani
fa093829bc
Kubernetes events watcher
...
Kubewatcher watches the Kubernetes API for Watches that have been
configured on the fission controller. It then posts that event to the
function configured in the watch.
2016-12-09 23:22:18 -08:00
Soam Vasani and GitHub
88f33b9382
Merge pull request #48 from platform9/python-setup-logger
...
Setup app.logger for python environment
Fixes #47
2016-12-08 14:22:00 -08:00
Soam Vasani
4a6a088eca
Modify example a bit
2016-12-08 14:13:01 -08:00
Soam Vasani
5f02f6c8ca
Setup app logger in python environment
...
The user's functions can now use `current_app.logger`, and use
`kubectl logs` to see the logs that the function outputs.
2016-12-08 14:03:27 -08:00
Soam Vasani
ab96ed2917
Add a python example showing how to get at request data
2016-12-08 11:59:59 -08:00
Soam Vasani and GitHub
e8a84dcaa3
Merge pull request #46 from platform9/add-build-badge
...
Add build badge
2016-12-05 09:57:56 -08:00
Soam Vasani
e627a55988
move status badge
2016-12-05 09:31:42 -08:00
Soam Vasani
ed426db4a4
Add travis build status badge back to README
2016-12-04 20:12:05 -08:00
Soam Vasani and GitHub
5e56d99415
Merge pull request #45 from platform9/run-etcd-in-travis
...
Install and run etcd on travis
2016-12-04 18:44:48 -08:00
Soam Vasani
cd5325090b
Background etcd in travis run script
2016-12-04 18:33:50 -08:00
Soam Vasani
4c14f34969
Install and run etcd on travis
2016-12-04 18:19:03 -08:00
Soam Vasani and GitHub
f3aeb28add
Merge pull request #44 from platform9/poolmgr-test
...
Bugfix in functionServiceCache test
2016-12-04 15:31:58 -08:00
Soam Vasani
571fa6b0e7
function service cache test bugfix
2016-12-04 15:23:55 -08:00
Soam Vasani and GitHub
ea03e0abc2
Merge pull request #42 from platform9/travis-test
...
#25 Continuous Testing
2016-12-04 14:58:16 -08:00
J. Gavin Ray
e92521deab
#25 - Addressing suggestions
2016-12-04 14:44:22 -08:00
Soam Vasani and GitHub
dd08d07d59
Merge pull request #43 from platform9/fix-cache-test
...
Fix cache test
2016-12-04 14:15:22 -08:00
Soam Vasani
675cc4f360
Fix cache test
...
cache.Set() returns existing value; update the test accordingly.
2016-12-04 14:10:02 -08:00
J. Gavin Ray
f4be8a73b3
added build status to README
2016-12-04 12:49:31 -08:00
J. Gavin Ray
69cd025a66
added Go versions to test against
2016-12-04 12:04:17 -08:00
Soam Vasani and GitHub
c8c0afc68f
Merge pull request #41 from carmark/travis
...
Add travis integration test and fix the tag for client-go in glide.yaml.
2016-12-03 23:10:41 -08:00
Lei Xue
e9c29a8ec8
add travis test
2016-12-04 14:28:20 +08:00
Lei Xue
3478d0643b
update glide.yaml with k8s client tag v1.5.0
2016-12-04 14:28:09 +08:00
Lei Xue
c4b7043e70
format poolmgr/gp.go
2016-12-04 14:27:51 +08:00
Soam Vasani and GitHub
5a007184d4
Merge pull request #39 from pirogoeth/patch-1
...
Fix `environment` command typo.
2016-11-30 20:01:18 -08:00
Sean Johnson and GitHub
08da045f43
Fix environment command type.
2016-11-30 18:51:44 -06:00
Soam Vasani and GitHub
3672abbe82
Merge pull request #38 from platform9/edit-readme
...
Streamline the README's setup instructions a bit. Add links to Mac & Linux CLI binaries.
2016-11-30 16:12:12 -08:00
Soam Vasani
36e056c1f4
make cli download into 1 copy-pasteable command
2016-11-30 16:00:41 -08:00
Soam Vasani
87e2daf455
minor readme edits
2016-11-30 15:47:17 -08:00