Commit Graph

30 Commits

Author SHA1 Message Date
markfisher
f6355df58d added rabbit binder dependency to sample 2017-05-05 09:20:03 -04:00
Dave Syer
69c22482d1 Add more subtle content negotiation in web layer
So that single Strings can be POSTed without JSON conversion.
There's still some work to do to support single POJOs in JSON, and
to reach parity with the WebFlux reactive type handlers, but it's
now closer to what we had before we moved the String conversion
out of the function layer.
2017-05-05 09:22:23 +01:00
Dave Syer
e2c257b3e7 Fix sample so the thin.profile=stream works 2017-04-27 12:33:08 +01:00
Dave Syer
39ca7952b9 Fix some tests
There is one behaviour change (you have to POST an array to a function
endpoint if you are sending a body), and also a message converter that
needed to be removed so that arrays are not toStringed in the response
body.
2017-04-25 08:51:31 +01:00
Dave Syer
b80ce1fb3e Update to latest reactor 2017-04-19 10:23:24 +01:00
Dave Syer
36c6b2dba7 Update versions of boot things 2017-04-12 17:57:28 +01:00
Oleg Zhurakousky
2a0653b0e7 Removed redundant entries from POM files
Polished POM files to remove redundant entries that were causing warnings in the IDE. Some notable changes are:
- Removed spring-boot.version from sample project as they inherit it from the parent
- Removed versioning for maven-jar-plugin (was 3.0) from multiple project so it relies on the managed version
- Removed java.version from all spring-cloud-function-* modules as they inherit the one from parent.

Addressed PR comments
- removed references to maven-jar-plugin
2017-03-11 18:31:32 -05:00
markfisher
6044b053ae renamed property keys 2017-03-03 16:35:30 -05:00
markfisher
19fd056a5e add support for simple (non-Flux) types
add objectToStringHttpMessageConverter

CompilerController accepts parameterized types
2017-02-24 12:14:57 -05:00
Dave Syer
22cab6a3f1 Upgrade to stable thin launcher 1.0.0.M2 2017-02-24 17:01:32 +00:00
Dave Syer
fa86e5fb1f Update reactor versions 2017-02-24 10:07:01 +00:00
Dave Syer
d6a4ccf001 Update thin launcher to snapshot for fixes 2017-02-23 14:50:48 +00:00
markfisher
e65641dbb8 removed bytecode loading sample 2017-02-07 14:20:55 -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
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
Dave Syer
bc90b9affb Add stream sample to POJO app 2017-01-20 13:12:41 +00:00
markfisher
94a78bdc7f add Function compiling webapp and update scripts 2017-01-19 15:55:49 -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
69fc017565 added LambdaCompilingFunction 2017-01-11 20:30:25 -05:00
Dave Syer
55ab25b348 Fix dependency management in stream jar 2017-01-11 08:28:49 -05:00
Dave Syer
d669a544b9 Add integration tests to the pojo sample 2017-01-10 05:58:39 -05:00
Dave Syer
0715d29efa Add repo declarations to samples 2017-01-05 13:46:59 +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
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