Commit Graph

912 Commits

Author SHA1 Message Date
buildmaster
e9282980f7 Update SNAPSHOT to 3.0.6.RELEASE 2020-04-22 14:22:27 +00:00
Oleg Zhurakousky
40c208c124 Fix condition for payload extraction before invocation
We need to only extract payload for cases where input is coming from SCF-Web
2020-04-22 13:56:32 +02:00
buildmaster
9ca0053cbb Bumping versions to 3.0.6.BUILD-SNAPSHOT after release 2020-04-21 16:58:09 +00:00
buildmaster
612b863417 Going back to snapshots 2020-04-21 16:58:09 +00:00
buildmaster
1d217827b5 Update SNAPSHOT to 3.0.5.RELEASE 2020-04-21 16:44:39 +00:00
Oleg Zhurakousky
cfe534660e Remove hard dependency on Gson from FCF adapter in favor of SCF proivided configurable JsonMapper 2020-04-21 15:15:59 +02:00
Mike Eltsufin
8da506d8fe Implement GCP Raw Background Function support
Add Pub/Sub payload vs. PubSumMessage support

Fixes: #491
Resolves #492
2020-04-21 15:15:52 +02:00
Ray Tsang
0e0a0201c5 Mention removing Spring Boot plugin
Resolves #488
2020-04-21 15:15:46 +02:00
Mike Eltsufin
270e1040b3 Change GCP sample deploy directory to target/deploy
Fixes: #486.
Resolves #487
2020-04-21 15:15:40 +02:00
Oleg Zhurakousky
4ffb25a3b5 Enhance test to validate HTTP header propagation 2020-04-21 14:14:21 +02:00
Oleg Zhurakousky
defd2b962a Add propagation of HTTP headers
Polish function composition logic
2020-04-20 18:18:02 +02:00
Oleg Zhurakousky
2ca5282019 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 18:17:54 +02:00
Oleg Zhurakousky
7d66672104 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 18:17:23 +02:00
Oleg Zhurakousky
2fa75594a3 Fix the implicit composition logic in BeanFactoryAwareFunctionRegistry 2020-04-20 18:17:13 +02:00
Oleg Zhurakousky
ab68cb58e9 Fix regression for implicit composition
Also, added message check in AWS destination resolver
2020-04-20 18:17:06 +02:00
Oleg Zhurakousky
f1c15bf950 Extract common code from BeanFactoryAwareFunctionRegistry
. . . to ensure that we can have the version of FunctionRegistry that is not dependent on BeanFactory.
2020-04-20 18:16:58 +02:00
Oleg Zhurakousky
adbbbac677 GH-480 Fix Azure docs
Resolves #480
2020-04-08 16:10:15 +02:00
Oleg Zhurakousky
4dfd208f8f GH-481 Remove obsolete doc artifacts
Removed the *-readme.adoc files are no longer used

Resolves #481
2020-04-08 16:05:35 +02:00
Oleg Zhurakousky
8d08212575 Polishing
Resolves #483
2020-04-08 15:20:30 +02:00
dzou
5d2e962ff7 Add GCF integration tests
Add Integration Tests for GcfSpringBootHttpRequestHandler2

fix up

fix build

cleanup after merge

Added process-based server integration test support

some more refactoring

remove unneeded maven deps

address Dmitry and Dans feedback
2020-04-08 15:20:22 +02:00
Mike Eltsufin
604cb20824 Fix GCP Sample link in refdoc
Resolves #482
2020-04-08 14:36:27 +02:00
Ray Tsang
6360d619a2 Add GCF to the intro list
Resolves #484
2020-04-08 14:31:22 +02:00
buildmaster
7e03ea0f50 Bumping versions to 3.0.5.BUILD-SNAPSHOT after release 2020-04-07 17:57:04 +00:00
buildmaster
4d56b8e65b Going back to snapshots 2020-04-07 17:57:04 +00:00
buildmaster
0b3fdf8dfc Update SNAPSHOT to 3.0.4.RELEASE 2020-04-07 17:39:09 +00:00
Oleg Zhurakousky
5e0fef8eee Merge pull request #479 from meltsufin/gcp-sample-doc
Adds Readme to GCP sample app
2020-04-06 09:20:21 +02:00
Mike Eltsufin
a52d386576 Add sample link to refdoc 2020-04-02 23:37:46 -04:00
Mike Eltsufin
3d70d0d3f4 Add GCP adapter refs to documentation 2020-04-02 23:15:19 -04:00
Mike Eltsufin
c251b6de46 The classloader trick won't be needed after
a3d23cc12d
2020-04-02 22:29:20 -04:00
Mike Eltsufin
ee8bbc3e82 Update invoker class name 2020-04-02 22:29:20 -04:00
Mike Eltsufin
24e5b13adc Adds Readme to GCP sample app
Also, fixing a bug in the default constructor of the invoker.

Fixes: #478.
2020-04-02 22:29:20 -04:00
Oleg Zhurakousky
aa721a7b43 GH-456 Fix Azure logging
Added static delegate context which holds target context and is also refreshed with new context on each request

Resolves #456
2020-04-02 16:36:54 +02:00
Oleg Zhurakousky
d3345576bd Minor cleanup and improvements in new GCF adapter
Resolves #468
2020-04-02 09:51:25 +02:00
dsolomakha
fcdb6ae8c3 Initial commit of Google Function Adapter
implement HttpFunction
add headers processing
Some refactoring [WIP]
Add invoker integration test
Make test classes nested within test.
Add sample and refdoc

Resolves #468
2020-04-01 18:55:18 +02:00
Oleg Zhurakousky
366d05050f GH-476 Add generic JsonMessageConverter compatible with Jackson and Gson
Added implementation of JsonMessageConverter which is initialized with JsonMapper so it can delegate to Jackson or Gson based on property setting and/or availability of the underlying library.

Resolves #476
2020-04-01 16:08:38 +02:00
Marcin Grzejszczak
fb08a50b94 Updated docs 2020-04-01 13:43:01 +02:00
Oleg Zhurakousky
01458c7e42 GH-469 Add id to the CustomRuntimeAutoConfiguration bean registration
The name is the decapitalized name of the CustomRuntimeAutoConfiguration class name

Resolves #469
2020-03-31 16:44:42 +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
1ec107abbd GH-474 Add TypeResolver library and simplify type discovery
For complex cases where deep hierarchies are used there was still an issue with the fix in #473.
By adding TypeResolver library we essentially simplify our discovery process

Resolves #474
2020-03-30 17:26:01 +02:00
Oleg Zhurakousky
73c8f9c1a4 Merge pull request #472 from GeniusV/master
Fix a spell miss
2020-03-30 10:57:02 +02:00
Oleg Zhurakousky
86d12f3a84 GH-473 Fix type discovery for generic parameters
Resolves #473
2020-03-30 10:56:00 +02:00
Eliot Daniel
9ead9853a8 Fix a spell miss 2020-03-29 16:59:36 +08:00
Eliot Daniel
2206fa544a Fix a Fix a spell miss 2020-03-29 16:44:57 +08:00
Oleg Zhurakousky
9434a68bd2 GH-461 Add to register more than one functional class
Similar to the way we allow multiple functions to be listed with 'definition' property, this enhancement allows several functional classes to be deployed

Resolves #461
2020-03-23 14:51:56 +01:00
Oleg Zhurakousky
85000ee084 GH-460 Add support for function filtering
Added support for function filtering in the event there are more then one function in catalog. This is primarily to ensure that
we have a mechanism to specify which functions to export as web enpoints (instead of all)

Resolves #460
2020-03-23 11:19:40 +01:00
Oleg Zhurakousky
919b9902e9 Improved handling of output Message conversion
remove the check for 'accept' header
added test

Resolves #465
2020-03-18 17:01:55 +01:00
Eric Bottard
b28c7c5cfc Add a test for accept being multi-valued and tested in order 2020-03-18 16:59:09 +01:00
Oleg Zhurakousky
fb095f7ac3 Improve output type conversion handling
- Re-enable, clean and improve  special handling for collection/array output type
- Add tests to validate and demonstrate the differences in  special handling of collection of Messages ve collection of non-Messages

Resolves #464
2020-03-18 15:50:55 +01:00