Commit Graph

44 Commits

Author SHA1 Message Date
Paketo Robot
5cd78bca2f v2.0.2-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2023-08-12 02:56:33 +00:00
Anthony Dahanne
d83f3bfdac Add gpg plugin to parent pom, skip deploy for tests 2023-07-21 15:10:36 -04: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
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
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
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
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
98dffc6639 javadoc bug workaround 2023-01-03 14:19:38 +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
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
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
Paketo Robot
24666ed766 v1.8.1-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2022-01-07 16:06:55 +00: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
Paketo Robot
12b88ac5fe v1.7.2-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2021-03-30 22:57:14 +00:00
Emily Casey
5ba509e30e Set version back to 1.7.1-SNAPSHOT
Next release will be a patch release that includes the following bugfix:
* Fixes postgresql jdbc url - https://github.com/spring-cloud/spring-cloud-bindings/pull/53

Signed-off-by: Emily Casey <ecasey@vmware.com>
2021-03-30 13:04:33 -04:00
Paketo Robot
6d63dc8599 v1.8.1-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2021-03-30 13:00:42 -04:00
Paketo Robot
355b459b91 v1.8.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-11-18 01:19:16 +00:00
Paketo Robot
395a52217b v1.7.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-08-27 19:14:58 +00:00
Ben Hale
dd3f97ea00 Spring Boot 2.0 Compatibility
Previously, the library utilized an API from Spring Boot that arrived in
2.1.0.  Support for Spring Boot 2.0 compatibility was requested and we can
trivially add that support even though Boot 2.0 is EOL.  This change updates
the use of the API to be Boot 2.0 compatible.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-08-27 12:05:08 -07:00
Paketo Robot
7daf958e1c v1.6.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-08-17 23:37:38 +00:00
Paketo Robot
5582a8e9f1 v1.5.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-17 22:30:40 +00:00
Paketo Robot
782d5d075e v1.4.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-16 00:29:09 +00:00
Paketo Robot
819ce87bfe v1.3.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-14 18:06:55 +00:00
Paketo Robot
131f2c90b3 v1.2.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-01 22:10:27 +00:00
Ben Hale
50b1c034ee Artifact Name
This change updates the name of the artifact so that it's more descriptive and
aligns with other Spring Cloud projects.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-07-01 15:04:34 -07:00
Paketo Robot
53edc5d96c v1.1.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-01 22:03:35 +00:00
Paketo Robot
ce2d1cb988 v1.0.1-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-01 21:57:15 +00:00
Paketo Robot
d1f76e6283 v1.0.0-SNAPSHOT Development
Signed-off-by: Paketo Robot <robot@paketo.io>
2020-07-01 21:43:52 +00:00
Ben Hale
6163be2aa7 ApplicationEventListeners
Previously, the implementations of the EnvironmentPostProcessors added
ApplicationEventListener to their interface as well.  These implementations
tested fine, but of course since there was no full integration test to ensure
that they were registered I forgot to add them to spring.factories.

This change adds their declarations as ApplicationEventListeners to the
spring.factories file and ensures that the logs are replayed when the
application is finished preparing.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-15 17:27:58 -07:00
Ben Hale
a33dcf034b Guards Should Use Environment
Previously all of the guard behavior was triggered by the contents of
environment variables.  In a Spring Boot application, looking at the
environment isn't the only way to get configuration.  This change updates the
guards to use the Environment for configuration retrieval.

[resolves #30]

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-11 14:24:41 -07:00
Ben Hale
c4721e9510 Flattened Bindings
Another common way to use bindings, even without auto-configuration is to
refer to them in a flattened form within other properties. An example would be
`spring.datasource.password=cnb.bindings.my-db.secret.password`.  This change
adds an EnvironmentPostProcessor that contributes these flattened bindings in
a PropertySource.

[resolves #24]

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-11 11:26:16 -07:00
Ben Hale
de2422fdf5 Per-kind Disabling
Previously, auto-configuration of all kinds of bindings were either enabled or
disabled en-mass.  This level of granularity wasn't really appropriate in
practice as it many use-cases could be served with some bindings but not
others.  This change updates each auto-configuration to watch for a particular
key to be disabled.

[resolves #29]

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-11 09:36:54 -07:00
Ben Hale
7491ff56e1 Polishing
Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-09 09:23:05 -07:00
Ben Hale
ff878c8c95 Single Project
And now we arrive at the end, a single concise project.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-09 09:03:58 -07:00
Ben Hale
71bfec3084 Bindings
* Simplify name from CnbBindings (a convention that makes my eyes bleed) so
that you aren't stuttering.  I'm still a bit undecided on the naming of the
modules themselves as well.

* Documentation, documentation, documentation!

* Lots of the final keyword.  Prevents unanticipated modification via extension.

* Constructor/Method overloading allows you to isolate the behaviors that are
really hard to test.  Note that I've isolated everything that needs to read
from the environment and feel confident that the methods that include it are
so trivial they're not worth testing.  Some overloads are non-public to enable
testing but not later usage.

* Since this is a public API, I'm being really verbose with the nullability
annotations.  Most of the time you wouldn't use them, by they do make IDE
users' lives better.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-08 17:20:58 -07:00
Ben Hale
80941c6fe8 POM File Cleanup
Previously there was a lot of cruft in the POM file that related to previous
examples of this library.  When in doubt, trust Boot's opinions and minimize
your POM's as much as possible.  We can always add it back in the future.

Signed-off-by: Ben Hale <bhale@vmware.com>
2020-05-08 15:50:46 -07:00
Emily Casey
de13fcd0f0 Initial commit
* sets up framework
* provides mysql binding

Signed-off-by: Emily Casey <ecasey@pivotal.io>
2020-04-28 16:14:37 -04:00