Oleg Zhurakousky
32ee27165b
GH-190 Added null check for publisher
...
Resolves #190
2018-07-27 16:07:57 +02:00
Dave Syer
a840689c95
Remove extraneous if() clause
2018-07-23 14:17:20 +01:00
Dave Syer
41520c4ce4
Fix un-ignored test - content-length should not be propagated
2018-07-23 14:12:24 +01:00
Dave Syer
60edebedcd
Uncomment some ignored tests
2018-07-23 12:03:21 +01:00
Oleg Zhurakousky
e1a7e16c18
ContextFunctionCatalogAutoConfiguration improvements
...
Removed FunctionEntry as it was no longer referenced by anything
2018-07-12 16:29:47 +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
Oleg Zhurakousky
1839635267
Simplified HeaderUtils in scf-web module
2018-07-10 15:57:23 +02:00
Oleg Zhurakousky
1eb892f4b2
GH-186 ensured FluxReturnValueConfiguration is used
...
Ensured that regardless of the version of Spring and presense of webflux, the FluxReturnValueConfiguration is used
Resolves #186
2018-07-09 14:55:27 +02:00
Dave Syer
10b0413696
Omit optional generic information in tests
2018-07-05 14:02:25 +01:00
Oleg Zhurakousky
377c4d93f0
Code polishing and general cleanup
2018-06-27 08:43:28 -04:00
Oleg Zhurakousky
bb397c6a07
General polishing in InMemoryFunctionCatalog
2018-06-25 23:49:47 -04:00
Dave Syer
94b1e56d55
Allow user to provide own Gson or ObjectMapper
2018-06-22 16:06:39 +01: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
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