DATAREST-1351 - URL Cleanup.
This commit is contained in:
@@ -32,7 +32,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
||||
* @author Jon Brisbin
|
||||
* @author Oliver Gierke
|
||||
* @author Greg Turnquist
|
||||
* @see <a href="http://json-schema.org/">http://json-schema.org/</a>
|
||||
* @see <a href="https://json-schema.org/">https://json-schema.org/</a>
|
||||
*/
|
||||
@BasePathAwareController
|
||||
class RepositorySchemaController {
|
||||
|
||||
@@ -37,9 +37,9 @@ import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @author Mathias Düsterhöft
|
||||
* @see <a href="http://tools.ietf.org/html/rfc6902">http://tools.ietf.org/html/rfc6902</a>
|
||||
* @see <a href="https://tools.ietf.org/html/rfc6902">https://tools.ietf.org/html/rfc6902</a>
|
||||
* @see <a href=
|
||||
* "http://tools.ietf.org/html/draft-ietf-appsawg-json-merge-patch-02">http://tools.ietf.org/html/draft-ietf-appsawg-json-merge-patch-02</a>
|
||||
* "https://tools.ietf.org/html/draft-ietf-appsawg-json-merge-patch-02">https://tools.ietf.org/html/draft-ietf-appsawg-json-merge-patch-02</a>
|
||||
*/
|
||||
class JsonPatchHandler {
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ public class JsonSchema {
|
||||
* @param typeInformation
|
||||
* @return
|
||||
* @see <a href=
|
||||
* "http://json-schema.org/latest/json-schema-core.html#anchor8">http://json-schema.org/latest/json-schema-core.html#anchor8</a>
|
||||
* "https://json-schema.org/latest/json-schema-core.html#anchor8">https://json-schema.org/latest/json-schema-core.html#anchor8</a>
|
||||
*/
|
||||
private static String toJsonSchemaType(TypeInformation<?> typeInformation) {
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ public class RepositoryCorsConfigurationAccessorUnitTests {
|
||||
assertThat(configuration.getAllowCredentials()).isTrue();
|
||||
assertThat(configuration.getAllowedHeaders()).contains("Content-type");
|
||||
assertThat(configuration.getExposedHeaders()).contains("Accept");
|
||||
assertThat(configuration.getAllowedOrigins()).contains("http://far.far.away");
|
||||
assertThat(configuration.getAllowedOrigins()).contains("http://far.far.example");
|
||||
assertThat(configuration.getAllowedMethods()).contains("PATCH");
|
||||
assertThat(configuration.getAllowedMethods()).doesNotContain("DELETE");
|
||||
assertThat(configuration.getAllowCredentials()).isTrue();
|
||||
@@ -102,7 +102,7 @@ public class RepositoryCorsConfigurationAccessorUnitTests {
|
||||
@CrossOrigin
|
||||
interface AnnotatedRepository {}
|
||||
|
||||
@CrossOrigin(origins = "http://far.far.away", //
|
||||
@CrossOrigin(origins = "http://far.far.example", //
|
||||
allowedHeaders = "Content-type", //
|
||||
maxAge = 1234, exposedHeaders = "Accept", //
|
||||
methods = RequestMethod.PATCH, //
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
||||
Reference in New Issue
Block a user