Commit Graph

404 Commits

Author SHA1 Message Date
Oleg Zhurakousky
40b542edfe GH-202 Added size() to FunctionCatalog
Resolves #202
2018-09-12 20:17:19 +02:00
Dave Syer
d1c423e161 Add HTTP headers to outgoing messages by default
Some care is required to prevent request-specific headers being
reflected and interfering with content negotiation.

Fixes gh-207
2018-09-12 15:41:34 +01:00
Oleg Zhurakousky
ed3a532f96 Added Kotlin/Eclipse integration notes to README 2018-09-12 15:43:23 +02:00
Dave Syer
c52b0b2cb9 Add webflux starter to BOM 2018-09-12 09:35:44 +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
87c67427df GH-77 added initial Kotlin support
Added mixed java/kotlin POM configuration

added tests, javadocs

Resolves #77
Resolves #204
2018-09-11 11:37:13 +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
Marcin Grzejszczak
2694b73dfa Ignoring a sample test 2018-08-22 17:44:03 +02:00
Marcin Grzejszczak
48da16ff51 Removed snapshot of stream and wrong test dependency 2018-08-22 17:36:02 +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
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
Oleg Zhurakousky
970d883eb1 Added repositories section to dependencies POM 2018-08-22 16:53:52 +02:00
Marcin Grzejszczak
44739b4a25 Preparing for 2.0.0.M1 release 2018-08-22 14:55:36 +02:00
Dave Syer
8f41e33c11 Merge branch '1.x' 2018-08-21 17:44:28 +01:00
Dave Syer
60ab4e4df4 Revert to snapshots 2018-08-21 17:42:35 +01:00
Dave Syer
825d52feb7 Update for 1.0.1 2018-08-21 17:17:07 +01:00
Yanming Zhou
81237a484d Fix test failed with non english locale 2018-08-21 16:00:07 +02:00
Dave Syer
9803f4c61e Merge branch '1.x' 2018-08-21 13:44:03 +01:00
Dave Syer
4a6227a777 Extract parent creation logic into a method
Fixes #201
2018-08-21 13:42:31 +01:00
Oleg Zhurakousky
30187b583b GH-199 Added support for typeless lookup in FunctionCatalog
Updated both the interface as well as InMemoryFunctionCatalog BeanFactoryFunctionCatalog and SingleEntryFunctionRegistry implementations
Added tests

Resolves #199
2018-08-15 17:56:29 +02:00
Oleg Zhurakousky
fffe67cdcf Reduced visibility of new classes(for now)
minor polishing
2018-08-14 12:58:00 +02:00
Dave Syer
9d1818839e Add SupplierExporter (HTTP POST of Suppliers on startup)
Add throwable handling to azure base class
2018-08-14 12:57:12 +02:00
Dave Syer
fa116523de Bump Boot in main sample 2018-08-07 15:17:28 +01:00
Dave Syer
d0eb012371 Make Azure function initializer a bit more flexible 2018-08-07 14:58:34 +01:00
Dave Syer
2c7144bc49 Update Azure dependencies 2018-08-07 10:06:14 +01:00
Dave Syer
297c0471b1 Fix AWS sample to build better with Gradle 2018-08-07 09:59:08 +01:00
Oleg Zhurakousky
947f4f6b71 Cleaned up RequestProcessor and fixed few tests
Resolves #193
2018-08-01 15:36:52 +02:00
Dave Syer
7dd38edf84 Add support for webflux
MVC and Webflux share some common business logic
so it makes sense to put them in the same module.
Also simplifies the MVC code, removing the custom argument
and return value handlers.

Weed out unecessary method param

Unignore some tests
2018-08-01 15:34:59 +02:00
Oleg Zhurakousky
ed14474b9f GH-191 Made 'name' required in FunctionRegistration 2018-07-30 13:48:48 +02:00
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