Commit Graph

895 Commits

Author SHA1 Message Date
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
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
Eliot Daniel
9ead9853a8 Fix a spell miss 2020-03-29 16:59:36 +08:00
Eliot Daniel
2206fa544a Fix a Fix a spell miss 2020-03-29 16:44:57 +08:00
Oleg Zhurakousky
9434a68bd2 GH-461 Add to register more than one functional class
Similar to the way we allow multiple functions to be listed with 'definition' property, this enhancement allows several functional classes to be deployed

Resolves #461
2020-03-23 14:51:56 +01:00
Oleg Zhurakousky
85000ee084 GH-460 Add support for function filtering
Added support for function filtering in the event there are more then one function in catalog. This is primarily to ensure that
we have a mechanism to specify which functions to export as web enpoints (instead of all)

Resolves #460
2020-03-23 11:19:40 +01:00
Oleg Zhurakousky
919b9902e9 Improved handling of output Message conversion
remove the check for 'accept' header
added test

Resolves #465
2020-03-18 17:01:55 +01:00
Eric Bottard
b28c7c5cfc Add a test for accept being multi-valued and tested in order 2020-03-18 16:59:09 +01:00
Oleg Zhurakousky
fb095f7ac3 Improve output type conversion handling
- Re-enable, clean and improve  special handling for collection/array output type
- Add tests to validate and demonstrate the differences in  special handling of collection of Messages ve collection of non-Messages

Resolves #464
2020-03-18 15:50:55 +01:00
Eric Bottard
b1d9890e0c Don't treat byte[] or collections in a special way. 2020-03-18 13:59:21 +01:00
Oleg Zhurakousky
0acff2b1d3 Enhancements to content-type negotiation
- Added logic to wrap custom (user) message converters with NegotiatingMessageConverterWrapper
- Removed 'addDefaultConverters' flag from ContextFunctionCatalogAutoConfiguration as it is more confusing then useful
- Added test which uses wild card accept content-type with several converters available to ensure the appropriate one is used
- Made NegotiatingMessageConverterWrapper package private and moved it and it's test to a contex.config package

Resolves #462
2020-03-18 11:15:03 +01:00
Florent Biville
046913de99 Add tests to NegotiatingMessageConverterWrapper 2020-03-18 11:05:16 +01:00
Eric Bottard
161ac0efae Introduce better content-type negotiation when converting to messages.
This commit introduces a MessageConverter wrapper that supports a
wildcard-aware Accept header.
2020-03-18 11:05:16 +01:00
Florent Biville
e71cf28c1a Remove contribution guide and link to Spring Cloud Build
This commit adds a default, empty suppression configuration file
needed to set up Checkstyle.

Resolves #463
2020-03-17 13:32:39 +01:00
Arno
013e714c42 Add consumer lookup, for single consumer in catalog
Related to issue #454

Resolves #455
2020-03-16 09:05:42 +01:00
disc99
1d2377ef85 Remove duplicate plugin
Resolves #457
2020-03-16 08:42:19 +01:00
Oleg Zhurakousky
005611b682 Polish javadoc in RoutingFunction 2020-03-11 09:04:58 +01:00
Oleg Zhurakousky
b71c793dab GH-458 Remove default dependency on ApplicationJsonMessageMarshallingConverter
Resolves #458
2020-03-10 16:13:28 +01:00
Oleg Zhurakousky
777f0d8afa GH-453 Provide continuation model for reactive consumer
Modified invocation model of the reactive consumer to ensure it provides reasonable continuation path via MonoIgnoreElements (Mono.. . .then())

Resolves #453
2020-03-05 08:56:46 +01:00
Oleg Zhurakousky
c85d4f1629 Change spring-cloud-build version to 2.2.3.RELEASE 2020-03-04 14:16:22 +01:00
buildmaster
87dd0dd113 Bumping versions to 3.0.4.BUILD-SNAPSHOT after release 2020-03-03 15:23:14 +00:00
buildmaster
568fd9affd Going back to snapshots 2020-03-03 15:23:14 +00:00
buildmaster
340a5cc3f3 Update SNAPSHOT to 3.0.3.RELEASE 2020-03-03 14:53:54 +00:00
Oleg Zhurakousky
93e3e9880d Merge pull request #452 from reese1v1/master
Fix a spell miss of AWS adapter intro documentation
2020-03-03 08:08:04 +01:00
reese
b14ceb1790 Fix a spell miss of AWS adapter intro documentation 2020-03-03 10:58:49 +09:00
Oleg Zhurakousky
202d617edd Add Message and MessageConverter to the list of classes loaded by deployer 2020-03-02 15:14:48 +01:00