551 Commits

Author SHA1 Message Date
Olga Maciaszek-Sharma
21728767bf Add branch attribute definition. 2019-06-13 15:18:01 +02:00
Olga Maciaszek-Sharma
d75b02f557 Regenerate the docs. 2019-06-13 14:18:52 +02:00
Olga Maciaszek-Sharma
ca158c5d52 Fix branch references in sample links. 2019-06-13 14:06:37 +02:00
buildmaster
b5607e3b13 Bumping versions to 2.0.3.BUILD-SNAPSHOT after release 2019-06-07 22:25:14 +00:00
buildmaster
6f101f22b6 Going back to snapshots 2019-06-07 22:25:13 +00:00
buildmaster
2f248009e8 Update SNAPSHOT to 2.0.2.RELEASE 2019-06-07 21:50:38 +00:00
Oleg Zhurakousky
a4d53ca585 Merge pull request #339 from spring-operator/polish-urls-remaining-2.0.x
URL Cleanup
2019-03-26 11:18:43 +01:00
Oleg Zhurakousky
71685ed46c Merge pull request #298 from spring-operator/polish-urls-apache-license-2.0.x
URL Cleanup
2019-03-26 11:12:42 +01:00
Spring Operator
011b9992f7 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
  https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException).
* [ ] http://projects.spring.io/spring-boot/function-sam (404) with 1 occurrences migrated to:
  https://projects.spring.io/spring-boot/function-sam ([https](https://projects.spring.io/spring-boot/function-sam) result 404).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://EditorConfig.org with 1 occurrences migrated to:
  https://EditorConfig.org ([https](https://EditorConfig.org) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to:
  https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200).
* [ ] http://www.reactive-streams.org/ with 2 occurrences migrated to:
  https://www.reactive-streams.org/ ([https](https://www.reactive-streams.org/) result 200).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://eclipse.org with 1 occurrences migrated to:
  https://eclipse.org ([https](https://eclipse.org) result 302).
* [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to:
  https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302).
* [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to:
  https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302).

# Ignored
These URLs were intentionally ignored.

* http://localhost with 10 occurrences
2019-03-26 03:36:49 -05:00
Spring Operator
4e570bef6c URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 221 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-21 12:48:03 -05:00
Oleg Zhurakousky
836e158c88 Merge pull request #278 from spring-operator/polish-urls-build-2.0.x
URL Cleanup
2019-03-19 08:05:59 +01:00
Spring Operator
7201da7798 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 26 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch with 1 occurrences migrated to:
  https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch ([https](https://stackoverflow.com/questions/1593051/how-to-programmatically-determine-the-current-checked-out-git-branch) result 200).
* http://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin with 1 occurrences migrated to:
  https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin ([https](https://stackoverflow.com/questions/29300806/a-bash-script-to-check-if-a-string-is-present-in-a-comma-separated-list-of-strin) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 2 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 52 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 26 occurrences
2019-03-16 10:24:06 -05:00
Oleg Zhurakousky
989f205d36 GH-252 Added support for non-fluxed functions
Added support for non-fluxed functions to Azure and AWS adapters
Resolves #252
2019-02-26 19:46:49 +01:00
Oleg Zhurakousky
757600171d GH-253 Updated Azure dependency to 1.2.2 2019-02-26 16:22:15 +01:00
Oleg Zhurakousky
501e899940 Upgraded spring-cloud-build version 2019-02-26 15:11:46 +01:00
Dave Syer
4ec83c69a9 Update thin jar version in a couple of places 2019-02-26 15:11:26 +01:00
Marcin Grzejszczak
c6ddfe1af4 Added checkstyle for tests 2019-02-03 15:34:10 +01:00
Marcin Grzejszczak
e4b08a083c Turned on checkstyle 2019-02-01 15:48:32 +01:00
buildmaster
94e9b8f2f8 Bumping versions to 2.0.2.BUILD-SNAPSHOT after release 2019-01-31 14:48:58 +00:00
buildmaster
036e0c4090 Going back to snapshots 2019-01-31 14:48:57 +00:00
buildmaster
eaf519b82a Update SNAPSHOT to 2.0.1.RELEASE 2019-01-31 14:34:17 +00:00
Oleg Zhurakousky
2474b7db68 Added deploy 'skip' to deployer integration test POM 2019-01-31 15:29:40 +01:00
Dave Syer
e154128d51 Organize some imports 2019-01-31 09:47:42 +00:00
Oleg Zhurakousky
589e451d14 GH-247 Added spring.cloud.function.definition property
Added spring.cloud.function.definition property which is used by FunctionRegistry as a supplement instruction to resolve nameless lookups.
It is used by web module to map single or multiple (composed) functions to the root path (/)

Resolves #247
2019-01-28 18:47:18 +01:00
Oleg Zhurakousky
3196a2ee8b Fixed exception handling in RequestProcessor
Fixed exception handling in the RequestProcessor for cases where input can not be determined before function invocation
2019-01-28 16:24:45 +01:00
Oleg Zhurakousky
de73c51462 Allowed 'java.*', rather then just 'java.annotation' loading for jdk 11 2019-01-28 13:59:28 +01:00
Oleg Zhurakousky
a2df13d1b3 GH-251 Fixed JDK 11 issues
- Added JDK 11 hook in FunctionCreatorConfiguration for javax.annotation to be loaded from current CL
- Ensured the file: protocol resources end with the forward slash. See UrlClassPath.getLoader of JDK 11 for more details as to why
- Re-enabled conditional  tests by removing Java 8 assumptions
- Part of the issue was also, the invoker plugin which was only generating ‘it/..’ directory every other time due to exists condition, thus resulting in some test failures every other time (missing directory)

Resolves #251
2019-01-25 15:13:55 +01:00
buildmaster
741341f43a Bumping versions 2019-01-25 12:56:04 +00:00
Oleg Zhurakousky
f405527dd7 GH-251 Initial attempt to fix Java 11 issues
polishing

polishing
2019-01-23 20:15:49 +01:00
Dave Syer
b4b8c50a50 Disable invoker plugin if it has already been done
Speeds up test cycle from command line. To reset you can just
mvn clean, or delete the marker file from target/it manually.
2019-01-18 10:32:11 +00:00
Dave Syer
cca2833f94 Tighten up contract for SingleEntryFunctionRegistry
And add some tests. Fixes gh-250.
2019-01-17 17:54:12 +00:00
Oleg Zhurakousky
9729f26397 Fixed failing webflux test 2019-01-09 17:15:53 +01:00
buildmaster
9cf4b72ef3 Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2019-01-08 11:32:36 +00:00
buildmaster
5b2345c7d4 Going back to snapshots 2019-01-08 11:32:36 +00:00
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