Commit Graph

59 Commits

Author SHA1 Message Date
Oliver Gierke
62b2d644cc Updated dependencies and codebase for Querydsl 4. 2016-02-12 14:36:49 +01:00
Oliver Gierke
fe6e2172cd #144 - Make use of the dedicated configuration API for EntityLookups.
Rather than declaring a dedicated EntityLookup bean instance we now use the configuration API introduced on RepositoryRestConfiguration to define the identifier and lookup mapping.

Tweaked readme accordingly.
2015-12-09 16:10:02 +01:00
Oliver Gierke
0de282b2f2 #144 - Added sample for URI customization in Spring Data REST. 2015-12-09 13:01:21 +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
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
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
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
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
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
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
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
a5702d1e11 #96 - Upgraded to Spring Data Gosling M1. 2015-06-02 13:51:54 +02:00
Oliver Gierke
22824e6b24 #89 - Explicitly configured spherical index on Address.location in Starbucks sample. 2015-05-20 14:11:56 +02:00
Oliver Gierke
343d29eeec #87 - Cleanup view template. 2015-05-20 12:46:45 +02:00
Brian Clozel
cc2ac546e7 #87 - Fix WebJARs resource handling in Starbucks example. 2015-05-20 12:46:36 +02:00
Oliver Gierke
5f132037e3 #87 - Switched to version-less WebJARs after recent additions in Spring Framework. 2015-05-20 12:46:26 +02:00
Oliver Gierke
09eea9e0b8 #85 - Simplified usage of RestTemplate in StarbucksClient. 2015-05-18 10:13:57 +02:00
Oliver Gierke
43c0bcda98 #85 - Added a test case to show how to use a RestTempalte to interact with a HAL service. 2015-05-17 17:30:03 +02:00
Oliver Gierke
81b576b663 #84 - StarbucksClient now uses correct base URI. 2015-05-17 16:36:25 +02:00
Oliver Gierke
8ce6ac38c0 #83 - Enable web environment for integration test. 2015-05-12 12:22:55 +02:00
Oliver Gierke
19bb907815 #41 - Added minimal web UI for Starbucks example app.
Added a minimalistic HTML5 web front-end based on Thymeleaf, Bootstrap, jQuery, URI.js and Google Maps JavaScript API. The required JavaScript dependencies are referenced via Webjars.

For details see the README.

Original pull request: #47.
2015-04-14 21:42:13 +02:00
Oliver Gierke
b7263b4ed6 #76 - Added HAL browser to Spring Data REST Starbucks example. 2015-04-14 18:23:55 +02:00
Oliver Gierke
174710c5ba #74 - More documentation within the REST headers example.
Added README to give more details on what the sample actually showcases. Added Spring RESTDocs to document HTTP interaction.
2015-04-08 19:33:04 +02:00
Oliver Gierke
081881b538 #74 - Added sample for conditional GET requests with Spring Data REST. 2015-04-08 18:48:19 +02:00
Greg Turnquist
3e793a5147 #71 - Remove old SNAPSHOT reference. 2015-03-26 12:53:04 -05:00
Oliver Gierke
49d91bb697 #71 - Upgraded to Spring Security 4.0.
Upgraded security related sample projects in the rest and JPA sub-folders to Spring Security 4.0.
2015-03-26 18:38:16 +01:00
Oliver Gierke
3306ea56f3 Turned Starbucks client into test.
Allows us to benefit from default logging setup. Removed obsolete Tomcat version declaration. Polished StoreInitializer to use Lambdas instead of an enum.
2015-03-25 10:41:38 +01:00
Oliver Gierke
e11e73b58a #70 - Upgraded to Spring Data Fowler GA. 2015-03-23 16:21:44 +01:00
Oliver Gierke
6597d7ca95 #56 - Upgraded to spring HATEOAS 0.17 snapshots.
Simplified usage of ParameterizedTypeReference through newly introduced TypeReferences class. Moved to Java 8 streams for final output.
2015-03-02 23:00:44 +01:00
Oliver Gierke
797db3eece #53 - Enable -parameters for compilation.
Removed obsolete @Param annotations from repository interfaces. Upgraded to Fowler snapshots for JPA 2.1 examples as we need a fix in derived stored procedure execution to work correctly.

Related issues: DATAJPA-681.
2015-02-27 19:26:37 +01:00
Oliver Gierke
a50a3450cd #52 - Upgraded to Spring Boot 1.2.2. 2015-02-27 07:57:40 +01:00
Oliver Gierke
e47c4135fc #27 - Upgraded to Spring Security 4.0.0.RC1. 2014-12-12 08:33:55 +01:00
Oliver Gierke
c30d5827a9 #38 - Removed @WebAppConfiguration to prevent web infrastructure to be bootstrapped. 2014-12-01 19:32:24 +01:00
Oliver Gierke
b15b1390ac #37 - Upgrade to Spring Data release train Fowler M1. 2014-12-01 13:33:58 +01:00
Oliver Gierke
ca5fd354b6 #29 - Fixed setup of Spring Boot Maven plugin.
Removed the declaration of the Spring Boot Maven plugin in the root POM as it broke the build for package and install goals for projects that don't actually contain a main class but tests only.

Declared the plugin at the root POM for Spring Data REST related projects as these are the only ones providing a standalone runnable app.

Related pull request: #30.
2014-11-12 09:39:37 +01:00
Oliver Gierke
7d034f84a7 #31 - Updated dependencies.
- Spring Boot 1.1.8 -> 1.1.9
- Querydsl 3.4.3 -> 3.5.1
- Spring 4.1.0 -> 4.1.2
- Spring Data Releasetrain Evans GA -> Evans SR1
- Lombok 1.14.6 -> 1.14.8
- Tomcat 8.0.9 -> 8.0.15
2014-11-12 09:39:37 +01:00
Greg Turnquist
4b2ec72569 #23 - Fixed typo and styling in security example.
Fix typo in link to Spring Security reference documentation and the bold type face of ROLE_ADMIN.
2014-10-27 15:10:16 +01:00
Oliver Gierke
97963961ab #21 - Updated REST/Security and root readme. 2014-10-17 10:43:29 +02:00
Oliver Gierke
1d7554b57a #21 - Polished Spring Data REST + Spring Security example.
Removed obsolete dependency declarations from pom.xml. Rewrote test cases to use Spring MVC test support instead of a running server and RestTemplate. Fixed Security configuration to allow bootstrap in Spring MVC test context. Formatting, JavaDoc.

Original pull request: #22.
2014-10-17 10:17:17 +02:00
Greg Turnquist
c5920a64d9 #21 - Added example for Spring Data REST and Spring Security.
Added example of how to secure a Spring Data REST project with Spring Security both on the method level as well as the URI level.

Original pull request: #22.
2014-10-17 10:16:59 +02:00
Oliver Gierke
11a6e4b693 #7 - Added sample for Spring Data REST ALPS support and excerpt projections. 2014-09-09 10:30:21 -05:00
Oliver Gierke
7473831b41 Upgraded to Spring Data Evans RC1.
Move to Java 8 entirely.
2014-08-13 18:14:17 +02:00