Commit Graph

932 Commits

Author SHA1 Message Date
dzou
03cdd34832 Add docs and updates for background function support
rename fuction-sample-gcp to function-sample-gcp-http

refdoc polish

background sample polish

Resolves #525
Update pub/sub bg function to use base64 encoding
2020-05-22 12:41:35 +02:00
谭繁华
4d1655632e Polish checkstyles in GCP module
Resolves #520
2020-05-22 12:40:11 +02:00
Mike Eltsufin
4af243ee0b Re-enable GCP sample test and fix mvn not found
enable test output temporarily for Travis

Revert "enable test output temporarily for Travis"

This reverts commit a797ca75e8c7a48e57f988360e5d57dbb497a6fb.

Resolves #527
2020-05-22 12:40:03 +02:00
dzou
9a481e83a0 Move Layout into adapter class
pr comments, mv package, make work locally.

revert pom change to parent

Rm provided scope - this is problematic for spring-boot-maven plugin to build jar

Detach sample from spring-cloud-function-parent

Update readmes

cleanup

Add comment

fix javadoc
Resolves #518
2020-05-22 12:38:38 +02:00
Oleg Zhurakousky
ee65baed30 Temporarily ignore GCF sample test 2020-05-22 12:28:22 +02:00
dzou
649da5c095 Add gcp adapter to dep mgmt
Resolves #517
2020-05-22 12:28:05 +02:00
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