Commit Graph

167 Commits

Author SHA1 Message Date
Oliver Gierke
c6b3ee8b5b #143 - Upgraded to Spring Boot 1.3.0.RELEASE. 2015-11-16 14:07:15 +01:00
Oliver Gierke
66c6b93904 #142 - Upgraded to Spring Data Gosling SR1.
Upgraded to latest Querydsl 3.6.9 as well.
2015-11-15 20:07:00 +01:00
Oliver Gierke
d776cbda3a #140 - Upgraded to Spring Boot 1.3 RC1. 2015-10-29 17:16:36 +01:00
Oliver Gierke
9a5c270ec2 #139 - Switched to embedded MongoDB for integration tests.
Removed MongoDB dependency by adding Flapdoodle embedded MongoDB. That allows us to get rid of the utility module we had in place for the MongoDB samples guarding the tests to only run when a MongoDB instance is running.

Tweaked Travis setup to not require the MongoDB service anymore.
2015-10-29 17:14:38 +01:00
Svante Kumlien
5a9b785499 #135 - Fixed some typos in readmes. 2015-10-15 09:15:41 +02:00
Oliver Gierke
d9dfb81e12 #134 - Added example for using Optional as query method parameter.
Got rid of Guava dependency in favor of JDK 8's Optional. Upgraded basic JPA example to Spring Data Hopper to get access to the newly introduced functionality.
2015-10-07 19:50:49 +02:00
Oliver Gierke
549ae7fe71 #132 - Upgraded to Spring Boot 1.3 M5.
Removed obsolete explicit dependency upgrades. Upgraded to Querydsl 3.6.7 along the way.
2015-09-04 11:17:52 +02:00
Oliver Gierke
0fa8c12806 #131 - Polished Spring Data Neo4j example.
Switched to milestone version of Spring Data Neo4j. Used Lombok in domain types. Used assertThat(…) matchers in test case for consistency. Inlined Spring configuration into test case. Upgraded to Lombok 1.16.6 along the way.

Fixed indentation in pom.xml files to use tabs instead of spaces.

Original pull requests: #129, #130.
2015-09-03 17:14:13 +02:00
Luanne Misquitta
f90bed38e2 #131 - Added Spring Data Neo4j example.
Original pull requests: #129, #130.
2015-09-03 17:14:12 +02: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
9a91c4073f #123 - Dependency polishing.
Configure the Spring HATEOAS version int the Spring Data REST sample root. Upgraded Spring Security to 4.0.2.RELEASE.
2015-08-04 18:10:43 +02:00
Oliver Gierke
bd90bd04d6 #124 - Added missing dependency to Querydsl MongoDB.
Apparently got lost during the merge.
2015-08-04 17:32:08 +02:00
Oliver Gierke
7eab65b53f #124 - Added Querydsl integration to Starbucks example.
Enabled Querydsl query metadata creation to the Starbucks example and added binding customizations to UserRepository.
2015-08-04 16:05:50 +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
a999bed747 #123 - Upgraded to Gosling RC1.
Upgraded to Querydsl 3.6.6 along the way.
2015-08-04 15:30:32 +02:00
Oliver Gierke
9bb284fc84 #119 - Polishing.
Changed the update clause to set the the entire principal the reflect a domain object design that's closer to what might be set up if Spring Data auditing is used, too.

Made use of Lombok in the domain objects where possible. Reduced visibility of repository interfaces to package scope. Minor test case cleanups.
2015-08-01 21:08:38 +02:00
Thomas Darimont
50faabb2af #119 - Added example for use of SpEL expressions in JPQL update statements. 2015-08-01 21:06:46 +02:00
Thomas Darimont
fbcded19e6 #120 - Added missing main method to Application in multi-store REST example.
Previously a mvn clean install in the Spring Data examples root failed because the Application class in the multi-store example was missing a main method that is required by the Spring Boot Maven plugin.
2015-08-01 20:52:46 +02:00
Oliver Gierke
8019578e0d #118 - Upgraded to Spring Framework 4.2 GA.
Upgraded to Querydsl 3.6.5 along the way.
2015-07-31 11:32:43 +02:00
Oliver Gierke
70547a363b #117 - Removed explicit configuration of main class for Boot plugin in Starbucks example.
The configuration is obsolete as the client has been moved into a test case for a while already.
2015-07-30 11:38:20 +02:00
Oliver Gierke
a7f231c2ed #116 - Switched to the release train version of the KeyValue module. 2015-07-16 09:11:54 +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
Christoph Strobl
50cb4b9bba #58 - Add sample for usage of server-side JavaScript.
Use a server-side script to simulate putIfAbsent(…) as contracted by the Map interface. The operation will be atomic since MongoDB will put a lock on database until the script is finished.
2015-07-16 08:34:10 +02:00
Oliver Gierke
8d77a9a37e #107 - Polishing.
Switched to Asciidoc for README. Renamed ApplicationConfiguration to Application. Switched to a more simple package name. Some polishing in the test cases (removed unnecessary injections).

Original pull request: #108.
2015-07-16 08:24:43 +02:00
Thomas Darimont
d95ed268b2 #107 - Added example for Spring Security Integration in MongoDB.
Initial project and with example for dynamic data filtering based on current security context information.

Relies on DATAMONGO-1244 to be resolved.

Original pull request: #108.
2015-07-16 08:13:06 +02:00
Oliver Gierke
cc6e232ac3 #114 - Upgraded to Spring 4.2 RC3.
Upgraded to Spring RESTDocs 1.0 M1 on the way.
2015-07-16 08:07:02 +02:00
Oliver Gierke
9641cb7f53 #113 - Upgraded to Spring Boot 1.3 M2.
Removed temporary upgrades to Spring Framework build snapshots where possible.
2015-07-15 09:49:50 +02:00
Oliver Gierke
3a138a161c #101 - Fixed security setup for REST / security sample. 2015-06-29 17:59:33 +02:00
golonzovsky
d624c8d43a #110 - Simplified RequiresMongoDB test rule.
We now extend ExternalResource instead of implementing TestRule to avoid the usage of the deprecated AssumptionViolatedException.
2015-06-29 17:54:00 +02:00
Oliver Gierke
7f8a0cc9dc #111 - Stricter tests cases for conditional headers in REST sample.
We now explicitly check for the presence of ETag and Last-Modified headers for all requests.
2015-06-26 06:47:08 +02:00
Thomas Darimont
8037e4d157 #106 - Add CompletableFuture example to readme. 2015-06-18 14:38:25 +02:00
Oliver Gierke
8ed43d34fc #106 - Polishing.
Some JavaDoc improvements, copyright headers. Using a logger instead of System.out in the test case now. Removed commented out dependency declaration from JPA pom.xml.
2015-06-18 14:23:29 +02:00
Thomas Darimont
fd7d35a826 #106 - Add example with CompletableFuture and Java 8 for JPA.
Simple test case that demonstrates CompletableFuture.

Original pull request: #106.
2015-06-18 14:12:55 +02:00
Thomas Darimont
98bfe34996 #105 - Added example for filtering data solely on Role in jpa-security sample.
Added example for dynamic filtering in query solely based on the current principals role.
2015-06-17 12:26:29 +02:00
Thomas Darimont
6a57cef345 #104 - Fix jpa eclipselink example build.
Added main method to eclipselink JPA example to prevent “Unable to find main class” error from spring-boot repacking during build.
2015-06-17 12:13:23 +02:00
Chris Beams
10ef5bb89d #100 - Fix typo in root README. 2015-06-16 11:03:20 +02:00
Chris Beams
a666eae166 #103 - Fix typo in resource URIs. 2015-06-16 11:01:59 +02:00
Chris Beams
5e0d0da8f2 #102 - Add instruction to create mongodb data directory.
Running mongodb fails if the --dbpath directory does not yet exist. This change instructs the user to create the directory first.
2015-06-16 10:56:54 +02:00
Oliver Gierke
bb371b8de4 #99 - Upgraded to Spring Boot 1.3 M1.
Upgraded REST headers sample to Spring 4.2 snapshots to benefit from fix for SPR-13090.
2015-06-13 19:15:53 +02:00
Oliver Gierke
d880972a12 #98 - Switch to Spring 4.2 RC1 for Starbucks example. 2015-06-04 14:37:02 +02:00
Oliver Gierke
dcc54f9ba7 #97 - Upgrade to Spring Boot 1.2.4. 2015-06-04 14:35:05 +02:00
Oliver Gierke
a5702d1e11 #96 - Upgraded to Spring Data Gosling M1. 2015-06-02 13:51:54 +02:00
Oliver Gierke
c894fb34e2 #92 - Upgraded to Querydsl 3.6.4. 2015-06-02 07:54:03 +02:00
Oliver Gierke
3f7616367c #93 - Switched to RowMapper for Spring 4.2 compatibility.
ParameterizedRowMapper has been deprecated for a while and finally removed in Spring 4.2. We now use the simple parameterized RowMapper interface.
2015-06-02 07:53:50 +02:00
Oliver Gierke
0e7707bb5a #90 - Upgraded Redis driver to 2.7.2. 2015-05-26 10:25:56 +02:00
Oliver Gierke
22824e6b24 #89 - Explicitly configured spherical index on Address.location in Starbucks sample. 2015-05-20 14:11:56 +02:00
Andy Wilkinson
e1e22f4e5e #79 - Add Gradle configuration to the BOM example. 2015-05-20 14:00:22 +02:00
Oliver Gierke
2c9f75c7e0 #88 - Upgraded to Lombok 1.16.4. 2015-05-20 12:47:49 +02:00
Oliver Gierke
343d29eeec #87 - Cleanup view template. 2015-05-20 12:46:45 +02:00