Commit Graph

648 Commits

Author SHA1 Message Date
Chris Bono
92bfe7cb55 Add support for AUTO_CONSUME schema type
See #380
2024-02-01 20:27:55 -06:00
Chris Bono
80f9b49461 Add ifPresentOrElse() API to Resolved
- Deprecate Resolved#get
- Add javadocs
- Improve unit test coverage

See #380

Add support for AUTO_CONSUME schema type

See #380
2024-02-01 20:27:55 -06:00
Chris Bono
0d59e2bd80 Add commons-compress 1.25.0 to buildSrc libs (#560)
This commit adds `org.apache.commmons:commons-compress:1.25.0` to the
buildSrc dependencies to ensure the same version required by the
Spring Boot plugin (1.25.0) is used.
2024-01-31 22:58:19 -06:00
Chris Bono
07fce0481a Update various dependencies (#556)
This commit updates various product and build dependencies via the
Gradle `versionCatalogUpdate` and`versionCatalogUpdateBuildLibsCatalog`
tasks, respectively.
2024-01-26 11:45:14 -06:00
Chris Bono
0ba22a4696 Update project version and Spring Boot version (#555)
This commit updates the project version to 1.1.x and the Spring
Boot version to 3.3.0-SNAPSHOT.

The version compatibility matrix is also updated to include a row for
the 1.1.x version.
2024-01-25 23:27:03 -06:00
Chris Bono
cf6d3ab1f2 [Docs] Update Micrometer tracing docs link 2024-01-25 20:27:43 -06:00
Eric Haag
8546eff0db Add Revved up by Develocity badge (#553) 2024-01-25 20:20:44 -06:00
Chris Bono
dbec20fd61 Polish "Favor unchecked exceptions in APIs"
* Update copyrights
* Re-order PulsarException constructors
* Remove try/catch in DefaultPulsarProducerFactory.createProducer
2024-01-25 20:12:16 -06:00
JonasG
1126c468ca Favor unchecked exceptions in APIs
This commit replaces usages of the checked PulsarClientException with
the newly introduced unchecked PulsarException.

Resolves #547
2024-01-25 20:12:16 -06:00
Chris Bono
6182d15e6b [CI] Update Github workflows for 1.0.x
Remove 0.2.x from workflows in main
2024-01-25 18:37:06 -06:00
Chris Bono
645e4480d9 Add tests for SpEL attributes (#549)
For each of @PulsarListener, @PulsarReader, @ReactivePulsarListener:

* Add tests for SpEL attributes
* Update Javadocs for SpEL attributes 

Resolves #86
2024-01-23 11:36:28 -06:00
Chris Bono
206621203d [CI] Include version.samples property update in release workflow 2024-01-15 21:43:44 -06:00
github-actions[bot]
dc23c52610 [Release 1.0.2] Next development version 2024-01-16 02:58:45 +00:00
Chris Bono
0a880746f5 [Samples] Use version.samples property in samples 2024-01-15 18:52:08 -06:00
github-actions[bot]
09f3971ff1 [Release 1.0.2] Update version 2024-01-15 18:52:08 -06:00
Chris Bono
3bc2658aa8 Update Pulsar Reactive Client to 0.5.2
* Also updates mockito to 5.9.0

Resolves #540
2024-01-15 15:01:24 -06:00
Chris Bono
98059d7b3a [CI] Add Spring Boot 3.3.0-SNAPSHOT to check-samples in ci.yml 2024-01-15 15:01:24 -06:00
Chris Bono
a0a05cdef7 [Samples] Make sample-pulsar-binder testable 2024-01-15 14:26:02 -06:00
Chris Bono
3667169c11 [CI] Add Spring Boot 3.3.0-SNAPSHOT to check-samples in ci-pr.yml 2024-01-15 14:26:02 -06:00
Chris Bono
bbdba009b4 [Samples] Make sample-reactive testable 2024-01-15 14:26:02 -06:00
Chris Bono
3f9fad42e8 [Samples] Simplify sample apps build.gradle 2024-01-15 14:26:02 -06:00
Chris Bono
12334ffcfc [Samples] Make sample-pulsar-reader testable 2024-01-15 14:26:02 -06:00
Chris Bono
186e2397d2 [CI] Fix check-samples.yml invalid variable reference (attempt 2) 2024-01-14 11:47:45 -06:00
Chris Bono
abc7c8415f [CI] Fix check-samples.yml invalid variable reference 2024-01-14 11:44:27 -06:00
Chris Bono
1153a1fe96 Allow samples to be run from IntelliJ or bootRun
This commit adjust the `spring.docker.compose.file` property value to
allow running the sample via IntelliJ "run" button or from command line
via `./gradlew bootRun`.
2024-01-14 11:40:25 -06:00
Chris Bono
ba05e7e724 [CI] Add Spring Boot 3.3.0 compatibility check 2024-01-14 11:40:25 -06:00
Chris Bono
1f260841e8 Update dependencies for 2024-01 release train (#541)
This commit updates various dependencies, including:
- Spring Framework 6.1.3
- Micrometer 1.12.2
- Micrometer Tracing 1.2.2
- Reactor 2023.0.2

Resolves #534
2024-01-12 16:55:34 -06:00
Chris Bono
fe1e93e48c Update to Pulsar 3.1.2 (#538)
Resolves #534
2024-01-09 17:47:10 -06:00
Chris Bono
66a8e2f9e2 Adjust BOM to include java platform (#536) 2024-01-03 15:59:11 -06:00
Chris Bono
14fa5460fc Add BOM (spring-pulsar-bom) module (#535) 2024-01-03 13:02:06 -06:00
Chris Bono
a52532de53 Add Jacoco code coverage violation rules (#533)
This commit adds Jacoco violation rules as well as the following:
- fails the PR workflow if rules are violated
- uploads the report if the rules are violated
- replaces JacocoConventionsPlugin (Java) with a simple groovy script

Resolves #511
2024-01-01 12:37:55 -06:00
Chris Bono
653196f6a0 Use version catalog to drive java platform (#531)
* Use version catalog to drive Java platform

This commit incorporates the use of the Gradle version catalog as well
as the related plugins to automatically update the libs.version.toml
versions file with updated dependencies.

The UpdateProjectVersionPlugin is also updated to modify the spring
boot version  property in the `libs.versions.toml` versions file rather than
gradle.properties.

Resolves #523
2023-12-27 15:43:19 -06:00
Chris Bono
b0a81f9f5a Update to Spring Boot 3.2.2-SNAPSHOT (#530) 2023-12-21 22:58:13 -06:00
github-actions[bot]
afa1136ef9 [Release 1.0.1] Next development version 2023-12-18 00:24:39 +00:00
Chris Bono
ed0eb47866 [Release 1.0.1] Update version (#528)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-17 17:20:09 -06:00
Chris Bono
c743ad5e03 Update Pulsar Reactive Client to 0.5.1 (#527)
Resolves #525
2023-12-17 16:35:44 -06:00
Chris Bono
c36b4cd071 Fix authentication doc for OAuth2 (#526)
This commit fixes the name of the `pluginClassName` for the OAuth2
provider in authentication.adoc

See #500
2023-12-17 15:14:02 -06:00
Chris Bono
c10b94f195 Update Spring Retry 2.0.5 (#524) 2023-12-15 22:50:44 -06:00
Vedran Pavic
cf782afb78 Deprecate (Reactive)PulsarListenerEndpointAdapter (#481)
This commit deprecates PulsarListenerEndpointAdapter and 
ReactivePulsarListenerEndpointAdapter in favor of default methods on 
ListenerEndpoint and its sub-interfaces, which makes it a bit easier to
provide custom ListenerEndpoint implementations.
2023-12-15 21:39:39 -06:00
Chris Bono
aebb7112d1 [CI] Do not create branch for new release (#522)
Previously a new branch was created and tagged for every GA release.
This commit removes the branch creation and simply tags the current
branch with the release version.

Resolves #498
2023-12-15 21:21:26 -06:00
Chris Bono
a642364d16 Update Spring Framework to 6.1.2 (#520)
Resolves #514
2023-12-14 13:03:12 -06:00
Chris Bono
10915b77af Update spring-doc-actions to v0.0.13 (#521) 2023-12-14 11:51:19 -06:00
Chris Bono
d296e6862a Close cache safely in DefaultReactivePulsarSenderFactory close() (#519)
Fixes https://github.com/spring-projects/spring-boot/issues/38161
2023-12-13 21:45:06 -06:00
Chris Bono
66a75d1e26 Update Gradle 8.5 (#518) 2023-12-12 15:31:00 -06:00
Chris Bono
f376ea8f51 Update dependencies for Micrometer and Reactor (#517)
* Update Micrometer BOM to 1.12.1

Resolves #512

* Update Micrometer Tracing BOM to 1.2.1

Resolves #515

* Update Reactor OM to 2023.0.1

Resolves #513
2023-12-12 13:56:12 -06:00
Chris Bono
5423bccd56 [CI] Fix Trivy scan in both CI and CI PR workflows (take2) 2023-12-11 23:42:49 -06:00
Chris Bono
556f285fc2 [CI] Fix Trivy scan in both CI and CI PR workflows 2023-12-11 23:06:39 -06:00
Chris Bono
843e02ce65 [CI] Guard code scanning workflows for main repo only 2023-12-11 00:32:56 -06:00
Chris Bono
b67326e12e [CI] Fix trivy standalone workflow 2023-12-11 00:28:04 -06:00
Chris Bono
b057465f33 [CI] Add separate Trivy workflow (trivy-scan.yml) 2023-12-10 17:07:18 -06:00