Commit Graph

72 Commits

Author SHA1 Message Date
buildmaster
612d37616d Update SNAPSHOT to 2.0.0.RELEASE 2019-01-08 10:44:55 +00:00
buildmaster
43a886b7b7 Going back to snapshots 2018-12-20 19:14:43 +00:00
buildmaster
291aafd94a Update SNAPSHOT to 2.0.0.RC3 2018-12-20 19:10:34 +00:00
buildmaster
f0f957b96a Going back to snapshots 2018-11-19 11:23:25 +00:00
buildmaster
241652d9b8 Update SNAPSHOT to 2.0.0.RC2 2018-11-19 11:19:40 +00:00
buildmaster
9cf723949b Going back to snapshots 2018-10-29 08:19:29 +00:00
buildmaster
e2f4d0a9e5 Update SNAPSHOT to 2.0.0.RC1 2018-10-29 08:15:29 +00:00
buildmaster
435e4d0438 Going back to snapshots 2018-10-23 13:35:10 +00:00
buildmaster
0c5ad6acbd Update SNAPSHOT to 2.0.0.M4 2018-10-23 13:31:46 +00:00
Dave Syer
ba34d4b81b Add @FunctionalSpringBootTest and mini web server
User can run a minimal HTTP app using an app that is a Function
or an ApplicationContextInitializer. Can also test using
@FunctionalSpringBootTest in place of @SpringBootTest.

Add some tests and documentation for functional beans

Make server.address configurable
2018-10-22 14:26:17 +02:00
Dave Syer
4315cb1d61 SpringApplication->FunctionalSpringApplication (less confusing) 2018-10-18 09:38:27 +01:00
Dave Syer
666bc100e8 Extract functional bean definition concerns into a common class
SpringApplication looks like the class with the same name in Spring
Boot (and is a subclass of it), but it checks to see if the user
is asking for functional bean registrations and only used those if
it can.
2018-10-12 18:00:41 +01:00
Dave Syer
083d5e3bf3 Harmonize AWS and azure adapters 2018-10-12 17:10:13 +01:00
Dave Syer
022f9213d8 Revert to snapshots 2018-09-22 16:14:54 +01:00
Dave Syer
de6331054e Update to 2.0.0.M3 2018-09-22 12:04:16 +01:00
buildmaster
8f9882a419 Going back to snapshots 2018-09-19 13:20:41 +00:00
buildmaster
43d70a4c0c Update SNAPSHOT to 2.0.0.M2 2018-09-19 13:17:51 +00:00
Oleg Zhurakousky
e1c2610105 GH-206 Ensured consistency in header names
added Copyright/aithor tags

Resolves #206
2018-09-12 22:10:10 +02:00
Marcin Grzejszczak
b28e22d255 Going back to snapshots 2018-08-22 18:03:37 +02:00
Marcin Grzejszczak
aca771fb8b Update SNAPSHOT to 2.0.0.M1 2018-08-22 17:54:29 +02:00
Oleg Zhurakousky
8001c49312 Final prep for 2.0.0.M1 release
Ignored few tests that are failing due to boot 2.1 no-override policy
2018-08-22 17:18:00 +02:00
Marcin Grzejszczak
44739b4a25 Preparing for 2.0.0.M1 release 2018-08-22 14:55:36 +02:00
Oleg Zhurakousky
20f02c94c2 GH-188 Ensured default ObjectMapper is created (AWS)
Ensured that the default instance of ObjectMapper is created in the event ObjectMapper configuration is missing (i.e., JacksonAutoConfiguration) in AWS adapter
Resolves #188
2018-07-11 15:44:51 +02:00
Dave Syer
4c9627aee3 Fix Build and upgrade fully to Boot 2.0
Some tests still ignored.

Also adds draft functional bean registration support. The AWS sample
is using that now (it starts up 4x faster in AWS). To activate the
functional beans user has to supply a main class of type
ApplicationContextInitializer.
2018-06-21 17:57:50 +01:00
Dave Syer
00e2b749d2 First step in 2.0.0. Remove Stream dependencies 2018-06-21 06:35:41 +01:00
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