Skip to content

Commit ab85515

Browse files
spring-operatorJay Bryant
authored and
Jay Bryant
committed
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://stateless.co/hal_specification.html (200) with 1 occurrences could not be migrated: ([https](https://stateless.co/hal_specification.html) 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://creativecommons.org/licenses/by-nd/3.0/ with 1 occurrences migrated to: https://creativecommons.org/licenses/by-nd/3.0/ ([https](https://creativecommons.org/licenses/by-nd/3.0/) result 200). * [ ] http://docs.spring.io/spring-boot/docs/ with 1 occurrences migrated to: https://docs.spring.io/spring-boot/docs/ ([https](https://docs.spring.io/spring-boot/docs/) result 200). * [ ] http://docs.spring.io/spring/docs/ with 3 occurrences migrated to: https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/) result 200). * [ ] http://www.atteo.org/2011/12/12/Evo-Inflector.html with 1 occurrences migrated to: https://www.atteo.org/2011/12/12/Evo-Inflector.html ([https](https://www.atteo.org/2011/12/12/Evo-Inflector.html) result 200). * [ ] http://docs.spring.io/spring-data/commons/docs/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/commons/docs/ ([https](https://docs.spring.io/spring-data/commons/docs/) result 301). * [ ] http://docs.spring.io/spring-data/rest/docs/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/rest/docs/ ([https](https://docs.spring.io/spring-data/rest/docs/) result 301). * [ ] http://projects.spring.io/spring-data-jpa with 1 occurrences migrated to: https://projects.spring.io/spring-data-jpa ([https](https://projects.spring.io/spring-data-jpa) result 301). * [ ] http://projects.spring.io/spring-hateoas with 1 occurrences migrated to: https://projects.spring.io/spring-hateoas ([https](https://projects.spring.io/spring-hateoas) result 301). # Ignored These URLs were intentionally ignored. * http://localhost:8080 with 1 occurrences * http://localhost:8080/people with 9 occurrences * http://localhost:8080/people/1 with 12 occurrences * http://localhost:8080/people/search with 4 occurrences * http://localhost:8080/people/search/findByLastName with 1 occurrences * http://localhost:8080/people/search/findByLastName?name=Baggins with 1 occurrences
1 parent 7e3c7f3 commit ab85515

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

LICENSE.writing.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Except where otherwise noted, this work is licensed under http://creativecommons.org/licenses/by-nd/3.0/
1+
Except where otherwise noted, this work is licensed under https://creativecommons.org/licenses/by-nd/3.0/

README.adoc

+12-8
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
:spring_data_rest: current
33
:spring_data_jpa: current
44
:spring_data_commons: current
5-
:spring_boot_version: 2.2.1.RELEASE
6-
:Controller: http://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/stereotype/Controller.html
7-
:DispatcherServlet: http://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/web/servlet/DispatcherServlet.html
8-
:SpringApplication: http://docs.spring.io/spring-boot/docs/{spring_boot_version}/api/org/springframework/boot/SpringApplication.html
9-
:ResponseBody: http://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/web/bind/annotation/ResponseBody.html
5+
:spring_boot_version: 2.2.2.RELEASE
6+
:Controller: https://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/stereotype/Controller.html
7+
:DispatcherServlet: https://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/web/servlet/DispatcherServlet.html
8+
:SpringApplication: https://docs.spring.io/spring-boot/docs/{spring_boot_version}/api/org/springframework/boot/SpringApplication.html
9+
:ResponseBody: https://docs.spring.io/spring/docs/{spring_version}/javadoc-api/org/springframework/web/bind/annotation/ResponseBody.html
1010
:toc:
1111
:icons: font
1212
:source-highlighter: prettify
@@ -20,8 +20,8 @@ link:/understanding/REST[RESTful] front end.
2020

2121
You will build a Spring application that lets you create and retrieve `Person` objects
2222
stored in a database by using Spring Data REST. Spring Data REST takes the features of
23-
http://projects.spring.io/spring-hateoas[Spring HATEOAS] and
24-
http://projects.spring.io/spring-data-jpa[Spring Data JPA] and automatically combines them
23+
https://projects.spring.io/spring-hateoas[Spring HATEOAS] and
24+
https://projects.spring.io/spring-data-jpa[Spring Data JPA] and automatically combines them
2525
together.
2626

2727
NOTE: Spring Data REST also supports link:/guides/gs/accessing-neo4j-data-rest[Spring Data
@@ -86,6 +86,10 @@ include::complete/src/main/java/com/example/accessingdatarest/Person.java[]
8686
The `Person` object has a first name and a last name. (There is also an ID object that is
8787
configured to be automatically generated, so you need not deal with that.)
8888

89+
This repository is an interface and will allow you to perform various operations involving `Person` objects. It gets these operations by extending the https://docs.spring.io/spring-data/commons/docs/{spring_data_commons}/api/org/springframework/data/repository/PagingAndSortingRepository.html[PagingAndSortingRepository] interface defined in Spring Data Commons.
90+
91+
At runtime, Spring Data REST will create an implementation of this interface automatically. Then it will use the https://docs.spring.io/spring-data/rest/docs/{spring_data_rest}/api/org/springframework/data/rest/core/annotation/RepositoryRestResource.html[@RepositoryRestResource] annotation to direct Spring MVC to create RESTful endpoints at `/people`.
92+
8993
== Create a Person repository
9094

9195
Next, you need to create a simple repository, as the following listing (in
@@ -254,7 +258,7 @@ $ curl http://localhost:8080/people
254258

255259
The `persons` object contains a list that includes `Frodo`. Notice how it includes a
256260
`self` link. Spring Data REST also uses
257-
http://www.atteo.org/2011/12/12/Evo-Inflector.html[Evo Inflector] to pluralize the name of
261+
https://www.atteo.org/2011/12/12/Evo-Inflector.html[Evo Inflector] to pluralize the name of
258262
the entity for groupings.
259263

260264
You can query directly for the individual record, as follows:

0 commit comments

Comments
 (0)