Commit Graph

40 Commits

Author SHA1 Message Date
Oliver Drotbohm
7835ce0533 Remove duplicate dependency declaration. 2024-08-15 15:38:53 +02:00
Oliver Drotbohm
0852b85001 Polishing. 2024-08-15 15:34:05 +02:00
Oliver Drotbohm
9988a78cba Polishing.
Consistently use array access syntax in template. Use page offset to calculate numbering. Use latest MongoDB Docker image.
2024-07-29 16:13:46 +02:00
Tim Sparg
374307235c Fix Spring Data Querydsl example.
The io.github.jpenren:thymeleaf-spring-data-dialect dependency was out of sync with thymeleaf causing an error when you tried to access the index page.

Additionally Added a TestApplication and revamped the TestContainers usage.
2024-07-29 15:57:15 +02:00
Christoph Strobl
d52d73f34c Upgrade to Spring 6 and Spring Boot 3.
See #654
2022-12-12 11:15:36 +01:00
Marc Wrobel
ce994f9ea0 Fix typos in documentations.
Fix typos in READMEs, javadoc, comments and code.

Original pull request #642
2022-07-29 13:07:11 +02:00
Christoph Strobl
a171e33444 Upgrade to Spring Boot 2.6.0-M3. 2022-05-19 11:23:00 -05:00
Mark Paluch
338d9d92ca Java 16 migration for Web examples.
See #606.
2021-04-30 10:29:50 +02:00
Mark Paluch
ec8557c7da Update copyright years to 2021.
Closes #616
2021-04-27 14:47:20 +02:00
Jens Schauder
66a78013a3 Polishing
Adding `@author` tags to modified files.
Remove Hamcrest usage.

Original pull request #602
Related tickest #583
2021-01-29 10:56:05 +01:00
divya_jnu08
9db9632c4b Migrates web examples to JUnit 5.
Original pull request #602
Related tickest #583
2021-01-29 10:55:40 +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
Oliver Gierke
9c2164ece6 #341 - Reduced log output for build execution.
Make sure test that previously used @SpringBootApplication now use @SpringBootTest to properly initialize Boot's default logging configuration.

Added explicit logback.xml to make sure tests running without Boot don't use debug logging by default.
2018-02-22 11:48:36 +01:00
Oliver Gierke
d854c6d084 #342 - Expanded copyright headers to 2018.
Removed trailing whitespace in touched files.
2018-02-22 11:42:57 +01:00
Oliver Gierke
20c910183e #339 - Upgrade to Spring Boot 2.0 RC2. 2018-02-21 18:35:06 +01:00
Mark Paluch
8eebca96d3 #335 - Adapt to Spring Boot 2.0 snapshots.
Exclude SecurityAutoConfiguration via application.properties as class was moved across packages. Add lombok.config to add @ConstructorProperties to Redis JSON objects.
2018-01-23 11:29:28 +01:00
Oliver Gierke
50945ac434 #297 - Upgraded to Thymeleaf Spring Data dialect compatible with Thymeleaf 3. 2017-10-06 15:32:08 +02:00
Oliver Gierke
4164bc4607 #297 - Upgraded to Boot 2.0 and Spring Data Kay.
Bumped version number to 2.0. Upgraded to Spring Boot 2.0.

Stuff disabled in the meantime:

- Cassandra: needs API adaptions in configuration
- JPA > Security: test fails with weird Hibernate error
- Redis > Reactive: API updates needed
- Solr: configration updates necessary

adjust versions

Updated elastic search to the new version.

Fixed the reactor version to Bismuth-BUILD-SNAPSHOT. This probably should be undone when boot references the proper bom.
2017-10-06 15:15:53 +02:00
Oliver Gierke
b527cbf1d6 #291 - Upgraded to Spring Boot 1.5.6.
Upgraded to Boot 1.5.6. Updated dependencies of reactive projects to latest versions to make sure the APIs of Boot work with the changes in Spring Data Kay RC1. Upgraded all other dependencies to match and got both the Redis and the Cassandra examples to compile again.

Disabled Cassandra reactive samples for now as they fail at runtime.
2017-08-25 11:00:11 +02:00
Oliver Gierke
663c8bd73b #290 - Removed obsolete @Autowired annotations. 2017-08-24 11:54:24 +02:00
Oliver Gierke
4cf37f3527 #252 - Upgraded to Spring Boot 1.5 snapshots (and thus Ingalls).
Let JPA examples work with latest Hibernate (5.2.7).
2017-01-27 12:35:55 +01:00
Oliver Gierke
7519f8e385 #205 - Added build profile for Spring 5.
Inverted dependencies in the web example as Spring Boot 1.4 ships Tomcat 8.5.4 which contains JPA 2.0 types and — if they end up on the classpath before the actual JPA API jar — breaks the Spring 5 JPA bootstrap as it's assuming JPA 2.1 to be the fundamental baseline.
2016-07-28 18:09:18 +02:00
Oliver Gierke
0f7afacafc #204 - Upgraded to Spring Boot 1.4 GA. 2016-07-28 18:09:18 +02:00
Oliver Gierke
d2e5c4b28f #202 - Added example for JSONPath and XPath based payload binding to projection interfaces.
See the readme for details.
2016-07-27 15:19:24 +02:00
Lucas Pleß
bee8a81118 #199 - Added missing messages and fixed a JavaDoc error in web example. 2016-07-20 13:48:48 +02:00
Oliver Gierke
9ee13be9b5 #197 - Upgraded to Spring Boot 1.4 RC1.
Tweaked the output folder for Querydsl type generation to avoid running into a bug in the Maven compiler plugin 3.5.1 [0].

Fixed an issue in a sample script used to demonstrate MongoDB script execution as the new JavaScript engine seems to be more strict.

Switched to the MongoDB starter and excluded the legacy MongoDB Java driver from projects using Querydsl to consistently make use of the current driver only.

[0] https://issues.apache.org/jira/browse/MCOMPILER-271
2016-07-15 13:05:56 +02:00
Oliver Gierke
6684c8c69b #190 - More simplifications for Spring Boot 1.4 M3.
Replaced all occurrences of @SpringApplicationConfiguration with @SpringBootTest. Using SpringRunner instead of @SpringJUnit4ClassRunner now.
2016-06-10 21:26:46 +02:00
Oliver Gierke
26a453af56 #175 - Upgraded to Spring Data Thymeleaf dialect 2.1.1. 2016-03-26 21:56:27 +01:00
Oliver Gierke
ad854bc19d #174 - Applied default sorting to controller in Querydsl web sample. 2016-03-25 13:11:38 +01:00
Oliver Gierke
84bfe86ecc #173 - Switched to embedded MongoDB for Querydsl web example. 2016-03-25 13:10:26 +01:00
Oliver Gierke
75d25de1e6 #171 - Switched to Thymeleaf Spring Data dialect for pagination in views.
Added dependency and bean definition for the SpringDataDialect. Templates now use three different elements of the Thymeleaf Spring Data support:

- Pagination information (pagination summary)
- The pagination links including first / previous and next / last links
- Pagination links to navigate through the pages
2016-03-25 13:09:41 +01:00
Oliver Gierke
961bd1a284 #151 - Tweaked Querydsl web examples to use Querydsl 4. 2016-02-12 14:36:54 +01:00
Oliver Gierke
62b2d644cc Updated dependencies and codebase for Querydsl 4. 2016-02-12 14:36:49 +01:00
Oliver Gierke
0c1bee04b3 #128 - Upgraded to Spring Data Gosling GA.
Spring Boot 1.3.0 M2 -> 1.3.0 M4
Spring Framework 4.2.0 -> 4.2.1
2015-09-03 17:14:09 +02:00
Oliver Gierke
bbaa53c873 #124 - Polished Querydsl binding example for plain Spring MVC usage.
Collapsed domain model into a single class. Merged application configuration classes into a canonical Application class.

Tweaked UserInitializer to expose dedicated methods to make sure the parameter is only exposed if remote users are used.

Removed JavaScript based frontend as it was basically testing the Spring Data REST exposed API but not the data obtained through the Spring MVC controller. We're going to create a dedicated example for the Spring Data REST integration.
2015-08-04 16:05:47 +02:00
Christoph Strobl
97eefb0afc #124 - Added sample for Querydsl integration.
Move web project to web/example and add web/querydsl as a dedicated one demonstrating the QueryDSL Predicate usage in Spring MVC.
2015-08-04 15:47:52 +02:00
Oliver Gierke
bca4e65e4f #115 - Harmonized package names.
We now consistently use example.springdata.$store as base package name.
2015-07-16 09:10:20 +02:00
Oliver Gierke
e11e73b58a #70 - Upgraded to Spring Data Fowler GA. 2015-03-23 16:21:44 +01:00
Oliver Gierke
df7fcb0edb #65 - Added example project for Spring Data web support. 2015-03-10 10:12:28 +01:00