buildmaster
612d37616d
Update SNAPSHOT to 2.0.0.RELEASE
2019-01-08 10:44:55 +00:00
Oleg Zhurakousky
3a494d26e2
removed stream dependency from function-sample-compiler
2019-01-08 11:39:58 +01:00
Marcin Grzejszczak
ee00f27199
Changed sample version to be non snapshot
2019-01-08 11:30:30 +01:00
buildmaster
a5fc7dfdf4
Bumping versions
2019-01-03 16:40:36 +00:00
buildmaster
43a886b7b7
Going back to snapshots
2018-12-20 19:14:43 +00:00
buildmaster
291aafd94a
Update SNAPSHOT to 2.0.0.RC3
2018-12-20 19:10:34 +00:00
Oleg Zhurakousky
7559a6a55a
Fixed Azur sample pom for nimbus-jose-jwt
2018-12-20 20:05:20 +01:00
Dave Syer
62b11a4a26
Add global escape hatch for switching off functional beans
...
This is useful for example if the user is taking care of the
functional bean registration in some other way, and still wants to
use spring.functional.enabled=false to control that.
2018-12-13 09:33:19 +00:00
Oleg Zhurakousky
d89835bd80
GH-232 Removed FunctionScan annotation
...
Reoved FunctionScan annotation since it provides no additional value to the end user
Preserved auto component scanning for Functions in package
Updated filter to additionally scan for Supplier and Consumer
Resolves #232
2018-12-03 17:29:16 +01:00
Oleg Zhurakousky
564f238448
GH-236 Added initial spring-configuration-metadata.json
...
Resolves #236
2018-12-03 15:08:24 +01:00
Oleg Zhurakousky
fd2d59c334
Updated Kotlin docs
2018-12-03 14:01:29 +01:00
Oleg Zhurakousky
6a16a44aa0
GH-235 Moved Kotlin support to a separate module
...
Resolves #235
2018-11-30 18:48:32 +01:00
buildmaster
f0f957b96a
Going back to snapshots
2018-11-19 11:23:25 +00:00
buildmaster
241652d9b8
Update SNAPSHOT to 2.0.0.RC2
2018-11-19 11:19:40 +00:00
Filip Hrisafov
c6e4d1aaf6
Fix possible NPE in FunctionHandlerMapping
...
Resolves #233
Happens when HandlerMapping.PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTES is null
Can be seen when using spring-boot-starter-actuator with a scanned function
The path is null because the request wrapped by the WebMvcMetricsFilter is unmodifiable,
so setting the attribute in AbstractHandlerMethodMapping#handleMatch has no effect
2018-11-19 12:11:31 +01:00
Oleg Zhurakousky
66009830fd
GH-234 Ensured Function-Class is treated as function.bean
...
. . . yet function.bean will take precedence over Function-Class
2018-11-19 09:38:00 +01:00
Oleg Zhurakousky
221d0f2038
GH-234 Fixed Function-Class detection
...
Fixed Function-Class detection to ensure it is not treated as main. The regression was introduced with 0287a5d
Resolves #234
2018-11-19 07:55:36 +01:00
Oleg Zhurakousky
7ea5167543
Revert "Bumping versions"
...
This reverts commit e2a09c0e36 .
2018-11-19 06:53:31 +01:00
buildmaster
e2a09c0e36
Bumping versions
2018-11-17 17:49:47 +00:00
Dave Syer
a60118dcca
Simplify repository declarations (faster for snapshots)
2018-11-17 16:27:42 +00:00
Dave Syer
c285a0f082
Make test work on command line properly
...
Surefire wraps everything in a .jar to run the tests, and the
manifest has a main class, so that fools the main class
detection.
2018-11-17 16:27:42 +00:00
Dave Syer
80c65e2786
Revert to an azure plugin version that works
2018-11-17 16:18:50 +08:00
Dave Syer
8cce006b4c
Remove dependency on Kotlin for tests
...
The Eclipse tooling keeps flaking out and refuses to work at all
since 0.8.7. Maybe revisit this when it is stable.
2018-11-16 17:19:19 +00:00
Dave Syer
0287a5d8f3
Extend search for main class to include custom manifest entries
2018-11-16 16:16:12 +00:00
buildmaster
b23a647aa4
Bumping versions
2018-11-16 15:20:37 +00:00
Oleg Zhurakousky
417a6a75c1
Clean up tidy up RequestProcessor
2018-11-16 14:12:50 +01:00
Oleg Zhurakousky
c46f25a000
GH-228 Added support for treating text/* CT as a special case
...
Resolves #228
2018-11-16 12:47:27 +01:00
Dave Syer
e9b289d995
Remove unused import
2018-11-12 14:31:24 +00:00
Dave Syer
cd89f45191
Add support for empty function.bean
...
If there is a unique function it should be unambiguous. This change
also supports multiple functions, but the naming is unhelpful then
("function[0,1,2,]").
2018-11-12 14:07:36 +00:00
Dave Syer
9c6c7d09d4
Ensure ContextRunner class can be loaded
...
Even if FunctionalSpringApplication is not available.
2018-11-12 12:02:55 +00:00
Dave Syer
10f446d6b5
Ensure ContextRunner can be used to run a non-functional application
2018-11-12 11:07:36 +00:00
Dave Syer
aba50816f7
Add support for detecting FunctionRegistration or Function
...
User can now provide a Function or an ApplicationInitializer. Also
the initializer can create a FunctionRegistration with the handler
name instead of a bean with the handler name. Better control of
input and output types that way.
Fixes gh-231
2018-11-09 12:38:37 +00:00
Oleg Zhurakousky
d1b9a9b3fb
Cleaned up FunctionContextUtils
...
cleaned up FunctionContextUtils to be more generic and return Type instead of FunctionType
2018-11-08 11:17:16 +01:00
Oleg Zhurakousky
8eb7e06e02
GH-227 Moved Kotlin transformation to BFPP
...
resolves #227
2018-10-31 16:59:53 +01:00
Oleg Zhurakousky
159e2108a2
Upgraded Kotlin plugin
2018-10-31 11:19:42 +01:00
Marcin Grzejszczak
ca624f1a11
Bumping versions
2018-10-31 09:29:35 +01:00
Oleg Zhurakousky
242feecd4e
Removed reference to the spring-cloud-stream from the doc
2018-10-29 14:53:32 +01:00
Rashidi Zin
649011a1fd
Fix typo
...
Fix misspelled of "dependencies"
2018-10-29 09:26:18 +00:00
Dave Syer
c43af567ea
Make ObjectMapper optional
...
Plain text will just be passed straight through.
Fixes gh-226
2018-10-29 09:24:44 +00:00
Dave Syer
a03e34b6ee
Tidy up TBD in docs
2018-10-29 09:01:34 +00:00
buildmaster
9cf723949b
Going back to snapshots
2018-10-29 08:19:29 +00:00
buildmaster
e2f4d0a9e5
Update SNAPSHOT to 2.0.0.RC1
2018-10-29 08:15:29 +00:00
Dave Syer
1206acd6bf
Use INFO instead of ERROR logger for JVM startup message
2018-10-28 08:20:21 +00:00
Oleg Zhurakousky
37e1f0a4da
Polished collection support
...
Polished collection support tp ensure we can support various types of collection such as List, Set etc.
2018-10-27 13:34:06 +02:00
Oleg Zhurakousky
880333d394
GH-224 Added kotlin/java func composition test
...
Added test to make ure that Kotlin and Java functions are composable
Resolves #224
2018-10-26 16:16:57 +02:00
Oleg Zhurakousky
265a9d61aa
general cleanup
2018-10-26 16:11:55 +02:00
Dave Syer
bf9ab3ac0a
Fix multi-part form handling for WebFlux apps
...
In WebFlux (but not MVC) you have to explicitly ask for the multi-
part content separately from the form data.
Fixes gh-223
2018-10-26 09:53:17 +01:00
Dave Syer
a735f50daa
Inspect FunctionType to extract collection item type
...
Resurrects some code from #222 (the test didn't go far enough
when that issue was closed).
2018-10-26 08:00:56 +01:00
Dave Syer
c1bce87771
Update POJO sample to use webflux
2018-10-25 16:35:17 +01:00
Dave Syer
f5b09e8d27
Switch back to MVC for pojo sample
2018-10-25 15:22:44 +01:00