Dave Syer
9b9df1e7dc
Polish
2018-10-25 15:02:35 +01:00
Dave Syer
2691b20a4b
Tighten up multi-valued inputs to "lite" HTTP endpoint
...
If the user function is single valued but the input is an array,
we should output an array (just like the full webflux version).
2018-10-25 14:06:34 +01:00
Oleg Zhurakousky
2e5c6d22b5
Added support for input Collection param
...
Added support for function parameter type Collection
Updated both Jackson and Gson mappers
Defined a new toObject() operation on JsonMapper and deprecated the old
Resolves #210
2018-10-25 12:47:41 +01: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
54deae5dba
Ensure FunctionalSpringApplication works with String sources
2018-10-23 14:03:43 +01:00
Dave Syer
c3b03a1b11
Use web-application-type=reactive by default if webflux present
...
We want the default application type to be REACTIVE if webflux is
present (formerly it was NONE). In AWS and Azure we also want
the webflux beans to be switched off in a "lite" application
context (formerly they were unconditional).
2018-10-23 14:03:43 +01:00
Oleg Zhurakousky
9e2cbf49dd
Added POJO test for 'lite' server scenario
...
polishing
2018-10-22 20:23:29 +02:00
Dave Syer
263fe1c632
Add support for Function<Message,Message> in lite server
...
Fixes gh-221
2018-10-22 16:35:52 +01:00
Dave Syer
592889c0fb
Pull BasicStringConverter out into top level class
2018-10-22 14:06:30 +01:00
Dave Syer
32a56cfd45
Add note about limitation in Function signature for 'lite' web server
2018-10-22 13:42:34 +01:00
Oleg Zhurakousky
af717e445d
Polishing
...
Resolves #219
2018-10-22 14:26:59 +02: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
c4ee7ab065
Add other annotation processors to functional context
2018-10-18 09:36:43 +01:00
Oleg Zhurakousky
ae07a13d03
GH-56 Added support for Function<Flux, Mono> and <Mono, Flux>
...
Resolves #56
Resolves #218
2018-10-17 21:14:27 -04:00
Dave Syer
baabff9a40
Prefer web application type NONE in functional app
2018-10-17 13:51:42 +01:00
Dave Syer
6c0e1bfc2f
Typo in javadoc
2018-10-16 16:39:29 +01:00
Oleg Zhurakousky
31e689b108
GH-208 polishing ec68f64 commit
...
Ensured that the composed Supplier is of type Mono<Void>
Fix tests
2018-10-14 20:29:13 -04:00
Oleg Zhurakousky
8c2fdfd193
GH-198 added multi-function validation test
...
Added test to validate that the behavior described in GH-198 is intentional and useful especially in light og GH-208
Resolves #198
2018-10-14 19:43:36 -04:00
Oleg Zhurakousky
ec68f6453c
GH-208 Added support for composing Supplier and Consumer
...
This essentially returns a terminal Supplier - Supplier<Flux<Void>> which can no longer be composed with anything else
Resolves #208
2018-10-14 19:29:23 -04: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
3966f378b7
Add support for application type Function in Azure
...
See #215
2018-10-12 16:53:42 +01:00
Dave Syer
14af9647b3
Fix test that wasn't supposed to be ignored
2018-10-11 15:08:19 +01:00
Oleg Zhurakousky
9080f0d03b
Fixed broken test
2018-10-10 14:39:55 -07:00
Dave Syer
3a168a8ef4
Ignore some tests in JDK11
2018-10-10 17:00:01 +01:00
Dave Syer
ac23556277
Fix a few failing tests in JDK11
2018-10-10 12:07:51 +01:00
Dave Syer
9456a88780
Add extra dependency for Java 11 builds
2018-10-10 11:47:22 +01:00
Dave Syer
bb2e488105
Add flux sample for tests
2018-10-10 11:04:19 +01:00
Andy Clement
2f9e4bb015
Adjust how classpath computed in test, for compatibility with Java 9+
2018-10-09 17:11:26 -07:00
Andy Clement
020bd7ea02
Enable compiler to cope with Java 9 and later runtime packaging
2018-10-09 13:24:51 -07:00
Dave Syer
ca0cc7da49
Remove workaround for SPR issue (there are other ways)
2018-10-09 17:10:10 +01:00
Dave Syer
ea38827739
Alternative strategy for functional registrations
...
The problem with a BPP that processes FunctionRegistration is that
they might not be instantiated before the FunctionRegistry. It is
better to enforce the dependency order we need by injecting the
registrations explicitly but lazily into the registry.
2018-10-09 09:48:30 +01:00
Marcin Grzejszczak
4d853d072b
Added missing dep for jdk11
2018-10-08 12:00:03 +02:00
Dave Syer
c20433e05f
Fix logic error detecting gson preferences
2018-10-04 09:55:15 +01:00
Dave Syer
37729e4583
Add support for ApplicationContextInitializer in azure adapter
2018-10-03 09:01:54 +01:00
Dave Syer
bb1c97251f
Use ApplicationContextInitializer if provided
...
An Initializer is more efficient than using @Configuration.
2018-10-02 12:07:51 +01:00
Marcin Grzejszczak
c70f03b4a4
Bumped function to Greenwich
2018-10-02 11:56:59 +02:00
Dave Syer
debc9f8b30
Update user guide azure content
2018-09-23 08:47:58 +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
Dave Syer
63edc029bb
Prepare for 2.0.0.M3
2018-09-22 12:03:58 +01:00
Dave Syer
7eb9d9f500
Add support for exploded Boot archive in deployer
2018-09-22 11:17:14 +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
Marcin Grzejszczak
32db16cec5
Bumping reactor before release of 2.0.0.M2
2018-09-19 15:10:26 +02:00
Oleg Zhurakousky
c43f081ef1
Cleanup and added more tests
2018-09-19 14:33:01 +02:00
Oleg Zhurakousky
6e9f5b86fe
more yellow markar polishing
2018-09-19 13:22:26 +02:00
Oleg Zhurakousky
48b2a87f14
Updated reactor-bom.version to Californium-BUILD-SNAPSHOT to fix the broken builds
2018-09-19 13:14:15 +02:00