197 Commits

Author SHA1 Message Date
Anthony Dahanne
27a6bb21cb Prepare for next release 2024-11-12 14:18:53 -05:00
Anthony Dahanne
0ebb87c537 Merge pull request #113 from kvmw/kvmw/eureka
Adds zone and load-balancer configuration for eureka
2024-11-12 14:09:05 -05:00
kvmw
09451c11a4 Detect runtime platform using CloudPlatform
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-11-08 15:26:42 +01:00
kvmw
3572d747d1 Supports zone-configuratin for eureka
Signed-off-by: kvmw <mshamsi@broadcom.com>
2024-11-07 10:29:40 +01:00
Anthony Dahanne
18db60a113 Prepare for next release 2024-03-22 12:17:46 -04:00
Kaveh Shamsi
e9b5e1609f Supports mTLS for config-server clients (#109)
* Supports mTLS for config-server clients

* Common KeyStore codecleanup and refactoring

Signed-off-by: kvmw <mshamsi@vmware.com>

---------

Signed-off-by: kvmw <mshamsi@vmware.com>
2024-03-22 10:51:17 -04:00
Toshiaki Maki
9be8ffbff9 Update Wavefront property names (#107)
* Update Wavefront property names
Wavefront property names have changed since Spring Boot 3.0
https://docs.spring.io/spring-boot/docs/3.0.0/reference/html/actuator.html#actuator.metrics.export.wavefront
fixes #97
2024-01-24 09:32:30 -05:00
Anthony Dahanne
5df853e6ee Merge pull request #105 from spring-cloud/fix-unclosed-streams
Fix unclosed streams
2023-08-15 10:49:32 -04:00
Anthony Dahanne
ec894cb82f Fix unclosed streams
* missing one, found by @violetagg
2023-08-14 09:44:05 -04:00
Anthony Dahanne
1abd516456 Fix unclosed streams
* modernize a switch statement
* make sure Files.path() properly closes its directory, using try-with-resources
2023-08-11 23:21:19 -04:00
Paketo Robot
5cd78bca2f v2.0.2-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2023-08-12 02:56:33 +00:00
David O'Sullivan
91952768ce Merge pull request #104 from spring-cloud/fix-release2
Fix release2
2023-08-04 14:02:23 +01:00
Anthony Dahanne
d83f3bfdac Add gpg plugin to parent pom, skip deploy for tests 2023-07-21 15:10:36 -04:00
Paketo Robot
d059190218 v2.0.1-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2023-07-21 14:43:17 -04:00
Anthony Dahanne
d6312f480e Add all poms to bump 2023-07-21 14:40:46 -04:00
David O'Sullivan
48bca184f7 Merge pull request #103 from spring-cloud/fix-release
Fix release
2023-07-21 16:27:14 +01:00
Paketo Robot
e8c5b9378f v2.0.1-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2023-07-21 15:13:41 +00:00
Anthony Dahanne
39add486ae Only deploy main jar 2023-07-21 10:05:33 -04:00
Anthony Dahanne
b3a8e69f5e Fix path to concourse-release-scripts.jar
* the image providing it, springio/concourse-release-scripts:0.3.4, makes it avaialble from / directly, not /opt
2023-07-20 17:31:44 -04:00
Anthony Dahanne
fe06bd60cc Add all poms to git add 2023-07-20 16:57:12 -04:00
Anthony Dahanne
7f20fb23ba Merge pull request #101 from spring-cloud/fix-ci
Remove concourse-release-scripts
2023-06-30 12:02:32 -04:00
Anthony Dahanne
d19edffe63 Remove concourse-release-scripts
* it's advised to use the image now, as in: 472361080e
2023-06-26 23:30:12 -04:00
Anthony Dahanne
dc94c4d4b8 Merge pull request #99 from spring-cloud/boot3-compat-no-2
Spring Boot 3 Compatibility on main branch
2023-06-22 10:41:58 -04:00
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