Commit Graph

919 Commits

Author SHA1 Message Date
Mike Eltsufin
82df971c2b Change GCP sample deploy directory to target/deploy
Fixes: #486.
Resolves #487
2020-04-21 14:20:56 +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
8791fc3b4d Fix the implicit composition logic in BeanFactoryAwareFunctionRegistry 2020-04-17 09:56:47 +02:00
Oleg Zhurakousky
fd93beefdb Fix regression for implicit composition
Also, added message check in AWS destination resolver
2020-04-16 21:05:20 +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
5677ce3aed GH-480 Fix Azure docs
Resolves #480
2020-04-08 16:09:28 +02:00
Oleg Zhurakousky
140091d8fc GH-481 Remove obsolete doc artifacts
Removed the *-readme.adoc files are no longer used

Resolves #481
2020-04-08 16:04:05 +02:00
Oleg Zhurakousky
852d564ce6 Disconnet Openwisk adapter 2020-04-08 15:42:40 +02:00
Oleg Zhurakousky
c9b72398d5 Polishing
Resolves #483
2020-04-08 15:18:24 +02:00
dzou
b91d6ee008 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:07:28 +02:00
Oleg Zhurakousky
895ac30604 Revert "Bumping versions"
This reverts commit 9ad788aef7.
2020-04-08 15:06:14 +02:00
Mike Eltsufin
20edd928f7 Fix GCP Sample link in refdoc
Resolves #482
2020-04-08 14:34:01 +02:00
Ray Tsang
5904f6bbeb Add GCF to the intro list
Resolves #484
2020-04-08 14:25:44 +02:00
Oleg Zhurakousky
1bcd02c9e9 Re-enable shade plugin for aws sample 2020-04-07 07:51:51 +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
Oleg Zhurakousky
09d2650e18 Temporarily disable shade plugin from aws sample 2020-04-06 20:15:40 +02:00
Oleg Zhurakousky
324cc97cbe Upgrade maven wrapper 2020-04-06 19:49:55 +02:00
Oleg Zhurakousky
e982d7e172 Disable SI example temporarily 2020-04-06 18:50:19 +02:00
Oleg Zhurakousky
c41ee39358 Remove dead test 2020-04-06 18:26:13 +02:00
Oleg Zhurakousky
db839ed360 Remove additional compiler dependencies 2020-04-06 18:19:58 +02:00
Oleg Zhurakousky
7492b24380 Remove compiler and task dependencies from samples 2020-04-06 18:00:21 +02:00
Oleg Zhurakousky
7647fabc43 Fix azure sample POM 2020-04-06 17:12:13 +02:00
Oleg Zhurakousky
c8369af547 Updated version of s-c-build in s-c-f-dependencies 2020-04-06 17:03:36 +02:00
Oleg Zhurakousky
6730e5f5d2 Remove s-c-f-compiler and s-c-f-task module 2020-04-06 16:53:06 +02:00
Oleg Zhurakousky
b0d22f89d7 Address boot 2.3 upgrade issues
- addressed getClassPathArchives() deprecation
- made temporary change to address super.createClassLoader(URL) call in boot - see https://github.com/spring-projects/spring-boot/pull/20851
2020-04-06 16:07:50 +02:00
Oleg Zhurakousky
98fa59a4b2 Updated POM with repositories 2020-04-06 10:07:20 +02:00
Marcin Grzejszczak
bfb7a804e4 Bumping to 2020-01 (aka Ilford) 2020-04-06 09:40:06 +02: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