markfisher
d8e51dbb6e
renamed bytecode resource property
2017-02-13 09:42:22 -05:00
markfisher
5939f96016
renaming stream function property
2017-02-13 09:23:41 -05:00
markfisher
e11bd261ab
add function chain support to stream.sh
2017-02-08 10:37:48 -05:00
markfisher
e65641dbb8
removed bytecode loading sample
2017-02-07 14:20:55 -05:00
markfisher
62aecb9c7b
update web.sh and README
2017-02-07 14:16:54 -05:00
markfisher
9eb3b033d3
update stream.sh script
2017-02-07 13:29:53 -05:00
markfisher
f20cff0fc8
added FunctionProxyApplicationListener
...
added support for lambda compiling Supplier and Consumer proxies
2017-02-06 15:56:51 -05:00
markfisher
0a6dce951b
add support for function composition
2017-02-06 15:55:53 -05:00
markfisher
2075c649a5
add null check in FunctionController
2017-02-06 15:41:19 -05:00
markfisher
9a5600f259
add support for compiling suppliers and consumers
2017-02-06 15:29:17 -05:00
markfisher
d7a33055d8
update stream version to Brooklyn SR2
2017-02-02 11:22:18 -05:00
Dave Syer
cab48a17f2
Update thin launcher to 1.0.0.M1
2017-01-31 15:35:03 +00:00
Dave Syer
68e83c4bba
Update poms to latest Boot and thin launcher
2017-01-31 14:22:31 +00:00
markfisher
76c6b7b5f4
excluding deployer module from build temporarily
2017-01-27 17:54:34 -05:00
markfisher
4dbad37334
explicit Reactor version for compiler app
2017-01-27 16:40:35 -05:00
markfisher
e389560967
make constructor arg MediaType property final
2017-01-23 08:44:58 -05:00
Dave Syer
425be34b98
Send content type to web response if available
2017-01-23 09:37:02 +00:00
markfisher
896139ba67
minor README updates
2017-01-20 15:07:22 -05:00
Dave Syer
946f4a3bf3
Fix HTTP responses that caller asked to be JSON
...
If caller says he accepts application/json we need to be sure that
we send an array. That wasn't quite working and hadn't been tested.
2017-01-20 13:54:23 -05:00
markfisher
8e3370b717
minor README edits
2017-01-20 13:51:00 -05:00
Dave Syer
ac5804ae34
Update README with details of @Beans etc.
2017-01-20 17:35:59 +00:00
Dave Syer
bc90b9affb
Add stream sample to POJO app
2017-01-20 13:12:41 +00:00
Dave Syer
452106f287
Fix some logic with media types
...
If user sends "Accept: */*" we don't want to default to sending
an SSE (for instance). So the logic for detecting those preferences
has to take MediaType.ALL into account as a special case.
2017-01-20 13:10:57 +00:00
markfisher
f709a4e08a
updated stream script for supplier and consumer
2017-01-19 17:17:01 -05:00
markfisher
94a78bdc7f
add Function compiling webapp and update scripts
2017-01-19 15:55:49 -05:00
markfisher
cc3bb8f645
renamed ApplicationContextFunctionCatalog
2017-01-13 10:45:07 -05:00
Dave Syer
5c79ff58a6
Workaround bug in thin launcher that brings in wrong reactor version
2017-01-12 21:27:38 -05:00
markfisher
071455b363
Add reactor version explicitly
2017-01-12 09:26:06 -05:00
Dave Syer
216e5c9207
Add MVC body processors to handle Flux
...
We don't need to cover all the possible uses of Flux (only
Flux<String> really), so this isn't comprehensive coverage of
all the features in Spring WebFlux, but it's good enough for
functions to run with Spring Boot 1.5.
2017-01-12 08:55:46 -05:00
markfisher
0fb31d6d2b
removed FunctionRegistry
2017-01-11 21:23:02 -05:00
markfisher
cfd416590d
removing FileSystemFunctionRegistry
2017-01-11 20:59:18 -05:00
markfisher
69fc017565
added LambdaCompilingFunction
2017-01-11 20:30:25 -05:00
markfisher
8205c579f2
added Supplier and Consumer support
2017-01-11 14:48:21 -05:00
markfisher
18fe932aa6
activate spring profile by default
2017-01-11 10:54:15 -05:00
Dave Syer
55ab25b348
Fix dependency management in stream jar
2017-01-11 08:28:49 -05:00
Dave Syer
b3750cdfa5
Check for simple String inputs and don't convert them
2017-01-10 15:27:42 -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
d669a544b9
Add integration tests to the pojo sample
2017-01-10 05:58:39 -05:00
Dave Syer
fc9d258564
Add custom JsonObjectDecoder to extract a Flux<String> from request
2017-01-06 15:21:56 +00:00
Dave Syer
3357a93cef
Add some tests for JSON mime types in rest endpoints
2017-01-06 14:11:48 +00: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
0715d29efa
Add repo declarations to samples
2017-01-05 13:46:59 +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
13774abe39
Remove unnecessary parameters
2017-01-04 09:34:09 +00:00
Dave Syer
80408d2f77
Add support for consumers and factor out base class
2017-01-04 09:30:23 +00:00
Dave Syer
f8a5f02be3
Add POJO sample and switch to using that for testing
2017-01-03 17:48:57 +00:00
markfisher
c62216ffba
add tests for sample app functions
2017-01-03 15:18:53 +00:00
Dave Syer
5be3a3b08a
Use Spring Boot Web Reactive instead of raw netty
2017-01-03 15:16:13 +00:00