Dave Syer
6e1f0b9a6e
Add FunctionInspector to deployer so types can be inspected
...
ALso added a bunch of DEBUG logging because it's hard to debug the
deployer app.
Fixed gh-53
2017-05-22 10:57:47 +02:00
Dave Syer
3606e51d78
Fix deployer app
...
Run it, then
$ curl localhost:8080/admin
{"sample":{"name":"sample","id":"81c568e36c7909ec1dd841aa7ee6d3e3","path":"..."}}
undeploy:
$ curl localhost:8080/admin/sample -X DELETE
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}
redeploy
$ curl localhost:8080/admin/sample -d path=maven://com.example:function-sample-pojo:1.0.0.BUILD-SNAPSHOT
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}
(Takes about 500ms)
2017-05-19 11:29:03 +02:00
Dave Syer
e2c257b3e7
Fix sample so the thin.profile=stream works
2017-04-27 12:33:08 +01:00
Dave Syer
fa86e5fb1f
Update reactor versions
2017-02-24 10:07:01 +00:00
markfisher
cfd416590d
removing FileSystemFunctionRegistry
2017-01-11 20:59:18 -05:00
Dave Syer
9321dc7311
Remove function composition from the catalog interface
...
Should be easy enoug hto add back later, but it was causing issues
with type conversion where we are npot yet sophisticated enough
to chain functions together and keep track of the types being
passed between them.
2017-01-10 12:37:29 -05:00
Dave Syer
4ad01be090
Add support for server-side events and tests
...
User can POST to web endpoint in SSE style, i.e:
HTTP/1.1
Content-Type: text/event-stream
data:foo
data:bar
Will be converted to a Flux with values foo and bar
2017-01-06 12:43:38 +00:00
Dave Syer
78d71651da
Move slim properties into classpath
2017-01-05 17:55:16 +00:00
Dave Syer
9e7885c76a
Add (ignored) test suite for probing ordering issues
2017-01-05 16:43:24 +00:00
Dave Syer
91717ec9a6
Convert functions etc. after context starts
...
The app deployer now has to reach into the function contexts and
extract a catalog and call its methods reflectively.
2017-01-04 17:48:13 +00:00
Dave Syer
f8a5f02be3
Add POJO sample and switch to using that for testing
2017-01-03 17:48:57 +00:00
Dave Syer
5be3a3b08a
Use Spring Boot Web Reactive instead of raw netty
2017-01-03 15:16:13 +00:00
Dave Syer
c6736f959b
Add a sample app with just beans that are Functions
...
Make it deployable via its maven coordinates in
spring-cloud-function-deployer (it is deployed by default on start
up right now, but that's just a demo)
2017-01-03 15:16:13 +00:00