Commit Graph

366 Commits

Author SHA1 Message Date
Spring Operator
a8ab9ae384 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://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 11 occurrences
2019-03-26 03:36:42 -05:00
Oleg Zhurakousky
f1747e9958 Merge pull request #277 from spring-operator/polish-urls-build-1.0.x
URL Cleanup
2019-03-19 08:06:10 +01:00
Spring Operator
c20f686731 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 25 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).
* http://repo.spring.io/libs-milestone-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-milestone-local ([https](https://repo.spring.io/libs-milestone-local) result 302).
* http://repo.spring.io/libs-snapshot-local with 2 occurrences migrated to:
  https://repo.spring.io/libs-snapshot-local ([https](https://repo.spring.io/libs-snapshot-local) result 302).
* http://repo.spring.io/release with 1 occurrences migrated to:
  https://repo.spring.io/release ([https](https://repo.spring.io/release) result 302).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 50 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 25 occurrences
2019-03-16 10:23:59 -05:00
Dave Syer
60ab4e4df4 Revert to snapshots 2018-08-21 17:42:35 +01:00
Dave Syer
825d52feb7 Update for 1.0.1 2018-08-21 17:17:07 +01:00
Dave Syer
4a6227a777 Extract parent creation logic into a method
Fixes #201
2018-08-21 13:42:31 +01:00
Dave Syer
068b9ef7e9 Revert to snapshots 2018-06-18 11:49:02 +01:00
Dave Syer
ac3ea7db36 Update to 1.0.0 2018-06-15 12:27:30 +01:00
Dave Syer
db2c17289f Update Boot versions in POJO sample 2018-06-15 12:06:54 +01:00
Oleg Zhurakousky
8c7c8f9a1c GH-180 added null assertion to FunctionRegistration
Resolves #180
2018-06-12 15:32:22 -04:00
Bruno Borges
37d0d9500d Upgrade azure artifacts and update docs 2018-06-06 12:10:49 +01:00
Dave Syer
d322643433 Add another hack for Spring Boot 2.0
This can be reverted in 1.1. The compiler relies on being able to
bind itself to @ConfigurationProperties and the APIs changed for that
in Spring Boot 2.0.

Fixes gh-177
2018-06-04 14:50:27 +01:00
Dave Syer
1fd83527a7 Add notes on AWS platform-specific features 2018-06-04 14:00:26 +01:00
Dave Syer
fee3a0bec3 Fix docs build 2018-06-04 13:32:44 +01:00
Dave Syer
f1e331bf98 Organize main ref guide to contain adapter content 2018-06-04 10:29:38 +01:00
Dave Syer
047aabcbdd Extract adpater READMEs into docs subdir 2018-06-04 09:22:50 +01:00
Dave Syer
9dc569837a Revert to snapshots 2018-05-26 09:42:34 +01:00
Dave Syer
b20cb700ea Update to RC2 2018-05-26 09:34:02 +01:00
Ryan Baxter
3cc416b10b Removed unused property from POM 2018-05-25 13:36:05 -04:00
Dave Syer
f9aa461c18 Remove JSON dependencies from web module
They were a remnant from teh time when the mapping implementations
lived in the web module.

Fixes gh-176
2018-05-22 15:35:18 +01:00
Dave Syer
dc179c0dd7 Move reactor dependency management to parent pom
Otherwise webflux apps break when they include our BOM, even if they
don't even use spring-cloud-function.
2018-05-22 14:17:27 +01:00
Dave Syer
6b74fc13c2 Add comment to odd looking dependency 2018-05-22 09:21:22 +01:00
Dave Syer
8e9a5504cb Revert to snapshots 2018-05-21 10:05:42 +01:00
Dave Syer
c29f800380 Update to 1.0.0.RC1 2018-05-21 10:04:54 +01:00
Dave Syer
53cb2e3df4 Add some notes on the deployer 2018-05-21 09:38:59 +01:00
Dave Syer
18b9e8a431 Too fast with the optional jackson 2018-05-21 09:17:12 +01:00
Dave Syer
8599be2255 Make Jackson and Gson beans conditional 2018-05-21 09:05:08 +01:00
Dave Syer
66476559ed Move JsonMapper to spring-cloud-function-context
...in case it is needed elsewhere (see gh-151)
2018-05-21 08:50:35 +01:00
Dave Syer
a64579dbdb More tests for auto detect of start class 2018-05-18 12:48:36 +01:00
Dave Syer
e1bb5259a9 Support for Start-Class as main 2018-05-18 11:45:41 +01:00
Dave Syer
e34324b5b4 Double check that a Function can return a Mono 2018-05-15 08:43:58 +01:00
Dave Syer
af5f5b78de Tweak support for single valued text HTTP exchange 2018-05-02 13:00:22 -04:00
Dave Syer
fa55ebab16 Compiler warnings 2018-05-02 10:55:24 -04:00
Oleh Dokuka
4b85e89992 Fix docs with regard to Flux.interval
Also provide ability to run with `Flux.interval(Duration)` in
compiled scripts

Fixes gh-174
2018-05-02 07:19:08 -04:00
Dave Syer
eaea89532c Add documentation for compiler configuration properties 2018-05-02 06:17:28 -04:00
Dave Syer
b59b43ddc5 Only expose Publisher via FunctionCatalog
Flux.from() is cheap and can be used to marshal the inputs everywhere
internally. With this change users ought to be able to register any
function of any Publisher type.
2018-05-01 12:06:34 -04:00
Dave Syer
fb04324ac9 Factor out a new strategy for wrapper type detection
Using this strategy libraries could be developed for supporting
Flux-like libraries (e.g. kstreams) that are not actually
reactive streams implementations.
2018-05-01 12:06:29 -04:00
Dave Syer
ebd1646308 Push deployer configuration out of autoconfig
It tends to pop back into function apps where it is not needed
otherwise. Users that want to use the library need to import
the FunctionConfiguration directly using the
@EnableFunctionDeployer convenience annotation..
2018-04-25 17:37:55 +01:00
Dave Syer
7fa0ed7b6b Replace deployer with a simpler library
Instead of an app, it is now a library with some utilities
(principally ApplicationBootstrap) for launching a Spring Boot
application, extracting a function, and registering it in the
FunctionRegistry.
2018-04-25 12:44:20 +01:00
Dave Syer
59f94c1533 Fix potential issue when Message is not available but not needed
If an isolated function doesn't have Message in its classpath, we
will never actually need to instantiate that class. This change
makes sure we check first.
2018-04-25 07:27:33 +01:00
Dave Syer
8cf3d7bc5a Add some WebMvcTest support
Fixes gh-156
2018-04-24 16:15:42 +01:00
Dave Syer
6c58fe0c4d Fix shadowJar configuration
See gh-170
2018-04-24 14:45:02 +01:00
Dave Syer
04f917c113 Make it explicit that stream does not depend on a web server 2018-04-24 14:18:45 +01:00
Dave Syer
0f8c1ce860 Make Jackson optional in web adapter
There is now a JsonMapper strategy with implementations and
autoconfiguration for Gson and Jackson. If Jackson is present
it is preferred (just like in Spring Boot).

Fixes gh-150
2018-04-24 11:57:47 +01:00
Dave Syer
73cf5d418a Update to Boot 1.5.12 2018-04-24 10:25:21 +01:00
Dave Syer
57c05970e5 Use concurrent hash map in function catalog 2018-04-24 10:23:22 +01:00
Dave Syer
2df5dcc992 Compiler warnings 2018-04-24 09:46:48 +01:00
Dave Syer
ea5811fbe2 Add repository declarations to azure sample
Fixes gh-148
2018-04-24 09:31:08 +01:00
Dave Syer
7df650fce0 Exclude older nastier version of AWS api jar
There is only one version of amazon-kinesis-deaggregator available
in Maven Central, which is unfortunate because it brings in an
older version of the AWS events API, which in turn has a very bad
version range specification, causing the whole AWS internet to
be downloaded for each build.

I also made the deaggregator optional, which will help. Users that
want to include it shoudl consider doing the same exlcusion.

Fixes gh-171
2018-04-24 09:22:48 +01:00
bishoy
0e41b8acc5 Support incoming application/x-www-form-urlencoded content
Fixes #129
2018-04-24 08:55:22 +01:00