-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pusher on App Engine sample #798
Conversation
Closing this pull request, it looks like the code will need to live @ community repository for it to be embedded in the article. |
@lesv : reopening, it feels better to have this code reviewed and exist in our repository. I might clone it as needed for the community article. |
|
||
#### Setup Pusher | ||
|
||
- Create a [Pusher] application and note down the `app_id`, `app_key`, `app_secret` and the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is [Pusher] enough?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that seems to work.
<version>1.0-SNAPSHOT</version> | ||
<groupId>com.example.appengine</groupId> | ||
<artifactId>appengine-pusher-chat</artifactId> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parent pom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd missed that, just added.
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>20.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
22?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for support with 1.7, 20.0 is the last version we can use.
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>servlet-api</artifactId> | ||
<version>2.5</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3.1 and target GAE Std J8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed offline
@@ -0,0 +1,49 @@ | |||
# Pusher sample for Google App Engine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this go in J8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed, I will leave it here for now, but will submit a separate PR for J8
appengine/pusher-chat/pom.xml
Outdated
<version>3.3</version> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<configuration> | ||
<source>1.7</source> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.8
appengine/pusher-chat/pom.xml
Outdated
<artifactId>appengine-pusher-chat</artifactId> | ||
|
||
<properties> | ||
<maven.compiler.source>1.8</maven.compiler.source> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't match below -- nor is below actually needed.
appengine/pusher-chat/README.md
Outdated
|
||
- Create a [Pusher] application and note down the `app_id`, `app_key`, `app_secret` and the cluster. | ||
- Update [appengine-web.xml](src/main/webapp/WEB-INF/appengine-web.xml) with these credentials. | ||
- Update Line 71 in [chat.jsp](src/main/webapp/WEB-INF/view/chat.jsp) with the `app_id` and cluster information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we could do a jsp to grab it from appengine-web.xml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wanted to keep the client side initialization simple and decoupled from the server-side to keep it easier to understand. It would be possible to do it via ServletContextListener
and then access the data in both places. I can see it being a problem for testing though, let me know what you think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking just access a public constant from the jsp, but I can imagine more. I'm also totally ok to skip this.
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | ||
version="2.5"> | ||
<servlet> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 3.1 annotations in the source files
@lesv PTAL when you get a chance |
|
||
// Connect to Pusher with auth endpoint on your server for private/presence channels | ||
// (default auth endpoint : /pusher/auth) | ||
var pusher = new Pusher('<%= PusherService.APP_KEY %>', { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switched to static vars, @lesv
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
…web to v2.7.0 (#798) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-starter-web](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.6.7` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/compatibility-slim/2.6.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/confidence-slim/2.6.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spring-projects/spring-boot</summary> ### [`v2.7.0`](https://togithub.com/spring-projects/spring-boot/releases/v2.7.0) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.6.8...v2.7.0) #### ⭐ New Features - Revert to using "application/json" as default MIME type for GraphQL while remaining compatible with "application/graphql+json" [#​30860](https://togithub.com/spring-projects/spring-boot/issues/30860) - Allow customization of single logout in auto-configured SAML relying party registration [#​30128](https://togithub.com/spring-projects/spring-boot/issues/30128) #### 🐞 Bug Fixes - Default properties configured on SpringApplication have higher precedence than properties configured with `@PropertySource` [#​31093](https://togithub.com/spring-projects/spring-boot/issues/31093) - A failure when an instrumented WebClient records metrics causes the request to fail [#​31089](https://togithub.com/spring-projects/spring-boot/issues/31089) - Dependency management for Artemis is incomplete [#​31079](https://togithub.com/spring-projects/spring-boot/issues/31079) - Configuration properties for Statsd's buffered and step properties are missing [#​31059](https://togithub.com/spring-projects/spring-boot/issues/31059) - Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint [#​30887](https://togithub.com/spring-projects/spring-boot/issues/30887) - `@ConditionalOnProperty` meta annotation with `@AliasFor` does not work [#​30874](https://togithub.com/spring-projects/spring-boot/issues/30874) - Event handling in JobExecutionExitCodeGenerator is not thread-safe [#​30846](https://togithub.com/spring-projects/spring-boot/issues/30846) - Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later [#​30791](https://togithub.com/spring-projects/spring-boot/issues/30791) - Cryptic startup failure with bare LOGGING_LEVEL environment variable [#​30789](https://togithub.com/spring-projects/spring-boot/issues/30789) - SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used [#​30787](https://togithub.com/spring-projects/spring-boot/issues/30787) - spring.security.saml2.relyingparty.registration.*.asserting-party.* properties contain unwanted hyphen in asserting-party [#​30785](https://togithub.com/spring-projects/spring-boot/issues/30785) - DevTools sets deprecated spring.mustache.cache property [#​30774](https://togithub.com/spring-projects/spring-boot/pull/30774) #### 📔 Documentation - Extend documentation on Datadog metrics [#​30997](https://togithub.com/spring-projects/spring-boot/issues/30997) - Fix link to Upgrading From 1.x in multi-page documentation [#​30995](https://togithub.com/spring-projects/spring-boot/issues/30995) - Document support for Java 18 [#​30782](https://togithub.com/spring-projects/spring-boot/issues/30782) #### 🔨 Dependency Upgrades - Upgrade to ActiveMQ 5.16.5 [#​30927](https://togithub.com/spring-projects/spring-boot/issues/30927) - Upgrade to Byte Buddy 1.12.10 [#​30928](https://togithub.com/spring-projects/spring-boot/issues/30928) - Upgrade to Cassandra Driver 4.14.1 [#​30929](https://togithub.com/spring-projects/spring-boot/issues/30929) - Upgrade to Couchbase Client 3.2.7 [#​30930](https://togithub.com/spring-projects/spring-boot/issues/30930) - Upgrade to Couchbase Client 3.3.0 [#​31031](https://togithub.com/spring-projects/spring-boot/issues/31031) - Upgrade to Elasticsearch 7.17.3 [#​30931](https://togithub.com/spring-projects/spring-boot/issues/30931) - Upgrade to Flyway 8.5.11 [#​31080](https://togithub.com/spring-projects/spring-boot/issues/31080) - Upgrade to GraphQL Java 18.1 [#​30859](https://togithub.com/spring-projects/spring-boot/issues/30859) - Upgrade to Hibernate 5.6.9.Final [#​31081](https://togithub.com/spring-projects/spring-boot/issues/31081) - Upgrade to Infinispan 13.0.10.Final [#​30933](https://togithub.com/spring-projects/spring-boot/issues/30933) - Upgrade to Jackson Bom 2.13.3 [#​31046](https://togithub.com/spring-projects/spring-boot/issues/31046) - Upgrade to Jaybird 4.0.6.java8 [#​30934](https://togithub.com/spring-projects/spring-boot/issues/30934) - Upgrade to Johnzon 1.2.18 [#​30935](https://togithub.com/spring-projects/spring-boot/issues/30935) - Upgrade to Kafka 3.1.1 [#​31047](https://togithub.com/spring-projects/spring-boot/issues/31047) - Upgrade to Micrometer 1.9.0 [#​31013](https://togithub.com/spring-projects/spring-boot/issues/31013) - Upgrade to Mockito 4.5.1 [#​30936](https://togithub.com/spring-projects/spring-boot/issues/30936) - Upgrade to MSSQL JDBC 10.2.1.jre8 [#​31048](https://togithub.com/spring-projects/spring-boot/issues/31048) - Upgrade to MySQL 8.0.29 [#​30937](https://togithub.com/spring-projects/spring-boot/issues/30937) - Upgrade to Netty 4.1.77.Final [#​30938](https://togithub.com/spring-projects/spring-boot/issues/30938) - Upgrade to Postgresql 42.3.5 [#​30939](https://togithub.com/spring-projects/spring-boot/issues/30939) - Upgrade to Reactor Bom 2020.0.19 [#​30940](https://togithub.com/spring-projects/spring-boot/issues/30940) - Upgrade to Selenium 4.1.4 [#​30941](https://togithub.com/spring-projects/spring-boot/issues/30941) - Upgrade to Selenium HtmlUnit 3.61.0 [#​30855](https://togithub.com/spring-projects/spring-boot/issues/30855) - Upgrade to SendGrid 4.9.2 [#​31116](https://togithub.com/spring-projects/spring-boot/issues/31116) - Upgrade to Spring AMQP 2.4.5 [#​31022](https://togithub.com/spring-projects/spring-boot/issues/31022) - Upgrade to Spring Batch 4.3.6 [#​31020](https://togithub.com/spring-projects/spring-boot/issues/31020) - Upgrade to Spring Data 2021.2.0 [#​31015](https://togithub.com/spring-projects/spring-boot/issues/31015) - Upgrade to Spring for GraphQL 1.0.0 [#​30858](https://togithub.com/spring-projects/spring-boot/issues/30858) - Upgrade to Spring Framework 5.3.20 [#​31014](https://togithub.com/spring-projects/spring-boot/issues/31014) - Upgrade to Spring HATEOAS 1.5.0 [#​31016](https://togithub.com/spring-projects/spring-boot/issues/31016) - Upgrade to Spring Integration 5.5.12 [#​31062](https://togithub.com/spring-projects/spring-boot/issues/31062) - Upgrade to Spring Kafka 2.8.6 [#​31018](https://togithub.com/spring-projects/spring-boot/issues/31018) - Upgrade to Spring LDAP 2.4.0 [#​31017](https://togithub.com/spring-projects/spring-boot/issues/31017) - Upgrade to Spring Security 5.7.1 [#​31100](https://togithub.com/spring-projects/spring-boot/issues/31100) - Upgrade to Spring Session Bom 2021.2.0 [#​31021](https://togithub.com/spring-projects/spring-boot/issues/31021) - Upgrade to Tomcat 9.0.63 [#​31082](https://togithub.com/spring-projects/spring-boot/issues/31082) - Upgrade to UnboundID LDAPSDK 6.0.5 [#​30942](https://togithub.com/spring-projects/spring-boot/issues/30942) #### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​izeye](https://togithub.com/izeye) - [@​luojianet](https://togithub.com/luojianet) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​eddumelendez](https://togithub.com/eddumelendez) - [@​mmoayyed](https://togithub.com/mmoayyed) - [@​ssobue](https://togithub.com/ssobue) - [@​christophejan](https://togithub.com/christophejan) - [@​dugenkui03](https://togithub.com/dugenkui03) - [@​denisw](https://togithub.com/denisw) - [@​terminux](https://togithub.com/terminux) ### [`v2.6.8`](https://togithub.com/spring-projects/spring-boot/releases/v2.6.8) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.6.7...v2.6.8) ##### 🐞 Bug Fixes - Default properties configured on SpringApplication have higher precedence than properties configured with `@PropertySource` [#​31092](https://togithub.com/spring-projects/spring-boot/issues/31092) - A failure when an instrumented WebClient records metrics causes the request to fail [#​31088](https://togithub.com/spring-projects/spring-boot/issues/31088) - Dependency management for Artemis is incomplete [#​31078](https://togithub.com/spring-projects/spring-boot/issues/31078) - Configuration properties for Statsd's buffered and step properties are missing [#​31058](https://togithub.com/spring-projects/spring-boot/issues/31058) - Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint [#​30886](https://togithub.com/spring-projects/spring-boot/issues/30886) - `@ConditionalOnProperty` meta annotation with `@AliasFor` does not work [#​30873](https://togithub.com/spring-projects/spring-boot/issues/30873) - Event handling in JobExecutionExitCodeGenerator is not thread-safe [#​30845](https://togithub.com/spring-projects/spring-boot/issues/30845) - Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later [#​30790](https://togithub.com/spring-projects/spring-boot/issues/30790) - Cryptic startup failure with bare LOGGING_LEVEL environment variable [#​30788](https://togithub.com/spring-projects/spring-boot/issues/30788) - SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used [#​30786](https://togithub.com/spring-projects/spring-boot/issues/30786) ##### 📔 Documentation - Extend documentation on Datadog metrics [#​30996](https://togithub.com/spring-projects/spring-boot/issues/30996) - Fix link to Upgrading From 1.x in multi-page documentation [#​30994](https://togithub.com/spring-projects/spring-boot/issues/30994) - Document support for Java 18 [#​30781](https://togithub.com/spring-projects/spring-boot/issues/30781) ##### 🔨 Dependency Upgrades - Upgrade to ActiveMQ 5.16.5 [#​30917](https://togithub.com/spring-projects/spring-boot/issues/30917) - Upgrade to Couchbase Client 3.2.7 [#​30918](https://togithub.com/spring-projects/spring-boot/issues/30918) - Upgrade to Hazelcast 4.2.5 [#​30919](https://togithub.com/spring-projects/spring-boot/issues/30919) - Upgrade to Hibernate 5.6.9.Final [#​31041](https://togithub.com/spring-projects/spring-boot/issues/31041) - Upgrade to Jackson Bom 2.13.3 [#​31042](https://togithub.com/spring-projects/spring-boot/issues/31042) - Upgrade to Jaybird 4.0.6.java8 [#​30920](https://togithub.com/spring-projects/spring-boot/issues/30920) - Upgrade to Johnzon 1.2.18 [#​30921](https://togithub.com/spring-projects/spring-boot/issues/30921) - Upgrade to Micrometer 1.8.6 [#​31007](https://togithub.com/spring-projects/spring-boot/issues/31007) - Upgrade to MySQL 8.0.29 [#​30922](https://togithub.com/spring-projects/spring-boot/issues/30922) - Upgrade to Netty 4.1.77.Final [#​30923](https://togithub.com/spring-projects/spring-boot/issues/30923) - Upgrade to Netty tcNative 2.0.52.Final [#​30924](https://togithub.com/spring-projects/spring-boot/issues/30924) - Upgrade to Postgresql 42.3.5 [#​30925](https://togithub.com/spring-projects/spring-boot/issues/30925) - Upgrade to Reactor Bom 2020.0.19 [#​30926](https://togithub.com/spring-projects/spring-boot/issues/30926) - Upgrade to Spring AMQP 2.4.5 [#​31009](https://togithub.com/spring-projects/spring-boot/issues/31009) - Upgrade to Spring Batch 4.3.6 [#​31011](https://togithub.com/spring-projects/spring-boot/issues/31011) - Upgrade to Spring Framework 5.3.20 [#​31043](https://togithub.com/spring-projects/spring-boot/issues/31043) - Upgrade to Spring HATEOAS 1.4.3 [#​31008](https://togithub.com/spring-projects/spring-boot/issues/31008) - Upgrade to Spring Integration 5.5.12 [#​31061](https://togithub.com/spring-projects/spring-boot/issues/31061) - Upgrade to Spring Kafka 2.8.6 [#​31010](https://togithub.com/spring-projects/spring-boot/issues/31010) - Upgrade to Spring LDAP 2.3.8.RELEASE [#​31044](https://togithub.com/spring-projects/spring-boot/issues/31044) - Upgrade to Spring Security 5.6.5 [#​31102](https://togithub.com/spring-projects/spring-boot/issues/31102) - Upgrade to Tomcat 9.0.63 [#​31071](https://togithub.com/spring-projects/spring-boot/issues/31071) ##### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​izeye](https://togithub.com/izeye) - [@​luojianet](https://togithub.com/luojianet) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​eddumelendez](https://togithub.com/eddumelendez) - [@​christophejan](https://togithub.com/christophejan) - [@​dugenkui03](https://togithub.com/dugenkui03) - [@​denisw](https://togithub.com/denisw) - [@​terminux](https://togithub.com/terminux) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise).
…web to v2.7.0 (#798) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.springframework.boot:spring-boot-starter-web](https://spring.io/projects/spring-boot) ([source](https://togithub.com/spring-projects/spring-boot)) | `2.6.7` -> `2.7.0` | [![age](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/compatibility-slim/2.6.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.springframework.boot:spring-boot-starter-web/2.7.0/confidence-slim/2.6.7)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spring-projects/spring-boot</summary> ### [`v2.7.0`](https://togithub.com/spring-projects/spring-boot/releases/v2.7.0) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.6.8...v2.7.0) #### ⭐ New Features - Revert to using "application/json" as default MIME type for GraphQL while remaining compatible with "application/graphql+json" [#​30860](https://togithub.com/spring-projects/spring-boot/issues/30860) - Allow customization of single logout in auto-configured SAML relying party registration [#​30128](https://togithub.com/spring-projects/spring-boot/issues/30128) #### 🐞 Bug Fixes - Default properties configured on SpringApplication have higher precedence than properties configured with `@PropertySource` [#​31093](https://togithub.com/spring-projects/spring-boot/issues/31093) - A failure when an instrumented WebClient records metrics causes the request to fail [#​31089](https://togithub.com/spring-projects/spring-boot/issues/31089) - Dependency management for Artemis is incomplete [#​31079](https://togithub.com/spring-projects/spring-boot/issues/31079) - Configuration properties for Statsd's buffered and step properties are missing [#​31059](https://togithub.com/spring-projects/spring-boot/issues/31059) - Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint [#​30887](https://togithub.com/spring-projects/spring-boot/issues/30887) - `@ConditionalOnProperty` meta annotation with `@AliasFor` does not work [#​30874](https://togithub.com/spring-projects/spring-boot/issues/30874) - Event handling in JobExecutionExitCodeGenerator is not thread-safe [#​30846](https://togithub.com/spring-projects/spring-boot/issues/30846) - Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later [#​30791](https://togithub.com/spring-projects/spring-boot/issues/30791) - Cryptic startup failure with bare LOGGING_LEVEL environment variable [#​30789](https://togithub.com/spring-projects/spring-boot/issues/30789) - SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used [#​30787](https://togithub.com/spring-projects/spring-boot/issues/30787) - spring.security.saml2.relyingparty.registration.*.asserting-party.* properties contain unwanted hyphen in asserting-party [#​30785](https://togithub.com/spring-projects/spring-boot/issues/30785) - DevTools sets deprecated spring.mustache.cache property [#​30774](https://togithub.com/spring-projects/spring-boot/pull/30774) #### 📔 Documentation - Extend documentation on Datadog metrics [#​30997](https://togithub.com/spring-projects/spring-boot/issues/30997) - Fix link to Upgrading From 1.x in multi-page documentation [#​30995](https://togithub.com/spring-projects/spring-boot/issues/30995) - Document support for Java 18 [#​30782](https://togithub.com/spring-projects/spring-boot/issues/30782) #### 🔨 Dependency Upgrades - Upgrade to ActiveMQ 5.16.5 [#​30927](https://togithub.com/spring-projects/spring-boot/issues/30927) - Upgrade to Byte Buddy 1.12.10 [#​30928](https://togithub.com/spring-projects/spring-boot/issues/30928) - Upgrade to Cassandra Driver 4.14.1 [#​30929](https://togithub.com/spring-projects/spring-boot/issues/30929) - Upgrade to Couchbase Client 3.2.7 [#​30930](https://togithub.com/spring-projects/spring-boot/issues/30930) - Upgrade to Couchbase Client 3.3.0 [#​31031](https://togithub.com/spring-projects/spring-boot/issues/31031) - Upgrade to Elasticsearch 7.17.3 [#​30931](https://togithub.com/spring-projects/spring-boot/issues/30931) - Upgrade to Flyway 8.5.11 [#​31080](https://togithub.com/spring-projects/spring-boot/issues/31080) - Upgrade to GraphQL Java 18.1 [#​30859](https://togithub.com/spring-projects/spring-boot/issues/30859) - Upgrade to Hibernate 5.6.9.Final [#​31081](https://togithub.com/spring-projects/spring-boot/issues/31081) - Upgrade to Infinispan 13.0.10.Final [#​30933](https://togithub.com/spring-projects/spring-boot/issues/30933) - Upgrade to Jackson Bom 2.13.3 [#​31046](https://togithub.com/spring-projects/spring-boot/issues/31046) - Upgrade to Jaybird 4.0.6.java8 [#​30934](https://togithub.com/spring-projects/spring-boot/issues/30934) - Upgrade to Johnzon 1.2.18 [#​30935](https://togithub.com/spring-projects/spring-boot/issues/30935) - Upgrade to Kafka 3.1.1 [#​31047](https://togithub.com/spring-projects/spring-boot/issues/31047) - Upgrade to Micrometer 1.9.0 [#​31013](https://togithub.com/spring-projects/spring-boot/issues/31013) - Upgrade to Mockito 4.5.1 [#​30936](https://togithub.com/spring-projects/spring-boot/issues/30936) - Upgrade to MSSQL JDBC 10.2.1.jre8 [#​31048](https://togithub.com/spring-projects/spring-boot/issues/31048) - Upgrade to MySQL 8.0.29 [#​30937](https://togithub.com/spring-projects/spring-boot/issues/30937) - Upgrade to Netty 4.1.77.Final [#​30938](https://togithub.com/spring-projects/spring-boot/issues/30938) - Upgrade to Postgresql 42.3.5 [#​30939](https://togithub.com/spring-projects/spring-boot/issues/30939) - Upgrade to Reactor Bom 2020.0.19 [#​30940](https://togithub.com/spring-projects/spring-boot/issues/30940) - Upgrade to Selenium 4.1.4 [#​30941](https://togithub.com/spring-projects/spring-boot/issues/30941) - Upgrade to Selenium HtmlUnit 3.61.0 [#​30855](https://togithub.com/spring-projects/spring-boot/issues/30855) - Upgrade to SendGrid 4.9.2 [#​31116](https://togithub.com/spring-projects/spring-boot/issues/31116) - Upgrade to Spring AMQP 2.4.5 [#​31022](https://togithub.com/spring-projects/spring-boot/issues/31022) - Upgrade to Spring Batch 4.3.6 [#​31020](https://togithub.com/spring-projects/spring-boot/issues/31020) - Upgrade to Spring Data 2021.2.0 [#​31015](https://togithub.com/spring-projects/spring-boot/issues/31015) - Upgrade to Spring for GraphQL 1.0.0 [#​30858](https://togithub.com/spring-projects/spring-boot/issues/30858) - Upgrade to Spring Framework 5.3.20 [#​31014](https://togithub.com/spring-projects/spring-boot/issues/31014) - Upgrade to Spring HATEOAS 1.5.0 [#​31016](https://togithub.com/spring-projects/spring-boot/issues/31016) - Upgrade to Spring Integration 5.5.12 [#​31062](https://togithub.com/spring-projects/spring-boot/issues/31062) - Upgrade to Spring Kafka 2.8.6 [#​31018](https://togithub.com/spring-projects/spring-boot/issues/31018) - Upgrade to Spring LDAP 2.4.0 [#​31017](https://togithub.com/spring-projects/spring-boot/issues/31017) - Upgrade to Spring Security 5.7.1 [#​31100](https://togithub.com/spring-projects/spring-boot/issues/31100) - Upgrade to Spring Session Bom 2021.2.0 [#​31021](https://togithub.com/spring-projects/spring-boot/issues/31021) - Upgrade to Tomcat 9.0.63 [#​31082](https://togithub.com/spring-projects/spring-boot/issues/31082) - Upgrade to UnboundID LDAPSDK 6.0.5 [#​30942](https://togithub.com/spring-projects/spring-boot/issues/30942) #### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​izeye](https://togithub.com/izeye) - [@​luojianet](https://togithub.com/luojianet) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​eddumelendez](https://togithub.com/eddumelendez) - [@​mmoayyed](https://togithub.com/mmoayyed) - [@​ssobue](https://togithub.com/ssobue) - [@​christophejan](https://togithub.com/christophejan) - [@​dugenkui03](https://togithub.com/dugenkui03) - [@​denisw](https://togithub.com/denisw) - [@​terminux](https://togithub.com/terminux) ### [`v2.6.8`](https://togithub.com/spring-projects/spring-boot/releases/v2.6.8) [Compare Source](https://togithub.com/spring-projects/spring-boot/compare/v2.6.7...v2.6.8) ##### 🐞 Bug Fixes - Default properties configured on SpringApplication have higher precedence than properties configured with `@PropertySource` [#​31092](https://togithub.com/spring-projects/spring-boot/issues/31092) - A failure when an instrumented WebClient records metrics causes the request to fail [#​31088](https://togithub.com/spring-projects/spring-boot/issues/31088) - Dependency management for Artemis is incomplete [#​31078](https://togithub.com/spring-projects/spring-boot/issues/31078) - Configuration properties for Statsd's buffered and step properties are missing [#​31058](https://togithub.com/spring-projects/spring-boot/issues/31058) - Debug logging for requests to WebFlux-based Actuator endpoints does not identify the endpoint [#​30886](https://togithub.com/spring-projects/spring-boot/issues/30886) - `@ConditionalOnProperty` meta annotation with `@AliasFor` does not work [#​30873](https://togithub.com/spring-projects/spring-boot/issues/30873) - Event handling in JobExecutionExitCodeGenerator is not thread-safe [#​30845](https://togithub.com/spring-projects/spring-boot/issues/30845) - Hibernate service loading logs HHH000505 warnings for ServiceConfigurationError with Gradle-built jars since 2.5.10 when using Java 11 or later [#​30790](https://togithub.com/spring-projects/spring-boot/issues/30790) - Cryptic startup failure with bare LOGGING_LEVEL environment variable [#​30788](https://togithub.com/spring-projects/spring-boot/issues/30788) - SearchStrategy argument of MethodValidationExcludeFilter byAnnotation(Class, SearchStrategy) is not used [#​30786](https://togithub.com/spring-projects/spring-boot/issues/30786) ##### 📔 Documentation - Extend documentation on Datadog metrics [#​30996](https://togithub.com/spring-projects/spring-boot/issues/30996) - Fix link to Upgrading From 1.x in multi-page documentation [#​30994](https://togithub.com/spring-projects/spring-boot/issues/30994) - Document support for Java 18 [#​30781](https://togithub.com/spring-projects/spring-boot/issues/30781) ##### 🔨 Dependency Upgrades - Upgrade to ActiveMQ 5.16.5 [#​30917](https://togithub.com/spring-projects/spring-boot/issues/30917) - Upgrade to Couchbase Client 3.2.7 [#​30918](https://togithub.com/spring-projects/spring-boot/issues/30918) - Upgrade to Hazelcast 4.2.5 [#​30919](https://togithub.com/spring-projects/spring-boot/issues/30919) - Upgrade to Hibernate 5.6.9.Final [#​31041](https://togithub.com/spring-projects/spring-boot/issues/31041) - Upgrade to Jackson Bom 2.13.3 [#​31042](https://togithub.com/spring-projects/spring-boot/issues/31042) - Upgrade to Jaybird 4.0.6.java8 [#​30920](https://togithub.com/spring-projects/spring-boot/issues/30920) - Upgrade to Johnzon 1.2.18 [#​30921](https://togithub.com/spring-projects/spring-boot/issues/30921) - Upgrade to Micrometer 1.8.6 [#​31007](https://togithub.com/spring-projects/spring-boot/issues/31007) - Upgrade to MySQL 8.0.29 [#​30922](https://togithub.com/spring-projects/spring-boot/issues/30922) - Upgrade to Netty 4.1.77.Final [#​30923](https://togithub.com/spring-projects/spring-boot/issues/30923) - Upgrade to Netty tcNative 2.0.52.Final [#​30924](https://togithub.com/spring-projects/spring-boot/issues/30924) - Upgrade to Postgresql 42.3.5 [#​30925](https://togithub.com/spring-projects/spring-boot/issues/30925) - Upgrade to Reactor Bom 2020.0.19 [#​30926](https://togithub.com/spring-projects/spring-boot/issues/30926) - Upgrade to Spring AMQP 2.4.5 [#​31009](https://togithub.com/spring-projects/spring-boot/issues/31009) - Upgrade to Spring Batch 4.3.6 [#​31011](https://togithub.com/spring-projects/spring-boot/issues/31011) - Upgrade to Spring Framework 5.3.20 [#​31043](https://togithub.com/spring-projects/spring-boot/issues/31043) - Upgrade to Spring HATEOAS 1.4.3 [#​31008](https://togithub.com/spring-projects/spring-boot/issues/31008) - Upgrade to Spring Integration 5.5.12 [#​31061](https://togithub.com/spring-projects/spring-boot/issues/31061) - Upgrade to Spring Kafka 2.8.6 [#​31010](https://togithub.com/spring-projects/spring-boot/issues/31010) - Upgrade to Spring LDAP 2.3.8.RELEASE [#​31044](https://togithub.com/spring-projects/spring-boot/issues/31044) - Upgrade to Spring Security 5.6.5 [#​31102](https://togithub.com/spring-projects/spring-boot/issues/31102) - Upgrade to Tomcat 9.0.63 [#​31071](https://togithub.com/spring-projects/spring-boot/issues/31071) ##### ❤️ Contributors We'd like to thank all the contributors who worked on this release! - [@​izeye](https://togithub.com/izeye) - [@​luojianet](https://togithub.com/luojianet) - [@​marcwrobel](https://togithub.com/marcwrobel) - [@​eddumelendez](https://togithub.com/eddumelendez) - [@​christophejan](https://togithub.com/christophejan) - [@​dugenkui03](https://togithub.com/dugenkui03) - [@​denisw](https://togithub.com/denisw) - [@​terminux](https://togithub.com/terminux) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-recaptchaenterprise).
…1.0 (#798) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.0.0` -> `25.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/compatibility-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/confidence-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
…1.0 (#798) [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:libraries-bom](https://cloud.google.com/java/docs/bom) ([source](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java)) | `25.0.0` -> `25.1.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/compatibility-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/25.1.0/confidence-slim/25.0.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-document-ai).
No description provided.