Commit Graph

109 Commits

Author SHA1 Message Date
Oliver Drotbohm
37b25008b0 DATAREST-1397 - Polishing.
Removed the redeclaration of hasCorsConfigurationSource(…) in RepositoryRestHandlerMapping as it already inherits the one from BasePathAwareRestHandlerMapping.

Removed @Override on BasePathAwareRestHandlerMapping.hasCorsConfigurationSource(…) as we need to compile against Spring 5.1, which doesn't expose the method. Downgrades from Spring HATEOAS 1.0 API usage in tests.
2019-06-21 15:39:56 +02:00
Mark Paluch
4e586495f4 DATAREST-1397 - Adapt to CORS changes in AbstractHandlerMapping.
We now enable CORS handling for all requests by overriding the newly introduced hasCorsConfigurationSource method. We cannot detect CORS configuration handling solely on the handler but require path headers to resolve repository interface mappings.
2019-06-21 15:23:42 +02:00
Mark Paluch
436e7e1e13 DATAREST-1398 - Integrate nohttp tooling into CI build profile. 2019-06-18 10:13:23 +02:00
Christoph Strobl
bf3929e35c DATAREST-1378 - Prepare next development iteration. 2019-06-14 13:14:50 +02:00
Christoph Strobl
4291209067 DATAREST-1378 - Release version 3.1.9 (Lovelace SR9). 2019-06-14 12:39:34 +02:00
Mark Paluch
8acd867ba0 DATAREST-1351 - URL Cleanup. 2019-06-05 11:31:09 +02:00
Oliver Drotbohm
db0b3e7860 DATAREST-1385 - Upgrade to latest Spring Security for tests. 2019-06-05 08:22:55 +02:00
Mark Paluch
43abfa7617 DATAREST-1374 - Prepare next development iteration. 2019-05-13 14:58:45 +02:00
Mark Paluch
f8ff5e7593 DATAREST-1374 - Release version 3.1.8 (Lovelace SR8). 2019-05-13 13:25:53 +02:00
Oliver Drotbohm
81d438d74b DATAREST-1360 - Prepare next development iteration. 2019-05-10 12:55:58 +02:00
Oliver Drotbohm
e38af5c228 DATAREST-1360 - Release version 3.1.7 (Lovelace SR7). 2019-05-10 12:18:52 +02:00
Oliver Drotbohm
541d62007a DATAREST-1344 - Prepare next development iteration. 2019-04-01 20:55:12 +02:00
Oliver Drotbohm
daaff4ade6 DATAREST-1344 - Release version 3.1.6 (Lovelace SR6). 2019-04-01 20:04:13 +02:00
Spring Operator
ff768baccc DATAREST-1351 - 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 396 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0.html with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html) result 200).

Original Pull Request: #335
2019-03-22 10:26:37 +01:00
Christoph Strobl
b122ef8826 DATAREST-1353 - Update test dependency for Apache Solr.
Related issue: DATASOLR-517
2019-03-20 15:26:32 +01:00
Spring Operator
725e868563 DATAREST-1351 - 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://maven.apache.org/xsd/maven-4.0.0.xsd with 13 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://www.pivotal.io with 2 occurrences migrated to:
  https://www.pivotal.io ([https](https://www.pivotal.io) result 301).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 26 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 13 occurrences

Original pull request: #312
2019-03-18 11:46:41 -05:00
Mark Paluch
37ca7290cf DATAREST-1336 - Prepare next development iteration. 2019-02-13 11:24:21 +01:00
Mark Paluch
0467b62e43 DATAREST-1336 - Release version 3.1.5 (Lovelace SR5). 2019-02-13 09:56:39 +01:00
Mark Paluch
0cb313e5d0 DATAREST-1309 - Prepare next development iteration. 2019-01-10 13:48:11 +01:00
Mark Paluch
1e3050e41a DATAREST-1309 - Release version 3.1.4 (Lovelace SR4). 2019-01-10 12:35:56 +01:00
Mark Paluch
2cdac36253 DATAREST-1330 - Update copyright years to 2019. 2019-01-02 12:17:33 +01:00
Mark Paluch
e3c8553311 DATAREST-1298 - Prepare next development iteration. 2018-11-27 14:23:34 +01:00
Mark Paluch
b77385334b DATAREST-1298 - Release version 3.1.3 (Lovelace SR3). 2018-11-27 13:43:25 +01:00
Mark Paluch
5d66f2979c DATAREST-1291 - Prepare next development iteration. 2018-10-29 13:59:16 +01:00
Mark Paluch
d14014ab2c DATAREST-1291 - Release version 3.1.2 (Lovelace SR2). 2018-10-29 12:53:52 +01:00
Mark Paluch
68696191db DATAREST-1287 - Prepare next development iteration. 2018-10-15 11:12:13 +02:00
Mark Paluch
7a7bb8f2e4 DATAREST-1287 - Release version 3.1.1 (Lovelace SR1). 2018-10-15 10:42:05 +02:00
Mark Paluch
94852c30fc DATAREST-1277 - Prepare next development iteration. 2018-09-21 07:46:16 -04:00
Mark Paluch
e96904414b DATAREST-1277 - Release version 3.1 GA (Lovelace). 2018-09-21 07:08:39 -04:00
Christoph Strobl
1663532281 DATAREST-1279 - Fix embedded server setup for solr web tests. 2018-08-29 09:38:05 +02:00
Oliver Gierke
d243be79da DATAREST-1267 - Prepare next development iteration. 2018-08-20 10:56:52 +02:00
Oliver Gierke
b2da264bea DATAREST-1267 - Release version 3.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00
Mark Paluch
fd5cb8342a DATAREST-1245 - Prepare next development iteration. 2018-07-26 12:32:25 +02:00
Mark Paluch
a9aeb856fd DATAREST-1245 - Release version 3.1 RC1 (Lovelace). 2018-07-26 12:06:35 +02:00
Oliver Gierke
6ee2b1374a DATAREST-1256 - Upgraded to Spring HATEOAS 0.25.0.BUILD-SNAPSHOT.
Adapted RepositoryRestMvcConfiguration to now create a shared fallback ObjectMapper and avoid to register it as Spring Bean. Adapted test cases that previously were relying on such a bean being present.

Adapted test cases to verify on the correct ALPS document structure (see spring-projects/spring-hateoas#665).
2018-06-20 20:01:57 +02:00
Oliver Gierke
a1454058d9 DATAREST-948 - Introduced ExposureConfiguration to allow customizing the exposure of HTTP methods of repositories.
ExposureConfiguration exposes methods to register AggregateResourceHttpMethodsFilter and AssociationResourceHttpMethodsFilter (both applied by type or globally) to customize the supported HTTP methods by collection, item and association resources. It also provides shortcuts for common use cases like disabling PUT for item resources etc.
2018-05-30 10:40:28 +02:00
Christoph Strobl
769a48d073 DATAREST-1230 - Prepare next development iteration. 2018-05-17 10:09:34 +02:00
Christoph Strobl
108d9106b8 DATAREST-1230 - Release version 3.1 M3 (Lovelace). 2018-05-17 09:51:42 +02:00
Mark Paluch
3438d168df DATAREST-1231 - Upgrade to Solr 7.2.1. 2018-04-13 15:53:51 +02:00
Mark Paluch
6a968d0f9c DATAREST-1196 - Prepare next development iteration. 2018-04-13 15:08:32 +02:00
Mark Paluch
c2327c4ff2 DATAREST-1196 - Release version 3.1 M2 (Lovelace). 2018-04-13 14:30:58 +02:00
Oliver Gierke
e76e5dd4f2 DATAREST-1225 - Upgrade to Spring Security 5.0.3 for integration tests. 2018-04-04 15:44:20 +02:00
Oliver Gierke
75109533c9 DATAREST-1219 - Removed explicit declaration of Jackson library versions. 2018-03-27 19:53:57 +02:00
Oliver Gierke
e79b73664a DATAREST-1212 - Deprecated RepositoryRestConfigurerAdapter.
We now recommend to implement RepositoryRestConfigurer directly as its declared methods are now default methods. We also introduced a static factory method to easily create a configurer to customize RepositoryRestConfiguration via a Lambda expression.

Moved test case setups that use that deprecated API to the new one.
2018-03-12 13:21:14 +01:00
Christoph Strobl
1fcfe12168 DATAREST-1141 - Prepare next development iteration. 2018-02-06 10:11:15 +01:00
Christoph Strobl
cd594d5c46 DATAREST-1141 - Release version 3.1 M1 (Lovelace). 2018-02-06 09:47:10 +01:00
Mark Paluch
5b47d8c95b DATAREST-1184 - Adapt to CORS changes in Spring Framework 5.0.3. 2018-01-24 10:26:34 +01:00
Oliver Gierke
a10aa934b7 DATAREST-1176 - Repository method exposure can now be controlled via RepositoryRestConfiguration.
The default exposure of repository methods is now controlled via RepositoryRestConfiguration.setExposeRepositoryMethodsByDefault(…). That allows us to remove the additional API from RepositoryDetectionStrategy as the mere detection is an orthogonal topic.

Also added RepositoryRestConfiguration.disableDefaultExposure() to set the RepositoryDetectionStategy to ANNOTATED and disables default method exposure in one go. That can be exposed via a Spring Boot configuration property downstream.
2018-01-18 18:41:07 +01:00
Mark Paluch
5d9dbf1823 DATAREST-1170 - Update copyright years to 2018. 2018-01-09 08:44:14 +01:00
Oliver Gierke
d3c5e339db DATAREST-1160 - Adapt tests to new CORS defaults in Spring Framework.
Spring Framework 5.0.2 changes the default for the Allow-Credentials header to false. We now adapted our test case to that and also drop the expectation to see the request URL in the Allow-Origin header as that is only returned if Allow-Credentials is true, which it now isn't by default.
2017-11-27 09:57:30 +01:00