Commit Graph

47 Commits

Author SHA1 Message Date
Dave Syer
068b9ef7e9 Revert to snapshots 2018-06-18 11:49:02 +01:00
Dave Syer
ac3ea7db36 Update to 1.0.0 2018-06-15 12:27:30 +01:00
Dave Syer
fee3a0bec3 Fix docs build 2018-06-04 13:32:44 +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
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
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
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
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
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
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
Dave Syer
5aeba1ea96 Convert Consumer<Foo> to Function<Flux<Foo>,Mono<Void>>
This results in a better experience for users because the consumer
that they write is only applied to a Flux that is subscribed to
by the framework once. It gives better control over the flow of
foos, e.g. if some component wants to subscribe on a thread.
2018-03-26 10:06:13 +01:00
Dave Syer
efc99d2af0 Revert to snaphots 2018-03-16 11:40:12 -04:00
Dave Syer
feb8f51c41 Update to 1.0.0.M5 2018-03-16 11:28:53 -04:00
Dave Syer
33b33adb4b Change FunctionCatalog to key off Class<?>
Makes it possible to support other "function" types in the future.
The user is always taking a risk with the lookup that the object
returned has the generic type desired (but that hasn't changed
with this commit). FunctionCatalog is a lot simpler as a result
and also a lot more flexible.
2018-02-28 14:18:09 +00:00
Dave Syer
616e2825c6 Move FunctionCatalog into context module 2018-02-27 09:05:28 +00:00
Dave Syer
a2a2932715 Revert to snapshots 2018-02-21 07:24:21 +00:00
Dave Syer
72efd58675 Update to 1.0.0.M4 2018-02-20 19:25:11 +00:00
Dave Syer
7604de3ca7 Attempt to write JSON by hand 2018-01-24 14:54:41 +00:00
Dave Syer
73098244e3 Revert to snapshots 2018-01-20 11:57:49 +00:00
Dave Syer
77e0a5c514 Update to 1.0.0.M3 2018-01-19 13:55:34 +00:00
Dave Syer
afd68680b3 Polish 2018-01-19 09:30:23 +00:00
Dimitry Declercq
8c963bf456 Example implementation for Aws API Gateway
User can extend SpringBootApiGatewayRequestHandler instead of the
generic SpringBootRequestHandler. It ties the code to AWS and the
API Gateway, but at least it supports the incoming data fully.

Fixes gh-111, closes gh-136
2018-01-18 13:01:10 +00:00
Dave Syer
939f5a8b1a Reflection hack to provide Spring Boot 2.0 compatibility 2018-01-09 13:01:24 +00:00
Dave Syer
8a65cabb90 Remove unnecessary dependencies 2018-01-05 16:18:27 +00:00
Dave Syer
1af0d451cf Migrate to servlet binder for web features 2018-01-03 15:06:33 +00:00
Dave Syer
5314466655 Add notes on Start-Class and MAIN_CLASS
Fixes gh-128
2017-12-04 09:40:50 +00:00
Dave Syer
47fd4c3ed2 Going back to snapshots 2017-12-01 10:31:18 +00:00
Dave Syer
b6310e1811 Update SNAPSHOT to 1.0.0.M2 2017-11-28 13:40:35 +00:00
Dave Syer
8d5f09efa1 Add sample test data to README 2017-11-10 13:02:22 +00:00
Dave Syer
af8b6e253e Revert to snapshots 2017-09-15 17:49:31 +01:00
Dave Syer
858b7404c6 Update to 1.0.0.M1 2017-09-15 17:48:51 +01:00
Dave Syer
3ccb925733 Merge core packages into one 2017-09-15 17:10:00 +01:00
Dave Syer
986e76610c Clarify some things in the AWS adapter 2017-09-15 14:04:45 +01:00
Dave Syer
61a902ce9a Add spring-cloud-function-dependencies and use it throughout 2017-09-15 09:34:44 +01:00
Russ
b55417f772 Fix README typos 2017-07-13 13:39:21 +01:00
Dave Syer
c8646d64d8 Strangle old inspector methods
Fixes gh-81
2017-07-13 13:37:45 +01:00
markfisher
797936fd0c add README for AWS adapter 2017-06-07 19:05:36 -04:00
Dave Syer
41b1a6584e Add logging config for AWS sample 2017-05-24 14:31:41 +01:00
Dave Syer
87f077954e Try to detect single-valued returns in AWS
Lambdas generally only deal with single values anyway, but for
consistency we should return similar results from a Lambda handler
as from an MVC handler in s-c-f-web.
2017-05-24 13:27:10 +01:00
markfisher
719237e9c7 add adapters as child module 2017-05-23 16:30:18 -04:00