Oleg Zhurakousky
97ba22da76
Polishing cleanup and javadoc
2020-11-17 08:01:21 +01:00
Oleg Zhurakousky
8ea309c45b
Clean up and simplifications around CloudEvent processing
...
This commit effectively a merge of work with #607 and simplifies the following
- CloudEventAttributesProvider now provides CloudEventAttributes initialized with defaults to be set by the user
- In HTTP RequestProcessor the logic of sanitizing headers was improved to ensure that correct prefix is applied
Resolves #607
2020-11-16 13:40:53 +01:00
Oleg Zhurakousky
14b39c2077
Fix HTTP header propagation logic
...
Related to GH-422 and GH-606
2020-11-13 17:47:41 +01:00
Oleg Zhurakousky
632e73caf9
Fix CloudEvent prefix and fix the name of CloudEventAttributesProvider.java
2020-11-13 16:07:33 +01:00
Oleg Zhurakousky
249f3257c0
remove commented code
2020-11-09 19:34:14 +01:00
Oleg Zhurakousky
45520d3325
GH-597 Add support for handling MultipartFile(s)
...
This initial fix ensures that functions can process single MultipartFile as well as multiple.
Resolves #597
2020-11-09 19:27:01 +01:00
Oleg Zhurakousky
88766cf0ed
Simplify logic around getting item type of a function type
2020-11-04 11:29:01 +01:00
Oleg Zhurakousky
3f14e3779c
Disable 'sentencesAcceptSse' test as it started to fail due to some reactor changes
2020-11-03 14:03:39 +01:00
Oleg Zhurakousky
780cb05e79
Initial refactoring and simplificatioin of web module
2020-11-03 13:46:52 +01:00
Oleg Zhurakousky
63a1c3228d
Fix SmartCompositeMessageConverter to ensure it properly injects contentType
...
Initial refactoring web - test pass
2020-11-03 13:44:45 +01:00
Oleg Zhurakousky
818cda144c
Deprecate and remove all usages of FunctionInspector
2020-10-19 18:11:11 +02:00
Oleg Zhurakousky
3f1315c523
Consolidate isMessage() operation
2020-10-19 14:57:55 +02:00
Oleg Zhurakousky
e58643c032
Clean up FunctionTypeUtils
2020-10-19 14:44:37 +02:00
Oleg Zhurakousky
89466b5cdc
Refactor FunctionCatalog implementation
2020-10-16 17:59:06 +02:00
buildmaster
349f084bd0
Going back to snapshots
2020-10-02 09:22:55 +00:00
buildmaster
9a6a2abb3d
Update SNAPSHOT to 3.1.0-M4
2020-10-02 09:20:53 +00:00
buildmaster
d7a302133e
Going back to snapshots
2020-09-23 14:34:33 +00:00
buildmaster
80b62f5ebe
Update SNAPSHOT to 3.1.0-M3
2020-09-23 14:32:21 +00:00
Oleg Zhurakousky
9f700bf2f2
GH-578 Fix FunctionRegistration lookup
...
The root of the issue was in implementation of equals() and hashCode() of FunctionInvocationWrapper
Resolves #578
2020-09-21 15:22:21 +02:00
Oleg Zhurakousky
ddba54dee6
Various polishing to accomodate boot, reactor and other changes
2020-08-04 19:21:14 +02:00
buildmaster
4213d19180
Going back to snapshots
2020-07-20 14:25:39 +00:00
buildmaster
ae4efc2b9d
Update SNAPSHOT to 3.1.0-M2
2020-07-20 14:23:39 +00:00
Oleg Zhurakousky
c294816e7a
GH-500 Fix NPE in FunctionEndpointInitializer
...
This ensures that posting to the consumer does not result in NPE given that there is no body
Resolves #500
2020-06-10 19:44:27 +02:00
anshlykov
dfa02750c1
Migrate to JUnit 5
...
spring-cloud-function-context
spring-cloud-function-context: fix
spring-cloud-function-web
spring-cloud-function-adapters
spring-cloud-function-samples
spring-cloud-function-deployer; spring-cloud-function-kotlin
Resolves #535
2020-06-10 16:43:04 +02:00
Oleg Zhurakousky
c6dc8f9a72
Change from v.BUILD-SNAPSHOT to v-SNAPSHOT
2020-06-03 14:56:41 +02:00
Oleg Zhurakousky
8503c39104
Re-enable ignored tests
2020-05-04 21:09:41 +02:00
Oleg Zhurakousky
5f3f0cf965
Polishing
...
Fix code format
Resolves #489
2020-04-29 15:29:35 +02:00
谭繁华
719f3745f0
GH-489 the received data which Post Flux data to FunctionController is not same as the function apply
...
fix test case
2020-04-29 15:29:35 +02:00
Oleg Zhurakousky
b5592d8e7a
Enhance test to validate HTTP header propagation
2020-04-21 14:13:35 +02:00
Oleg Zhurakousky
27494567a0
Add propagation of HTTP headers
...
Polish function composition logic
2020-04-20 18:13:45 +02:00
Oleg Zhurakousky
5f37819eae
Remove attempt to convert incoming type to target type from Requestprocessor
...
This fix effectively forces all type conversion happen in function catalog
2020-04-20 09:14:57 +02:00
Oleg Zhurakousky
7bd84c79a2
GH-499,498 Add support for SupplierExporter to control output content-type
...
- Add 'contentType' property to ExporterProperties to assist SupplierExporter with delegating it to function catalog
- Add additional logging and testing
- Change JsonMapper to abstract class providing special handling of conversion of Json Sting to byte[]
2020-04-20 07:06:18 +02:00
Oleg Zhurakousky
8f7672399f
Extract common code from BeanFactoryAwareFunctionRegistry
...
. . . to ensure that we can have the version of FunctionRegistry that is not dependent on BeanFactory.
2020-04-16 13:42:17 +02:00
Oleg Zhurakousky
895ac30604
Revert "Bumping versions"
...
This reverts commit 9ad788aef7 .
2020-04-08 15:06:14 +02:00
buildmaster
9ad788aef7
Bumping versions
2020-04-06 18:55:27 +00:00
buildmaster
8a93ebcff9
Going back to snapshots
2020-04-06 18:23:35 +00:00
buildmaster
1e82013b31
Update SNAPSHOT to 3.1.0.M1
2020-04-06 18:21:21 +00:00
Marcin Grzejszczak
bfb7a804e4
Bumping to 2020-01 (aka Ilford)
2020-04-06 09:40:06 +02:00
Oleg Zhurakousky
949f5fb023
GH-466 Fix SupplierExporter to avoid starting if Supplier is not present
...
Added condition to the start method of the SupplierExporter to prevent it from starting for cases where there are no Suppliers in catalog
Resolves #466
2020-03-31 16:40:31 +02:00
Oleg Zhurakousky
21d68ff3c8
GH-475 Fix support for Flux<List> type conversion
...
At the moment support is rudimentary but given that BeanFactoryAwareFunctionRegistry provides all the necessary type conversion functionality the true fix should consider utilizing it.
Resolves #475
2020-03-31 14:46:37 +02:00
Oleg Zhurakousky
1d784c199d
GH-467 Added initial support for GET method to FunctionEndpointInitializer
...
At the moment support is rudimentary as it does not include any type conversion, but neither does POST so it is consistent.
Given that BeanFactoryAwareFunctionRegistry provides all that functionality already perhaps the proper fix with regard to converter would be to use it or part of it in place of InMemoryFunctionCatalog currently used.
Resolves #467
2020-03-31 14:14:33 +02:00
Oleg Zhurakousky
86d12f3a84
GH-473 Fix type discovery for generic parameters
...
Resolves #473
2020-03-30 10:56:00 +02:00
buildmaster
87dd0dd113
Bumping versions to 3.0.4.BUILD-SNAPSHOT after release
2020-03-03 15:23:14 +00:00
buildmaster
568fd9affd
Going back to snapshots
2020-03-03 15:23:14 +00:00
buildmaster
340a5cc3f3
Update SNAPSHOT to 3.0.3.RELEASE
2020-03-03 14:53:54 +00:00
buildmaster
9eb98bd545
Bumping versions to 3.0.3.BUILD-SNAPSHOT after release
2020-02-12 17:43:00 +00:00
buildmaster
28baf6fc04
Going back to snapshots
2020-02-12 17:42:59 +00:00
buildmaster
36a4e69a31
Update SNAPSHOT to 3.0.2.RELEASE
2020-02-12 17:31:16 +00:00
Oleg Zhurakousky
b71d012d02
Revert "Update SNAPSHOT to 3.0.2.RELEASE"
...
This reverts commit 669e8eaabe .
2020-02-12 18:22:55 +01:00
Oleg Zhurakousky
a899c8365e
Revert "Going back to snapshots"
...
This reverts commit d6affef18e .
2020-02-12 18:22:48 +01:00