Commit Graph

944 Commits

Author SHA1 Message Date
dzou
a4788aba08 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:24:24 +02:00
谭繁华
f279010aab Polish checkstyles in GCP module
Resolves #520
2020-05-22 12:19:15 +02:00
Mike Eltsufin
d74111785d 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-21 11:26:15 +02:00
dzou
17c3f185bc 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-20 15:25:48 +02:00
Oleg Zhurakousky
8ca1b45c81 Temporarily ignore GCF sample test 2020-05-20 15:23:52 +02:00
dzou
cbc41aecb4 Add gcp adapter to dep mgmt
Resolves #517
2020-05-20 15:02:08 +02:00
Mike Eltsufin
dc3fd039d3 Add Integration Test for GCP Sample
Fixes: #505.

add the json dependency to fix it

remove json dep
Resolves #507
2020-05-20 15:01:02 +02:00
Oleg Zhurakousky
417e54e0af Add special handling for collections NegotiatingMessageConverterWrapper
This will ensure that Function<List<String>>...> can still be handled with regular converters
2020-05-20 14:56:33 +02:00
Oleg Zhurakousky
a6f59babf0 Polish POM for function-sample-supplier-exporter 2020-05-07 12:10:04 +02:00
Oleg Zhurakousky
5aeb77a073 Add Supplier Exporter sample 2020-05-07 10:28:25 +02:00
Oleg Zhurakousky
07e4de71d2 Fix Message unwrapping condition 2020-05-07 09:26:58 +02:00
Oleg Zhurakousky
10e9350697 Fix styles 2020-05-05 14:44:56 +02:00
Oleg Zhurakousky
69cac342fe Remove references to compiler and task in dependency module 2020-05-05 14:33:28 +02:00
Oleg Zhurakousky
b13f67fd98 Change from warn to debug when function is not found 2020-05-05 14:32:12 +02:00
Oleg Zhurakousky
8503c39104 Re-enable ignored tests 2020-05-04 21:09:41 +02:00
buildmaster
74e10c106b Bumping versions 2020-05-04 18:55:43 +00:00
Mike Eltsufin
c1d472de25 Change package gcloud to gcp
Resolves #510
2020-05-04 16:23:51 +02:00
Oleg Zhurakousky
10b9e3d30d Removed dependency on org.json
Resolves #508
2020-05-04 15:52:45 +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
Mike Eltsufin
29dc59bb7e Add GCP Background Functions Unit Tests
Simplify conversion and polish

remove the package-related changes.

Resolves #502
2020-04-29 15:07:29 +02:00
Oleg Zhurakousky
021e384d27 GH-508 Fix casting of the exception in AzureSpringBootRequestHandler 2020-04-27 13:37:29 +02:00
Oleg Zhurakousky
a6dbaa24d2 Remove hard dependency on Gson from FCF adapter in favor of SCF proivided configurable JsonMapper 2020-04-21 14:48:14 +02:00
Mike Eltsufin
3f94826641 Implement GCP Raw Background Function support
Add Pub/Sub payload vs. PubSumMessage support

Fixes: #491
Resolves #492
2020-04-21 14:30:28 +02:00
Ray Tsang
06bb7c9cc9 Mention removing Spring Boot plugin
Resolves #488
2020-04-21 14:26:07 +02:00
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