Commit Graph

31 Commits

Author SHA1 Message Date
Dave Syer
138e1cf3c2 Deeper support for custom AWS Lambda runtime
Adds an EnvironmentPostProcessor so the user ony has to set one
property (spring.cloud.function.web.export.enabled=true).
2019-02-28 10:05:13 -05:00
Dave Syer
428243ce48 Add new feature to initialize a Supplier from a remote HTTP endpoint
Kind of like the SupplierExporter but to create the Supplier itself.
With this in place you can define the templateUrl (destination) and
the originaUrl (source) and use the app as a pipeline for events
from/to HTTP.

Provide functional bean support for HTTP export

Add autoconfig to AWS adapter for custom runtime

Fix HttpSupplier to always supply Message if headers are included

Fix registration of origin supplier in functional beans

Add docs on new AWS features

Add custom runtime sample
2019-02-28 09:55:51 +01:00
Oleg Zhurakousky
589e451d14 GH-247 Added spring.cloud.function.definition property
Added spring.cloud.function.definition property which is used by FunctionRegistry as a supplement instruction to resolve nameless lookups.
It is used by web module to map single or multiple (composed) functions to the root path (/)

Resolves #247
2019-01-28 18:47:18 +01:00
Oleg Zhurakousky
fd2d59c334 Updated Kotlin docs 2018-12-03 14:01:29 +01:00
Oleg Zhurakousky
242feecd4e Removed reference to the spring-cloud-stream from the doc 2018-10-29 14:53:32 +01:00
Rashidi Zin
649011a1fd Fix typo
Fix misspelled of "dependencies"
2018-10-29 09:26:18 +00:00
Dave Syer
a03e34b6ee Tidy up TBD in docs 2018-10-29 09:01:34 +00: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
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
Oleg Zhurakousky
ca47076083 GH-205 Added initial Kotlin support documentation
polished tests and test configuration

Resolves #205
2018-09-11 11:39:24 +02:00
Oleg Zhurakousky
697f668686 GH-194 Fixed Streaming section of the reference manual
Given that SCF is now a dependency of SCSt and the spring-cloud-function-stream module has been removed, this fix simply adds a link to a function section of the Spring Cloud Stream reference manual

Resolves #194
2018-08-22 17:05:46 +02: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
Bruno Borges
37d0d9500d Upgrade azure artifacts and update docs 2018-06-06 12:10:49 +01:00
Dave Syer
1fd83527a7 Add notes on AWS platform-specific features 2018-06-04 14:00:26 +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
53cb2e3df4 Add some notes on the deployer 2018-05-21 09:38:59 +01: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
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
0bd71e61e0 Extract common logic in invokers into base class 2018-03-20 17:40:06 +00:00
Dave Syer
0be5f14766 Provide new config options for streams enabling composition
User can switch off source or sink behaviour (the default is to bind
to input and output streams), and then configure the name of a
supplier (for a source) or consumer (for a sink).
2018-03-18 14:19:51 +00:00
Dave Syer
dd7e529565 Update README adding Azure adapter 2018-02-23 13:20:58 +00:00
Dave Syer
1af0d451cf Migrate to servlet binder for web features 2018-01-03 15:06:33 +00:00
Dave Syer
976854929e Update to new docs standards 2017-09-15 11:44:25 +01:00
Oleg Zhurakousky
aa87764580 Added initial docs module
Merged gh-89
2017-07-17 14:08:35 +01:00