Commit Graph

359 Commits

Author SHA1 Message Date
Dave Syer
ac3ea7db36 Update to 1.0.0 2018-06-15 12:27:30 +01:00
Dave Syer
db2c17289f Update Boot versions in POJO sample 2018-06-15 12:06:54 +01:00
Oleg Zhurakousky
8c7c8f9a1c GH-180 added null assertion to FunctionRegistration
Resolves #180
2018-06-12 15:32:22 -04:00
Bruno Borges
37d0d9500d Upgrade azure artifacts and update docs 2018-06-06 12:10:49 +01:00
Dave Syer
d322643433 Add another hack for Spring Boot 2.0
This can be reverted in 1.1. The compiler relies on being able to
bind itself to @ConfigurationProperties and the APIs changed for that
in Spring Boot 2.0.

Fixes gh-177
2018-06-04 14:50:27 +01:00
Dave Syer
1fd83527a7 Add notes on AWS platform-specific features 2018-06-04 14:00:26 +01:00
Dave Syer
fee3a0bec3 Fix docs build 2018-06-04 13:32:44 +01:00
Dave Syer
f1e331bf98 Organize main ref guide to contain adapter content 2018-06-04 10:29:38 +01:00
Dave Syer
047aabcbdd Extract adpater READMEs into docs subdir 2018-06-04 09:22:50 +01:00
Dave Syer
9dc569837a Revert to snapshots 2018-05-26 09:42:34 +01:00
Dave Syer
b20cb700ea Update to RC2 2018-05-26 09:34:02 +01:00
Ryan Baxter
3cc416b10b Removed unused property from POM 2018-05-25 13:36:05 -04:00
Dave Syer
f9aa461c18 Remove JSON dependencies from web module
They were a remnant from teh time when the mapping implementations
lived in the web module.

Fixes gh-176
2018-05-22 15:35:18 +01:00
Dave Syer
dc179c0dd7 Move reactor dependency management to parent pom
Otherwise webflux apps break when they include our BOM, even if they
don't even use spring-cloud-function.
2018-05-22 14:17:27 +01:00
Dave Syer
6b74fc13c2 Add comment to odd looking dependency 2018-05-22 09:21:22 +01:00
Dave Syer
8e9a5504cb Revert to snapshots 2018-05-21 10:05:42 +01:00
Dave Syer
c29f800380 Update to 1.0.0.RC1 2018-05-21 10:04:54 +01:00
Dave Syer
53cb2e3df4 Add some notes on the deployer 2018-05-21 09:38:59 +01:00
Dave Syer
18b9e8a431 Too fast with the optional jackson 2018-05-21 09:17:12 +01:00
Dave Syer
8599be2255 Make Jackson and Gson beans conditional 2018-05-21 09:05:08 +01:00
Dave Syer
66476559ed Move JsonMapper to spring-cloud-function-context
...in case it is needed elsewhere (see gh-151)
2018-05-21 08:50:35 +01:00
Dave Syer
a64579dbdb More tests for auto detect of start class 2018-05-18 12:48:36 +01:00
Dave Syer
e1bb5259a9 Support for Start-Class as main 2018-05-18 11:45:41 +01:00
Dave Syer
e34324b5b4 Double check that a Function can return a Mono 2018-05-15 08:43:58 +01:00
Dave Syer
af5f5b78de Tweak support for single valued text HTTP exchange 2018-05-02 13:00:22 -04:00
Dave Syer
fa55ebab16 Compiler warnings 2018-05-02 10:55:24 -04:00
Oleh Dokuka
4b85e89992 Fix docs with regard to Flux.interval
Also provide ability to run with `Flux.interval(Duration)` in
compiled scripts

Fixes gh-174
2018-05-02 07:19:08 -04:00
Dave Syer
eaea89532c Add documentation for compiler configuration properties 2018-05-02 06:17:28 -04:00
Dave Syer
b59b43ddc5 Only expose Publisher via FunctionCatalog
Flux.from() is cheap and can be used to marshal the inputs everywhere
internally. With this change users ought to be able to register any
function of any Publisher type.
2018-05-01 12:06:34 -04:00
Dave Syer
fb04324ac9 Factor out a new strategy for wrapper type detection
Using this strategy libraries could be developed for supporting
Flux-like libraries (e.g. kstreams) that are not actually
reactive streams implementations.
2018-05-01 12:06:29 -04:00
Dave Syer
ebd1646308 Push deployer configuration out of autoconfig
It tends to pop back into function apps where it is not needed
otherwise. Users that want to use the library need to import
the FunctionConfiguration directly using the
@EnableFunctionDeployer convenience annotation..
2018-04-25 17:37:55 +01:00
Dave Syer
7fa0ed7b6b Replace deployer with a simpler library
Instead of an app, it is now a library with some utilities
(principally ApplicationBootstrap) for launching a Spring Boot
application, extracting a function, and registering it in the
FunctionRegistry.
2018-04-25 12:44:20 +01:00
Dave Syer
59f94c1533 Fix potential issue when Message is not available but not needed
If an isolated function doesn't have Message in its classpath, we
will never actually need to instantiate that class. This change
makes sure we check first.
2018-04-25 07:27:33 +01:00
Dave Syer
8cf3d7bc5a Add some WebMvcTest support
Fixes gh-156
2018-04-24 16:15:42 +01:00
Dave Syer
6c58fe0c4d Fix shadowJar configuration
See gh-170
2018-04-24 14:45:02 +01:00
Dave Syer
04f917c113 Make it explicit that stream does not depend on a web server 2018-04-24 14:18:45 +01:00
Dave Syer
0f8c1ce860 Make Jackson optional in web adapter
There is now a JsonMapper strategy with implementations and
autoconfiguration for Gson and Jackson. If Jackson is present
it is preferred (just like in Spring Boot).

Fixes gh-150
2018-04-24 11:57:47 +01:00
Dave Syer
73cf5d418a Update to Boot 1.5.12 2018-04-24 10:25:21 +01:00
Dave Syer
57c05970e5 Use concurrent hash map in function catalog 2018-04-24 10:23:22 +01:00
Dave Syer
2df5dcc992 Compiler warnings 2018-04-24 09:46:48 +01:00
Dave Syer
ea5811fbe2 Add repository declarations to azure sample
Fixes gh-148
2018-04-24 09:31:08 +01:00
Dave Syer
7df650fce0 Exclude older nastier version of AWS api jar
There is only one version of amazon-kinesis-deaggregator available
in Maven Central, which is unfortunate because it brings in an
older version of the AWS events API, which in turn has a very bad
version range specification, causing the whole AWS internet to
be downloaded for each build.

I also made the deaggregator optional, which will help. Users that
want to include it shoudl consider doing the same exlcusion.

Fixes gh-171
2018-04-24 09:22:48 +01:00
bishoy
0e41b8acc5 Support incoming application/x-www-form-urlencoded content
Fixes #129
2018-04-24 08:55:22 +01:00
Dave Syer
c2568ccabe Compiler warnings 2018-04-16 16:39:37 +01:00
Dave Syer
98cf4dc06e Revert to snapshots 2018-04-16 16:22:02 +01:00
Dave Syer
d1bcb7d142 Update to 1.0.0.M6 2018-04-16 16:04:31 +01:00
Dave Syer
74b80c069c Update to thin launcher 1.0.10 2018-04-16 15:51:41 +01:00
Dave Syer
f61c31512c Remove AWS BOM
We can revisit this later, but I don't like the way it works at the
moment (too many dependencies in there and we only use a handful).
2018-04-16 14:30:13 +01:00
Halvdan Hoem Grelland
2c6f71d275 Add support for aggregated Kinesis records in SpringBootKinesisEventHandler
The current implementation of SpringBootKinesisEventHandler only handles
non-aggregated events. Attempting to process aggregated events caused
ungraceful failure.
This commit fixes that by de-aggregating any events before performing
conversion. Non-aggregated events are still handled transparently.
In addition, detection of Message<T> input is performed, and
output messages are wrapped accordingly.
2018-04-16 11:40:36 +01:00
trisberg
344ee9a689 Upgrade boot versions
- 1.5.10 to 1.5.11

- 2.0.0 to 2.0.1
2018-04-06 21:07:21 +01:00