Commit Graph

39 Commits

Author SHA1 Message Date
spencergibb
d120eb0731 Updates to*Case() to use Locale.ROOT 2024-10-18 10:53:24 -04:00
Oleg Zhurakousky
85a4fffcd4 GH-1172 Ensure content-type set in a message is honored on the output
Also, ensures that the proper content type is set in GCF FunctionInvoker

Resolves #1172
2024-09-09 12:51:36 +02:00
Lauren Wiebenga
abdb1ac04f Updates GcfJarLayout to write back classic loaders required for the current implementation of this project, before this change the default loaders would be used every time GcfJarLayout was invoked; also updates the pom for function-sample-gcp-http to use the latest development version of the spring cloud gcp adaptor
Fixes gh-1085
2024-06-11 08:48:51 -05:00
Romain
f9954d7dbd style: code simplification
Resolves #1129
2024-03-27 16:33:37 +01:00
Oleg Zhurakousky
a037d3a16f Update launcher dependencies due to boot changes 2023-10-10 13:57:23 +02:00
Oleg Zhurakousky
7db99087a5 GH-1064 Explicitly add content type to GCP response
Resolves #1064
2023-08-30 15:46:39 +02:00
Biju Kunjummen
bab07efa9f GH-955 Removes GCP Invoker dependency on AbstractSpringFunctionAdapterInitializer
Restores classpath for classloader, function resolution

Resolves #955
Resolves #970
2022-12-15 11:19:53 +01:00
Oleg Zhurakousky
2190f3a0a6 Additional deprecation removals 2022-09-28 17:22:27 +02:00
Deepankar Dixit
ddda85f83b working on comments 2022-05-26 11:20:16 -04:00
Deepankar Dixit
0ef707a76c working on comments 2022-05-25 17:13:00 -04:00
Deepankar Dixit
62d8a8c38a undo 2022-05-25 10:37:38 -04:00
Deepankar Dixit
eecb373d50 making changes to adapter, including tests and documentation 2022-05-25 10:22:29 -04:00
Deepankar Dixit
11666058ad enabling users to set custom statusCode 2022-05-23 14:50:23 -04:00
Deepankar Dixit
cc020093b9 upgrading gcf runtime versions 2022-05-09 18:03:48 +02:00
Oleg Zhurakousky
3ab344c504 Fix merge issues
Resolves #826
2022-03-23 11:33:15 +01:00
onobc
8b589c67e5 Reduce use of SocketUtils in tests
Resolves #825
2022-03-23 08:33:14 +01:00
Oleg Zhurakousky
bb3f33f1c5 Fix deprecations and breaking changes caused by dependencies 2022-03-17 14:59:04 +01:00
Israel Perales
9ec8fe0206 Bugfix #712
Resolves https://github.com/spring-cloud/spring-cloud-function/issues/712
Resolves #719
2021-08-06 15:50:59 +02:00
Oleg Zhurakousky
cfec6eceec Change deprecate json mapper property
Resolves #693
2021-05-11 15:51:09 +02:00
dzou
566c3a93d6 try upgrading sample version
try upgrading sample version of adapter dependency

Restore GSON mapper preference

default to GSON if impl not specified
2021-05-11 15:37:24 +02:00
Oleg Zhurakousky
8fb29fac14 GH-570 Remove hard dependency on Gson for GCP
Resolves #570
2021-04-06 12:20:39 +02:00
Oleg Zhurakousky
72f05fc591 Refactor FunctionCatalog implementation 2020-10-16 17:59:06 +02:00
Oleg Zhurakousky
c8b609b965 Fix port discovery in GCF test 2020-08-06 15:51:26 +02:00
Oleg Zhurakousky
5fd54ab9fd Add condition to reset content-type only if it isd not already set
Polish some of the POMs to address missing dependencies
Temporary disconnect gcp background sample until errors are fixed
2020-07-13 14:21:02 +02:00
dzou
aa04fca466 Fix error propagation for GCP adapter
Fix tests
2020-06-22 09:08:15 +02:00
anshlykov
8bcfad48fa Migrate to JUnit 5
spring-cloud-function-context

spring-cloud-function-context: fix

spring-cloud-function-web

spring-cloud-function-adapters

spring-cloud-function-samples

spring-cloud-function-deployer; spring-cloud-function-kotlin

Resolves #535
2020-06-10 16:43:04 +02:00
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
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
Mike Eltsufin
c1d472de25 Change package gcloud to gcp
Resolves #510
2020-05-04 16:23:51 +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
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
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
Mike Eltsufin
c251b6de46 The classloader trick won't be needed after
a3d23cc12d
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
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