Commit Graph

418 Commits

Author SHA1 Message Date
Oliver Drotbohm
4576dc413f #500 - Example for declarative reactive transactions in R2DBC.
Introduced transactional service using @Transactional on the method declaration. Using the experimental Spring Boot integration to get both an H2ConnectionFactory and R2dbcTransactionManager configured. Added test case to show the rollbacks kicking in on an exception in a map operator.
2019-05-09 19:09:34 +02:00
Greg Turnquist
c884294bbf #443 - Show updated usage of Gradle with Maven BOMs.
Resolves #443.
2019-04-26 16:53:38 +02:00
Oliver Drotbohm
9635926d87 #499 - Upgrade to Spring Boot 2.1.4. 2019-04-26 16:49:30 +02:00
Oliver Drotbohm
42ced6f51a #495 - Removed the need for a Postgres database from the R2DBC readme. 2019-04-26 16:22:57 +02:00
Oliver Drotbohm
aa9ad22506 #495 - Polish R2DBC example.
Upgrade to R2DBC Arabba M7 and Spring Data R2DBC snapshots. Switched configuration to use H2 instead of Postgres. Changed query definition in Spring Data repository to use named parameters instead of database specific placeholders.
2019-04-26 16:13:14 +02:00
Feng Zhang
7b0c7a539b #494 - Fix spelling mistake.
Original pull request: #494.
2019-03-26 08:41:58 +01:00
Spring Operator
ccae97890f #491 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 426 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-22 08:13:14 +01:00
Spring Operator
6d51ebf294 #473 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* http://mybatis.org/dtd/mybatis-3-config.dtd (301) with 1 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-config.dtd) result SSLHandshakeException).
* http://mybatis.org/dtd/mybatis-3-mapper.dtd (301) with 2 occurrences could not be migrated:
   ([https](https://mybatis.org/dtd/mybatis-3-mapper.dtd) result SSLHandshakeException).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://maven.apache.org/xsd/maven-4.0.0.xsd with 70 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 6 occurrences migrated to:
  https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd) result 301).
* http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd with 1 occurrences migrated to:
  https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd ([https](https://java.sun.com/xml/ns/persistence/persistence_2_0.xsd) result 302).

# Ignored
These URLs were intentionally ignored.

* http://java.sun.com/xml/ns/persistence with 2 occurrences
* http://maven.apache.org/POM/4.0.0 with 152 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 77 occurrences

Original pull request: #472
2019-03-20 10:10:59 -05:00
Spring Operator
5e80d9cff6 #452 - URL cleanup in POMs.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* http://ethlo.com/maven (301) migrated to:
  https://ethlo.com/maven ([https](https://ethlo.com/maven) result 404).

## Fixed Success
These URLs were fixed successfully.

* http://projects.spring.io/spring-data-cassandra migrated to:
  https://projects.spring.io/spring-data-cassandra ([https](https://projects.spring.io/spring-data-cassandra) result 301).
* http://projects.spring.io/spring-data-jdbc migrated to:
  https://projects.spring.io/spring-data-jdbc ([https](https://projects.spring.io/spring-data-jdbc) result 301).
* http://projects.spring.io/spring-data-jpa migrated to:
  https://projects.spring.io/spring-data-jpa ([https](https://projects.spring.io/spring-data-jpa) result 301).
* http://projects.spring.io/spring-data-ldap migrated to:
  https://projects.spring.io/spring-data-ldap ([https](https://projects.spring.io/spring-data-ldap) result 301).
* http://projects.spring.io/spring-data-mongodb migrated to:
  https://projects.spring.io/spring-data-mongodb ([https](https://projects.spring.io/spring-data-mongodb) result 301).
* http://projects.spring.io/spring-data-solr migrated to:
  https://projects.spring.io/spring-data-solr ([https](https://projects.spring.io/spring-data-solr) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/maven-v4_0_0.xsd
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-07 17:29:30 +01:00
Oliver Drotbohm
77d2c5dfd3 #447 - Upgrade to Spring Boot 2.1.3. 2019-02-15 19:33:23 +01:00
Mark Paluch
dccdddb86b #444 - Pin Elasticsearch version to to 6.5.0 for Spring Data Moore.
Add version override to restore compatibility with Spring Boot 2.1.x and Spring Data Elasticsearch.
ES 6.5 changed internal API that is used by Spring Data Elasticsearch.
2019-02-11 11:45:17 +01:00
Mark Paluch
675af399c9 #377 - Upgrade to Spring Data R2DBC 1.0 M1. 2018-12-12 15:44:56 +01:00
Mark Paluch
016549a2b4 #440 - Use Specification directly instead of deprecated Specifications type.
We now use Specification directly instead of using Specifications.where(…).
2018-12-12 15:42:29 +01:00
Mark Paluch
4f64e5dc8b #439 - Increase visibility of JDBC bean definitions.
Spring Data JDBC 1.1 introduces visibility changes to JdbcConfiguration and so we must declare overrides with at least the same visibility.
2018-12-10 16:32:23 +01:00
Mark Paluch
b38ade2298 #438 - Adapt to refactored R2DBC configuration.
AbstractR2dbcConfiguration was moved from org.springframework.data.r2dbc.repository.config.AbstractR2dbcConfiguration to org.springframework.data.r2dbc.config.AbstractR2dbcConfiguration.
2018-12-10 08:39:37 +01:00
Mark Paluch
d76fcd85e5 #437 - Polishing.
Update readme.
2018-11-30 13:57:21 +01:00
Mark Paluch
aafe04db51 #436 - Add Redis QbE (Query by Example) example. 2018-11-30 13:51:56 +01:00
Mark Paluch
01da5a94b9 #437 - Add example for Cassandra Lifecycle Events. 2018-11-30 13:51:50 +01:00
Mark Paluch
ee64a6af0d #435 - Polishing.
Remove workaround for newer Java runtimes that was necessary with earlier Spring Framework versions.
2018-11-30 13:50:03 +01:00
Mark Paluch
dc67d5272b #435 - Upgrade to Spring Boot 2.1.1.RELEASE.
Upgrade to Spring Boot 2.1.1. Cleanup POM references.
2018-11-30 13:48:47 +01:00
Mark Paluch
c36c615ecf #433 - Polishing.
Replace bean declarations with AbstractR2dbcConfiguration class.
2018-11-27 08:55:58 +01:00
Mark Paluch
caedc4cdce #433 - Upgrade to R2DBC 1.0 M6. 2018-11-27 08:54:23 +01:00
Jens Schauder
5d536b17f2 #424 - Switched to OpenJDK. 2018-10-22 16:32:27 +02:00
Jens Schauder
b667cd2cea #424 - Forced Lovelace-RELEASE for Cassandra-Kotlin example.
Older versions failed with MethodNotFound.
2018-10-22 11:40:09 +02:00
Mark Paluch
c1f3a33626 #421 - Polishing.
Remove duplicate blank line in pom.xml. Pin R2DBC to Moore release train.

Original pull request: #422.
2018-10-19 11:36:27 +02:00
Oliver Gierke
d2eb42dad1 #421 - Elevate R2DBC example to top level project.
Moved r2dbc example to a top-level project. Switched to new Spring Data R2DBC project coordinates.

Original pull request: #422.
2018-10-19 11:36:19 +02:00
Jens Schauder
28dd3d8728 #419 - Added docker as a service in Travis configuration. 2018-10-15 09:32:24 +02:00
Jens Schauder
874a5e324a #418 - Replaced external Postgres DB with one created through TestContainers. 2018-10-02 13:57:55 +02:00
Mark Paluch
e02bfa5621 #416 - Upgrade to R2DBC 1.0 M5. 2018-09-24 10:44:31 -04:00
Mark Paluch
077353760e #416 - Polishing.
Convert spaces to tabs.
2018-09-24 10:44:28 -04:00
Mark Paluch
70729804b8 #415 - Adapt JDBC example to API changes in JdbcConfiguration. 2018-09-21 06:52:12 -04:00
Mark Paluch
02ee909aa7 #389 - Polishing.
Add author tags. Reformat code.

Original pull request: #412.
2018-09-19 15:50:52 +02:00
ade90036
2828e352fa #389 - Fix Cache eviction example.
Declare SpEL path to the key property on save(…) method accepting the entity.

Original pull request: #412.
2018-09-19 15:50:43 +02:00
Mark Paluch
445947db52 #414 - Skip MongoDB ChangeStreams tests if MongoDB cannot be started. 2018-09-19 15:38:51 +02:00
Mark Paluch
44b8d42a64 #396 - Polishing.
Add SpringBootApplication to ApplicationConfiguration. Use SpringRunner instead of SpringJUnit4ClassRunner. Fix application.properties.

Original pull request: #401.
2018-09-19 15:23:46 +02:00
Oliver Gierke
e9405dfa04 #396 - Polishing.
Original pull request: #401.
2018-09-18 19:31:30 +02:00
Joshua Johnston
23c14ad181 #396 - Update Redis repositories example to use application.properties.
Modernization no longer requires custom @Bean configuration.

Original pull request: #401.
Fixes #396, #401.
2018-09-18 19:29:33 +02:00
Oliver Gierke
c44d0fc911 #413 - Upgraded to Spring Boot 2.0.5. 2018-09-18 19:14:16 +02:00
Mark Paluch
97eb95d3c9 Pin Kotlin MongoDB example to Kay snapshots. 2018-09-18 19:11:33 +02:00
Mark Paluch
d36fd2eb8b Add Kotlin example for Spring Data Cassandra. 2018-09-18 19:11:33 +02:00
Mark Paluch
2224264499 Add Kotlin example for Spring Data MongoDB. 2018-09-18 19:11:33 +02:00
Jens Schauder
fdca9980a9 #411 - Simplified example by using @Column instead of NamingStrategy. 2018-09-18 15:31:07 +02:00
Mark Paluch
9b88ae9a38 #405 - Polishing.
Slight readme tweaks. Override flapdoodle version using the version property.
2018-09-13 13:36:49 +02:00
Christoph Strobl
9520ac6a75 #405 - Add Example for MongoDB Schema & Validation. 2018-09-13 13:36:46 +02:00
Mark Paluch
04be1b9784 #408 - Remove Dev-Tools exclusions for multiple datasources.
Cleanup our examples as the issues that required exclusion are solved now.
2018-09-13 12:24:49 +02:00
Mark Paluch
ae0287ca5e #399 - Polishing.
Move Spring version override to Java 9+ build profile to allow test runs with Spring Boot 2.1 on Java 8.
2018-09-05 08:57:55 +02:00
Oliver Gierke
586c3d5120 #386 - Polishing.
Formatting.
2018-08-31 09:46:59 +02:00
Michael J. Simons
802b5564c4 #386 - Add integration test for deep nested derived queries support.
SDN supports derived queries over several, deeply nested properties in the following version combinations:
- Spring Data Kay SR9 + Neo4j-OGM 3.0.4
- Spring Data Lovelace RC1 + Neo4j-OGM 3.1.1

As of writing, Spring Boot 2.0.4 picks up Spring Data Kay SR9 + Neo4j-OGM 3.1.0. This is an unsupported combination, see https://github.com/spring-projects/spring-boot/issues/13999.

This tests asserts the correct versions for Spring Boot 2.1.0+ and 2.0.5+. Also fixes the use of final field relationships in the domain classes used in the test and removed the usage of deprecated API.
2018-08-31 09:46:33 +02:00
Oliver Gierke
dc58547743 #400 - Upgrade to Spring Boot 2.0.4. 2018-08-22 17:03:23 +02:00
Jens Schauder
f31c83a1f9 #399 - Depending on Spring Framework 5.0.9-BUILD SNAPSHOT.
With JDK 11 ApplicationListeners implemented as lambdas don't get correctly handled at the moment.
This is fixed for Spring Framework 5.0.9, which isn't released yet.

Therefore we depend for the JDBC examples on the snapshot.

An alternative would be to use proper classes instead of lambdas.

See also: SPR-17093.
2018-08-22 12:12:00 +02:00