Anthony Dahanne
7e452047bf
Activate by default in Spring Boot 3
...
* Users used to provide this property to enable this library: -Dorg.springframework.cloud.bindings.boot.enable=true ; with this new major version (2), we default to enable true
2023-06-14 11:21:02 -04:00
Anthony Dahanne
3b43462fc4
Spring Boot 3 support
...
* only in main branch, SB2 support will be continued in 1.x branch
2023-06-14 11:21:02 -04:00
Anthony Dahanne
be780f7a4b
Integrate PR#94 comments from @Kehrlann
...
* move bindings to src/test/resources
* get rid of unused / duplicate annotations
* move all dependencies to test scope for test projects
2023-06-05 12:34:04 -04:00
Anthony Dahanne
34316c314e
help tooling detect which versions to use
...
Co-authored-by: Daniel Garnier-Moiroux <git@garnier.wf >
Enhance SpringBootVersionResolver
[issue] Make this package-protected ; you don't want this class to be a part of your public API (same as MapMapper).
[suggestion] set the default value for forcedVersion to -1, it's a usual convention for "this is invalid".
Co-authored-by: Daniel Garnier-Moiroux <git@garnier.wf >
2023-06-05 12:33:33 -04:00
Anthony Dahanne
81739ee14f
Add integration tests for Spring Boot 2 and 3
...
* use Maven modules to do so
* spring-cloud-bindings goes one level down
* addition of a spring-cloud-bindings parent
Inspired by @gregturn and spring-data-rest
2023-06-05 12:33:28 -04:00
Anthony Dahanne
d0eede8855
Compat with Spring Boot 3
...
Contains feedback from @Kehrlann
Original commit by @abelsromero - amended to keep compatibility with Spring Boot 2
* Artemis
* Updated 'host' to 'broker-url'
* Fixed some rabbitmq properties in ArtemisBindingsPropertiesProcessor
* Cassandra
* Fixed configuration properties: see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#cassandra-properties
* Added 'throttler' properties: see https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes#cassandra-throttling-properties
* Couchbase
* Updated based on https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#appendix.application-properties.data and spring-projects/spring-boot@abe43b2
* Elastic
* Based on docs, clients have been consolidated, so most properties have been removed.
* Updated based on https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.6-Release-Notes#elasticsearch-property-consolidation
* Neo4j
* Updated properties prefix: https://github.com/spring-projects/spring-data-neo4j/blob/main/src/main/asciidoc/appendix/migrating.adoc
* Redis
* Updated properties prefix: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#redis-properties
* Vault, matched properties with https://github.com/spring-cloud/spring-cloud-vault/blob/main/spring-cloud-vault-config/src/main/java/org/springframework/cloud/vault/config/VaultProperties.java
* NOTE: 'spring.cloud.vault.aws-iam.server-id' seems it never existed, it was alwasy serverName
and spring-cloud/spring-cloud-vault@9cff9eb
* Added new metadata-service and identity-token-service properties for AZURE_MSI
* Added 'trust-store' configuration for CERT.
* Ignored 'key-store-type' & 'trust-store-type' for simplicity. Current approach implies users need to convert to JKS.
* Fixed 'gcp-service-account'
* Added K8s token-file
2023-06-05 12:30:27 -04:00
Anthony Dahanne
3eb455dc2b
Bump to latest 2.5 spring boot release
2023-06-05 12:30:27 -04:00
Abel Salgado Romero
909f3b5e0d
Bump r2dbc-mariadb to 1.1.2 (fixes CVEs)
2023-06-05 12:30:27 -04:00
Abel Salgado Romero
9dcdf20c6e
Bump Maven plugins
2023-06-05 12:30:27 -04:00
Paketo Robot
d70abff00a
v1.13.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2023-05-08 21:00:01 +00:00
Anthony Dahanne
00f48108aa
Merge pull request #95 from julian-hj/eureka-tls-binding
...
add Eureka TLS/mTLS support
2023-05-08 16:50:55 -04:00
Anthony Dahanne
1610021ed6
add Eureka TLS/mTLS support
...
* add createKeyStore javadoc, to please the Javadoc plugin
2023-05-08 16:44:14 -04:00
Julian Hjortshoj
fbc06149c0
add Eureka TLS/mTLS support
...
- read `ca.crt`, `tls.crt` and `tls.key` optional properties in eureka bindings
- process them into keystore and truststore, and wire up eureka client/instance properties
- place the trust-store and keystore in the `$TMPDIR` and reference them by absolute path.
- add a `pem` package for parsing and converting PEM encoded RSA keys
and certificates. (This package may eventually be replaced by the PEM
package in spring-boot, but not until 3.1 is the minimum supported
boot version. The package here is copied from spring-boot but
simplified and made Java 8 compatible.)
Co-authored-by: Dave Walter <walterda@vmware.com >
Co-authored-by: Andrew Wittrock <awittrock@vmware.com >
Co-authored-by: Matt Royal <mroyal@vmware.com >
Co-authored-by: Paul Aly <maly7; paly@vmware.com >
2023-05-08 07:32:01 -07:00
Paketo Robot
67b9fa09e8
v1.12.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2023-01-10 16:43:42 +00:00
David O'Sullivan
92520eece0
Merge pull request #92 from spring-cloud/script-perm
...
Update promotion script permissions
2023-01-05 15:44:26 +00:00
David O'Sullivan
19aa776f9f
Update promotion script permissions
2023-01-05 15:43:46 +00:00
David O'Sullivan
89e76415b2
Merge pull request #91 from spring-cloud/javadocs
...
javadoc bug workaround
2023-01-03 14:21:56 +00:00
David O'Sullivan
98dffc6639
javadoc bug workaround
2023-01-03 14:19:38 +00:00
David O'Sullivan
c727d16ffd
Merge pull request #90 from pivotal-david-osullivan/javadocs
...
javadoc bug workaround
2023-01-03 11:49:21 +00:00
David O'Sullivan
969a16fa26
javadoc bug workaround
2023-01-03 11:47:33 +00:00
David O'Sullivan
012394bd27
Merge pull request #88 from pivotal-david-osullivan/javadocs
...
Corrects issues reported by javadoc plugin
2023-01-03 09:40:59 +00:00
David O'Sullivan
e300147c7a
Corrects issues reported by javadoc plugin
2022-12-23 11:28:05 +00:00
David O'Sullivan
d100e81d47
Adds support for promoting to maven central ( #78 )
...
* Adds support for promoting to maven central
2022-08-31 14:44:03 -04:00
Toshiaki Maki
38691add52
Fix postgresql url in README ( #81 )
2022-08-22 09:29:58 -04:00
Greg Meyer
662ccbff31
Resolving documentation for redis cluster nodes. ( #80 )
...
Co-authored-by: gm2552 <meyerg@vmware.com >
2022-08-19 14:58:18 -04:00
Daniel Mikusa
f807774639
Clarify that JDBC/R2DBC generated URLs ( #75 )
...
If allowing the mapping to generate a JDBC/R2DBC URL then all three of the fields are required, the host, port and database. If even one is not set, the information will not be mapped and the default value for the property will be used.
Reference: #74
Signed-off-by: Daniel Mikusa <dmikusa@vmware.com >
2022-07-25 08:48:21 -04:00
Paketo Robot
69fe11052d
v1.11.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2022-06-29 17:09:12 +00:00
Greg Meyer
c9fdc1e6b1
Adding logic to flex the MySQL r2dbc connection sting based on classpath ( #73 )
...
* Adding logic to flex the MySQL jdbc and r2dbc connection sting based on classpath
This PR is related to issue #72 .
Co-authored-by: gm2552 <meyerg@vmware.com >
2022-06-13 11:40:59 -04:00
Daniel Garnier-Moiroux
5ab708ff04
add support for redirect-uris key for oauth2 bindings ( #70 )
2022-05-19 14:41:18 -04:00
Daniel Garnier-Moiroux
ac28f74c7a
add support for authorization-grant-types key for oauth2 bindings ( #69 )
...
* add support for authorization-grant-types key for oauth2 bindings
* Introduce MapMapper.Source#when(Predicate<Object>)
* update readme with oauth2 -> authorization-grant-type(s)
2022-05-13 11:45:32 -04:00
Paketo Robot
e068759173
v1.10.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2022-05-02 13:40:22 +00:00
Paketo Robot
f9ea22be9f
v1.9.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2022-05-02 13:13:02 +00:00
Daniel Mikusa
1c417a299f
Update README.md ( #68 )
...
Add new PostgreSQL properties: sqlmode, sslrootcert, and options.
2022-04-27 13:50:31 -04:00
Marco Yeung
624fed286c
Added sslmode/sslrootcert for postgresql and cockroachdb ( #66 )
2022-04-27 13:47:29 -04:00
Max Brauer
dca042dab0
Document missing OAuth2 client properties ( #67 )
2022-04-26 15:54:47 -04:00
Gareth Evans
5fc11caefb
Adding support for SAP Hana bindings ( #64 )
...
* Add support for SAP Hana
2022-04-26 15:51:54 -04:00
Daniel Mikusa
751de400b2
Merge pull request #63 from beckermarc/patch-1
...
Mention K8s Service Binding Spec in README
2022-03-02 12:14:13 -05:00
Marc Becker
1e3bdce53d
Mention K8s Service Binding Spec in README
...
Judging from comments in the [Bindings](https://github.com/spring-cloud/spring-cloud-bindings/blob/main/src/main/java/org/springframework/cloud/bindings/Bindings.java ) and [Binding](https://github.com/spring-cloud/spring-cloud-bindings/blob/main/src/main/java/org/springframework/cloud/bindings/Binding.java ) class the Kubernetes Service Binding Specification superseded the Cloud Native Buildpacks Binding Specification.
The library supports both but seems to view the Kubernetes Service Binding Specification as the leading specification.
I updated the README to reflect this and to avoid to lead users to the "legacy" specification.
This also avoids confusion, when being linked from the servicebinding.io's [list of libraries](https://servicebinding.io/application-developer/ ) to this page, however finding a different binding specification in the README.
2022-03-02 08:52:01 +01:00
Daniel Mikusa
9936047a2d
Merge pull request #62 from garethjevans/patch-1
...
Minor spelling mistake in exception
2022-01-20 08:17:41 -05:00
Gareth Evans
6ae39f9e87
Minor spelling mistake in exception
2022-01-20 08:06:07 +00:00
Paketo Robot
24666ed766
v1.8.1-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2022-01-07 16:06:55 +00:00
Daniel Mikusa
1ee91b8719
Merge pull request #60 from spring-cloud/gh_issue_59
...
Add missing Spring Security OAuth2 bindings
2022-01-07 09:16:30 -05:00
Daniel Mikusa
541db563cf
Add missing Spring Security OAuth2 bindings
...
[This document](https://docs.spring.io/spring-security/site/docs/5.2.12.RELEASE/reference/html/oauth2.html#oauth2login-boot-property-mappings ) lists a handful of properties that are not currently being mapped from a binding to the Spring Security OAuth2 settings. This PR adds the missing properties.
Resolves #59 .
Signed-off-by: Daniel Mikusa <dmikusa@vmware.com >
2022-01-07 09:15:34 -05:00
Daniel Mikusa
d9d1a57237
Merge pull request #58 from spring-cloud/ci-updates
...
Switch to using a base image arg, so that the image can be passed into the dockerfile
2021-08-27 09:29:41 -04:00
Daniel Mikusa
23907f63b9
Switch to using a base image arg, so that the image can be passed into the dockerfile
...
Signed-off-by: Daniel Mikusa <dmikusa@vmware.com >
2021-08-27 09:28:59 -04:00
Paketo Robot
cc0e7d8086
v1.8.0-SNAPSHOT Development
...
Signed-off-by: Paketo Robot <robot@paketo.io >
2021-08-27 01:37:44 +00:00
Daniel Mikusa
cf11b5e886
Merge pull request #55 from cborealis/feature/activemq-artemis
...
Adding support for ActiveMQ Artemis
2021-08-26 21:12:40 -04:00
Emily Casey
d8d0518425
Merge pull request #57 from spring-cloud/polishing
...
Polishing #56 .
2021-08-22 14:35:49 -04:00
Daniel Mikusa
526db0d6b2
Polishing.
...
- Removes unnecessary log line
- Clarifies order for jdbc url vs library composed url
Signed-off-by: Daniel Mikusa <dmikusa@vmware.com >
2021-08-21 15:28:57 -04:00
Daniel Mikusa
91a9a8fbbc
Merge pull request #56 from spring-cloud/jdbc-url
...
Allow users to explicitly specify jdbc or r2dbc URLs
2021-08-21 15:21:33 -04:00