Commit Graph

926 Commits

Author SHA1 Message Date
Mike Eltsufin
ce7c9dc8a1 Add Integration Test for GCP Sample
Fixes: #505.

add the json dependency to fix it

remove json dep
Resolves #507
2020-05-22 12:27:56 +02:00
Oleg Zhurakousky
b9f4db91a4 Add special handling for collections NegotiatingMessageConverterWrapper
This will ensure that Function<List<String>>...> can still be handled with regular converters
2020-05-22 12:27:46 +02:00
Oleg Zhurakousky
aa18a12204 Polish POM for function-sample-supplier-exporter 2020-05-07 12:17:38 +02:00
Oleg Zhurakousky
2108450f2b Add Supplier Exporter sample 2020-05-07 10:33:52 +02:00
Oleg Zhurakousky
41acbfd438 Fix Message unwrapping condition 2020-05-07 10:33:45 +02:00
Oleg Zhurakousky
9310898396 Fix styles 2020-05-05 14:53:48 +02:00
Oleg Zhurakousky
ad3c0f15bb Change from warn to debug when function is not found 2020-05-05 14:51:56 +02:00
Oleg Zhurakousky
e3ee776c04 Re-enable ignored tests 2020-05-05 14:51:43 +02:00
Mike Eltsufin
c82d0f6ca5 Change package gcloud to gcp
Resolves #510
2020-05-05 14:51:11 +02:00
Oleg Zhurakousky
1bc20fa557 Removed dependency on org.json
Resolves #508
2020-05-05 14:50:56 +02:00
Mike Eltsufin
4d535ea687 Add GCP Background Functions Unit Tests
Simplify conversion and polish

remove the package-related changes.

Resolves #502
2020-04-29 15:41:13 +02:00
Oleg Zhurakousky
e2beafb13f GH-508 Fix casting of the exception in AzureSpringBootRequestHandler 2020-04-27 13:38:19 +02:00
buildmaster
96f1931a4b Bumping versions to 3.0.7.BUILD-SNAPSHOT after release 2020-04-22 14:39:04 +00:00
buildmaster
6153554d78 Going back to snapshots 2020-04-22 14:39:04 +00:00
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