Commit Graph

387 Commits

Author SHA1 Message Date
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
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