Commit Graph

654 Commits

Author SHA1 Message Date
Olga Maciaszek-Sharma
51e2eefcbf Adjust branch variable value 2019-06-21 12:25:10 +02:00
Olga Maciaszek-Sharma
93d5ac6ccc Add build file setup documentation
Resolves #377
2019-06-21 12:23:34 +02:00
Olga Maciaszek-Sharma
db4e273e08 Add branch attribute definition. 2019-06-13 15:29:17 +02:00
Olga Maciaszek-Sharma
780d1a103d Fix branch references in sample links. 2019-06-13 14:19:40 +02:00
buildmaster
c031dd04e2 Bumping versions to 2.1.2.BUILD-SNAPSHOT after release 2019-06-06 14:28:12 +00:00
buildmaster
f5a55fcdbe Going back to snapshots 2019-06-06 14:28:11 +00:00
buildmaster
1063b5b3d1 Update SNAPSHOT to 2.1.1.RELEASE 2019-06-06 13:19:00 +00:00
Oleg Zhurakousky
ab44f8b308 Fixed check-styles 2019-06-06 15:13:12 +02:00
Oleg Zhurakousky
3c354d94a4 Fixed failing adapter tests 2019-06-06 15:02:36 +02:00
Oleg Zhurakousky
52b8d67092 Fixed RoutingFunction ClassCast exception 2019-05-21 08:41:10 -05:00
Oleg Zhurakousky
b8c1003309 Improvements RoutingFunction and MessageFunction
Added error handling to RoutingFunction
Added support for Function<Flux, Flux> to MessageFunction
2019-05-17 15:39:54 +02:00
Oleg Zhurakousky
076aa6f880 GH-363 Fixed NPE on AbstractBeanDefinition.getBeanClass() call
Resolves #363
2019-05-13 19:32:44 +02:00
Oleg Zhurakousky
5965447a6b Update home.adoc 2019-05-07 18:03:30 +02:00
Oleg Zhurakousky
0d51b30538 Update README.adoc 2019-05-07 17:37:01 +02:00
buildmaster
d28fc9978a Bumping versions to 2.1.1.BUILD-SNAPSHOT after release 2019-05-07 10:08:10 +00:00
buildmaster
e44c61754c Going back to snapshots 2019-05-07 10:08:09 +00:00
buildmaster
7fafbe7848 Update SNAPSHOT to 2.1.0.RELEASE 2019-05-07 09:12:21 +00:00
Oleg Zhurakousky
b7d2557656 fixing doc links
polishing test
2019-05-07 11:07:01 +02:00
Oleg Zhurakousky
326eb59997 Fixing doc URL instructions for release 2019-05-07 10:34:06 +02:00
Oleg Zhurakousky
1308c1c368 Added Anshul to doc authors
Resolves #362
Resolves #359
2019-05-07 10:20:21 +02:00
Walliee
372a3ce49d Add additional documentation around AWS jar layout
- Add to note explain when resource transformers are needed
- Fix relative linking in the adapters directory

see #359
2019-05-07 10:18:41 +02:00
Oleg Zhurakousky
4d9cdb9750 GH-238 Added initial support for RoutingFunction
- Added initial implementation of RoutingFunction which is bootstrapped optionally based on setting ‘spring.cloud.function.routing.enabled’ property to true.
- Added initial documentation and tests

Resolves #238
2019-05-07 10:13:42 +02:00
Oleg Zhurakousky
abeb652830 Fixed condition for spring.cloud.function.web.export.enabled property 2019-05-03 13:25:58 +02:00
Oleg Zhurakousky
f2e4cea47d GH-263 Added more AWS tests
Resolves #263
2019-05-03 09:27:04 +02:00
Oleg Zhurakousky
475edb5ff7 GH-354 Fixed documentation to reflect recent updates
Resolves #354
2019-05-02 17:07:00 +02:00
Oleg Zhurakousky
cb952648b3 Revert "GH-355 Added support for deffered initialization of Function Catalog"
This reverts commit cd0ca2f7dc.
2019-05-01 04:48:21 +02:00
Marcin Grzejszczak
58ec9bf8a6 Merge pull request #361 from spring-cloud/fix/sagan-docs
Added the sagan adoc files
2019-04-30 08:34:02 +02:00
Haytham Mohamed
e6b779d6fc Added the sagan adoc files 2019-04-29 12:16:24 -05:00
Oleg Zhurakousky
d9582a9867 GH-358 Fixd NPE in flux FunctionWebUtils
added tests

Resolves #358
2019-04-29 16:07:56 +02:00
Oleg Zhurakousky
f16a2c76cf GH-317 Polishing and minor refactoring in AzureSpringBootHttpRequestHandler
- Moved convertOutput() to base class and added input value as an argument
- Added javadoc
- fixed checkstyle violations

Resolves #317
Resolves #360
2019-04-29 13:46:13 +02:00
Markus Gulden
27344d7098 GH-317, Implement HTTP request-specific handler for Azure adapter
* Handler extends AzureSpringBootRequestHandler with types
  HttpRequestMessage and HttpResponseMessage (which are required by
  Azure Functions for HTTP-triggered functions)

* Handler extracts request path, query string parameters as well as the
  HTTP method from the HttpRequestMessage object and forwards them to
  the function as message headers

* Handler creates an HttpResponseMessage with the response coming from
  the called function

* Created unit tests accordingly

GH-317, Implement HTTP request-specific  handler for Azure adapter

* Handler extends AzureSpringBootRequestHandler with types
  HttpRequestMessage and HttpResponseMessage (which are required by
  Azure Functions for HTTP-triggered functions)

* Handler extracts request path, query string parameters as well as the
  HTTP method from the HttpRequestMessage object and forwards them to
  the function as message headers

* Handler creates an HttpResponseMessage with the response coming from
  the called function

* Created unit tests accordingly

GH-317, Implement HTTP request-specific  handler for Azure adapter

* Handler extends AzureSpringBootRequestHandler with types
  HttpRequestMessage and HttpResponseMessage (which are required by
  Azure Functions for HTTP-triggered functions)

* Handler extracts request path, query string parameters as well as the
  HTTP method from the HttpRequestMessage object and forwards them to
  the function as message headers

* Handler creates an HttpResponseMessage with the response coming from
  the called function

* Created unit tests accordingly
2019-04-29 13:42:55 +02:00
Oleg Zhurakousky
09053d3f59 GH-357 Fixed MAIN_CLASS lookup logic
Resolves #357
2019-04-17 08:26:15 +03:00
Oleg Zhurakousky
cd0ca2f7dc GH-355 Added support for deffered initialization of Function Catalog
Resolves #355
2019-04-11 16:55:16 +02:00
Walliee
5256ee177c Fix BeanFactoryFunctionCatalog initialization when a
BeanFactoryPostProcessor that depends on FunctionCatalog is present.

On application context refresh, BeanFactoryPostProcessors are
invoked before registering BeanPostProcessor(s).
If a BeanFactoryPostProcessor that depends on FunctionCatalog is present,
then when ContextFunctionCatalogAutoConfiguration tries to fetch
all functional beans (Function/Supplier/Consumer), the creation of beans
where no default constructor exists fails as
AutowiredAnnotationBeanPostProcessor hasn't been registered yet.

Initialing BeanFactoryFunctionCatalog on ApplicationReadyEvent
delays the collection of functional beans to an even later point in
the lifecycle.

fixes #352

Fix test name

Switch to use SmartInitializingSingleton

Resolves #353
2019-04-11 16:53:13 +02:00
buildmaster
9df7455a30 Going back to snapshots 2019-04-08 14:18:29 +00:00
buildmaster
24740e4e17 Update SNAPSHOT to 2.1.0.RC1 2019-04-08 14:14:23 +00:00
Oleg Zhurakousky
ec0c8d9d68 Updated doc pom for RC1 release 2019-04-08 15:50:20 +02:00
Oleg Zhurakousky
2abd5faa4b Updated documentation for GH-349 2019-04-08 15:46:56 +02:00
buildmaster
d45e2918a7 Bumping versions 2019-04-08 12:41:50 +00:00
Oleg Zhurakousky
bd094bef39 GH-349 Added support for raw input to AWS adapter
Resolves #349
2019-04-08 14:18:19 +02:00
Oleg Zhurakousky
6644130297 Polished FunctionType experimental constructor 2019-04-04 21:02:23 +02:00
Oleg Zhurakousky
9a3181532c More cleanup and simplification in AbstractComposableFunctionRegistry
- We now rely on single map (no consumers, suppliers)
- Simplified FunctionCreatorConfiguration to map FunctionType between class loaders
2019-04-04 19:55:08 +02:00
Oleg Zhurakousky
085204bad2 Miscellaneous clean up, refactoring
Simplified FunctionCatalog structure by no longer registering the actual target function since it is available in wrapper anyway.
Cleaned up logic in RequestProcessor
2019-04-03 20:33:04 +02:00
Oleg Zhurakousky
3fed1f1cd4 GH-264 Simplified signagure for Supplier 2019-04-03 09:42:34 +02:00
Oleg Zhurakousky
edba4c428e GH-264 Added initial support for Supplier and Consumer for Azure
Resolves #264
2019-04-03 09:37:01 +02:00
Oleg Zhurakousky
57ae22adb9 GH-350 Fixed NPE due to missing main class
Fixed NPE due to the missing main class - a condition that could be cause my missconfiguration
Added additional assertions
Added more descriptive error message
Added MAIN_CLASS system property to the search path
Added tests

Resolves #350
2019-04-02 09:02:08 +02:00
Dave Syer
744a7587d3 Narrow condition for function exporter in AWS custom runtime 2019-04-01 15:50:57 +01:00
Dave Syer
2efeafd793 Conditionally switch on the custom runtime in a functional app 2019-04-01 15:38:13 +01:00
Dave Syer
6eea43b266 Fix test for supplier exporter in functional application
You need to look beyond the application context (now) since it
might still be of type GenericApplicationContext even in a webflux
app.
2019-04-01 15:19:19 +01:00
Dave Syer
bb2f78cb36 Use Binder directly instead of relying on CPBPP
Fizes gh-351 a bit more thoroughly
2019-04-01 14:59:26 +01:00