Skip to content

Commit c2c4ed7

Browse files
committed
Merge branch '1.1.x' into 1.2.x
2 parents e8e813c + d94c1c7 commit c2c4ed7

File tree

39 files changed

+134
-133
lines changed

39 files changed

+134
-133
lines changed

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ with regard to the reporter of an incident.
4242
This Code of Conduct is adapted from the [Contributor Covenant][1], version 1.3.0, available
4343
at [contributor-covenant.org/version/1/3/0/][2].
4444

45-
[1]: http://contributor-covenant.org
46-
[2]: http://contributor-covenant.org/version/1/3/0/
45+
[1]: https://contributor-covenant.org
46+
[2]: https://contributor-covenant.org/version/1/3/0/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ The project can then be imported into Eclipse using `File -> Import…` and then
6161

6262
[1]: CODE_OF_CONDUCT.md
6363
[2]: https://cla.pivotal.io/sign/spring
64-
[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
64+
[3]: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

docs/src/docs/asciidoc/contributing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ for your RESTful services. However, we can't achieve that goal without your cont
99
[[contributing-questions]]
1010
=== Questions
1111

12-
You can ask questions about Spring REST Docs on http://stackoverflow.com[StackOverflow]
12+
You can ask questions about Spring REST Docs on https://stackoverflow.com[StackOverflow]
1313
using the `spring-restdocs` tag. Similarly, we encourage you to help your fellow
1414
Spring REST Docs users by answering questions.
1515

docs/src/docs/asciidoc/documenting-your-api.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,11 +1032,11 @@ A number of snippets are produced automatically when you document a request and
10321032
|Snippet | Description
10331033

10341034
| `curl-request.adoc`
1035-
| Contains the http://curl.haxx.se[`curl`] command that is equivalent to the `MockMvc`
1035+
| Contains the https://curl.haxx.se[`curl`] command that is equivalent to the `MockMvc`
10361036
call that is being documented
10371037

10381038
| `httpie-request.adoc`
1039-
| Contains the http://httpie.org[`HTTPie`] command that is equivalent to the `MockMvc`
1039+
| Contains the https://httpie.org[`HTTPie`] command that is equivalent to the `MockMvc`
10401040
call that is being documented
10411041

10421042
| `http-request.adoc`

docs/src/docs/asciidoc/getting-started.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ If you want to jump straight in, a number of sample applications are available:
1919
| {samples}/rest-notes-spring-data-rest[Spring Data REST]
2020
| Maven
2121
| Demonstrates the creation of a getting started guide and an API guide for a service
22-
implemented using http://projects.spring.io/spring-data-rest/[Spring Data REST].
22+
implemented using https://projects.spring.io/spring-data-rest/[Spring Data REST].
2323

2424
| {samples}/rest-notes-spring-hateoas[Spring HATEOAS]
2525
| Gradle
2626
| Demonstrates the creation of a getting started guide and an API guide for a service
27-
implemented using http://projects.spring.io/spring-hateoas/[Spring HATEOAS].
27+
implemented using https://projects.spring.io/spring-hateoas/[Spring HATEOAS].
2828

2929
|===
3030

@@ -54,7 +54,7 @@ If you want to jump straight in, a number of sample applications are available:
5454
| {samples}/rest-notes-slate[Slate]
5555
| Gradle
5656
| Demonstrates the use of Spring REST Docs with Markdown and
57-
http://github.com/tripit/slate[Slate].
57+
https://github.com/tripit/slate[Slate].
5858

5959
| {samples}/testng[TestNG]
6060
| Gradle
@@ -249,7 +249,7 @@ from where it will be included in the jar file.
249249
=== Generating documentation snippets
250250
Spring REST Docs uses
251251
{spring-framework-docs}/#spring-mvc-test-framework[Spring's MVC Test framework] or
252-
http://www.rest-assured.io[REST Assured] to make requests to the service that you are
252+
http://rest-assured.io/[REST Assured] to make requests to the service that you are
253253
documenting. It then produces documentation snippets for the request and the resulting
254254
response.
255255

@@ -440,7 +440,7 @@ the resulting HTML files depends on whether you are using Maven or Gradle:
440440

441441
The generated snippets can then be included in the manually created Asciidoctor file from
442442
above using the
443-
http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files[include macro].
443+
https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files[include macro].
444444
The `snippets` attribute that is automatically set by `spring-restdocs-asciidoctor`
445445
configured in the <<getting-started-build-configuration, build
446446
configuration>> can be used to reference the snippets output directory. For example:

docs/src/docs/asciidoc/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Andy Wilkinson
1212
:source: {github}/tree/{branch-or-tag}
1313
:samples: {source}/samples
1414
:templates: {source}spring-restdocs/src/main/resources/org/springframework/restdocs/templates
15-
:spring-boot-docs: http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle
16-
:spring-framework-docs: http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle
15+
:spring-boot-docs: https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle
16+
:spring-framework-docs: https://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle
1717

1818
[[abstract]]
1919

docs/src/docs/asciidoc/introduction.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ services that is accurate and readable.
66

77
Writing high-quality documentation is difficult. One way to ease that difficulty is to use
88
tools that are well-suited to the job. To this end, Spring REST Docs uses
9-
http://asciidoctor.org[Asciidoctor] by default. Asciidoctor processes plain text and
9+
https://asciidoctor.org[Asciidoctor] by default. Asciidoctor processes plain text and
1010
produces HTML, styled and layed out to suit your needs. If you prefer, Spring REST Docs
1111
can also be configured to use Markdown.
1212

1313
Spring REST Docs makes use of snippets produced by tests written with
1414
{spring-framework-docs}/#spring-mvc-test-framework[Spring MVC Test] or
15-
http://www.rest-assured.io[REST Assured] 2 and 3. This test-driven approach helps to
15+
http://rest-assured.io[REST Assured] 2 and 3. This test-driven approach helps to
1616
guarantee the accuracy of your service's documentation. If a snippet is incorrect the
1717
test that produces it will fail.
1818

docs/src/docs/asciidoc/working-with-asciidoctor.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ relevant to Spring REST Docs.
99
[[working-with-asciidoctor-resources]]
1010
=== Resources
1111

12-
* http://asciidoctor.org/docs/asciidoc-syntax-quick-reference[Syntax quick reference]
13-
* http://asciidoctor.org/docs/user-manual[User manual]
12+
* https://asciidoctor.org/docs/asciidoc-syntax-quick-reference[Syntax quick reference]
13+
* https://asciidoctor.org/docs/user-manual[User manual]
1414

1515

1616

@@ -127,7 +127,7 @@ should be `operation-{snippet}-title`. For example, to customize the title of th
127127
[[working-with-asciidoctor-including-snippets-individual]]
128128
==== Including individual snippets
129129

130-
The http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files[include
130+
The https://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#include-files[include
131131
macro] is used to include individual snippets in your documentation. The `snippets`
132132
attribute that is automatically set by `spring-restdocs-asciidoctor` configured in the
133133
<<getting-started-build-configuration, build configuration>> can be used to reference the
@@ -153,7 +153,7 @@ snippet is included or by using a custom snippet template.
153153
==== Formatting columns
154154

155155
Asciidoctor has rich support for
156-
http://asciidoctor.org/docs/user-manual/#cols-format[formatting a table's columns]. For
156+
https://asciidoctor.org/docs/user-manual/#cols-format[formatting a table's columns]. For
157157
example, the widths of a table's columns can be specified using the `cols` attribute:
158158

159159
[source,indent=0]
@@ -200,5 +200,5 @@ in a cell that contains the value of a `description` attribute:
200200

201201
==== Further reading
202202

203-
Refer to the http://asciidoctor.org/docs/user-manual/#tables[Tables section of
203+
Refer to the https://asciidoctor.org/docs/user-manual/#tables[Tables section of
204204
the Asciidoctor user manual] for more information about customizing tables.

samples/rest-notes-grails/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Overview
44

55
This is a sample project using Grails 3, Spock, and Spring REST docs. For more
6-
information about the Grails framework please see [grails.org](http://grails.org).
6+
information about the Grails framework please see [grails.org](https://grails.org).
77

88
Grails is built on top of Spring Boot and Gradle so there are a few different ways to
99
run this project including:

samples/rest-notes-grails/grails-app/conf/logback.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import grails.util.BuildSettings
1818
import grails.util.Environment
1919

20-
// See http://logback.qos.ch/manual/groovy.html for details on configuration
20+
// See https://logback.qos.ch/manual/groovy.html for details on configuration
2121
appender('STDOUT', ConsoleAppender) {
2222
encoder(PatternLayoutEncoder) {
2323
pattern = "%level %logger - %msg%n"

samples/rest-notes-slate/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ documentation by [ERB][4]. The combined Markdown document is then turned into HT
2121
[1]: https://github.com/lord/slate
2222
[2]: slate/source/api-guide.html.md.erb
2323
[3]: src/test/java/com/example/notes/ApiDocumentation.java
24-
[4]: http://ruby-doc.org/stdlib-2.2.3/libdoc/erb/rdoc/ERB.html
24+
[4]: https://ruby-doc.org/stdlib-2.2.3/libdoc/erb/rdoc/ERB.html

samples/rest-notes-slate/slate/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Features
2727

2828
* **Let your users update your documentation for you** — By default, your Slate-generated documentation is hosted in a public Github repository. Not only does this mean you get free hosting for your docs with Github Pages, but it also makes it simple for other developers to make pull requests to your docs if they find typos or other problems. Of course, if you don't want to use GitHub, you're also welcome to host your docs elsewhere.
2929

30-
Getting started with Slate is super easy! Simply fork this repository and follow the instructions below. Or, if you'd like to check out what Slate is capable of, take a look at the [sample docs](http://lord.github.io/slate).
30+
Getting started with Slate is super easy! Simply fork this repository and follow the instructions below. Or, if you'd like to check out what Slate is capable of, take a look at the [sample docs](https://lord.github.io/slate).
3131

3232
Getting Started with Slate
3333
------------------------------
@@ -67,18 +67,18 @@ Companies Using Slate
6767

6868
* [NASA](https://api.nasa.gov)
6969
* [IBM](https://docs.cloudant.com/api.html)
70-
* [Sony](http://developers.cimediacloud.com)
71-
* [Mozilla](http://localforage.github.io/localForage/)
70+
* [Sony](https://developers.cimediacloud.com)
71+
* [Mozilla](https://localforage.github.io/localForage/)
7272
* [Best Buy](https://bestbuyapis.github.io/api-documentation/)
7373
* [Travis-CI](https://docs.travis-ci.com/api/)
7474
* [Greenhouse](https://developers.greenhouse.io/harvest.html)
75-
* [Woocommerce](http://woocommerce.github.io/woocommerce-rest-api-docs/)
76-
* [Appium](http://appium.io/slate/en/master)
75+
* [Woocommerce](https://woocommerce.github.io/woocommerce-rest-api-docs/)
76+
* [Appium](https://appium.io/slate/en/master)
7777
* [Dwolla](https://docs.dwolla.com/)
7878
* [Clearbit](https://clearbit.com/docs)
7979
* [Coinbase](https://developers.coinbase.com/api)
80-
* [Parrot Drones](http://developer.parrot.com/docs/bebop/)
81-
* [Fidor Bank](http://docs.fidor.de/)
80+
* [Parrot Drones](https://developer.parrot.com/docs/bebop/)
81+
* [Fidor Bank](https://api-docs.fidor.de)
8282
* [Scale](https://docs.scaleapi.com/)
8383

8484
You can view more in [the list on the wiki](https://github.com/lord/slate/wiki/Slate-in-the-Wild).
@@ -100,12 +100,12 @@ Thanks to the following people who have submitted major pull requests:
100100
- [@realityking](https://github.com/realityking)
101101
- [@cvkef](https://github.com/cvkef)
102102

103-
Also, thanks to [Sauce Labs](http://saucelabs.com) for helping sponsor the project.
103+
Also, thanks to [Sauce Labs](https://saucelabs.com) for helping sponsor the project.
104104

105105
Special Thanks
106106
--------------------
107107
- [Middleman](https://github.com/middleman/middleman)
108108
- [jquery.tocify.js](https://github.com/gfranko/jquery.tocify.js)
109109
- [middleman-syntax](https://github.com/middleman/middleman-syntax)
110110
- [middleman-gh-pages](https://github.com/edgecase/middleman-gh-pages)
111-
- [Font Awesome](http://fortawesome.github.io/Font-Awesome/)
111+
- [Font Awesome](https://fortawesome.github.io/Font-Awesome/)

samples/rest-notes-slate/slate/source/api-guide.html.md.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ that describes the problem. The error object has the following structure:
4949
## Hypermedia
5050

5151
RESTful Notes uses hypermedia and resources include links to other resources in their
52-
responses. Responses are in [Hypertext Application Language (HAL)](http://stateless.co/hal_specification.html format).
53-
Links can be found beneath the `_links` key. Users of the API should not create URIs
54-
themselves, instead they should use the above-described links to navigate
52+
responses. Responses are in [Hypertext Application Language (HAL)](https://github.com/mikekelly/hal_specification)
53+
format. Links can be found beneath the `_links` key. Users of the API should not create
54+
URIs themselves, instead they should use the above-described links to navigate
5555

5656

5757

samples/rest-notes-slate/slate/source/javascripts/app/_lang.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ under the License.
6565

6666
key = decodeURIComponent(key);
6767
// missing `=` should be `null`:
68-
// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
68+
// https://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters
6969
val = val === undefined ? null : decodeURIComponent(val);
7070

7171
if (!ret.hasOwnProperty(key)) {

samples/rest-notes-slate/slate/source/javascripts/lib/_energize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
/**
117117
* Special logic for standalone web apps
118-
* See http://stackoverflow.com/questions/2898740/iphone-safari-web-app-opens-links-in-new-window
118+
* See https://stackoverflow.com/questions/2898740/iphone-safari-web-app-opens-links-in-new-window
119119
*/
120120
if(standAlone) {
121121
window.location = target.getAttribute("href");

samples/rest-notes-slate/slate/source/javascripts/lib/_jquery.highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* jQuery Highlight plugin
33
*
44
* Based on highlight v3 by Johann Burkard
5-
* http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
5+
* https://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html
66
*
77
* Code a little bit refactored and cleaned (in my humble opinion).
88
* Most important changes:

samples/rest-notes-slate/slate/source/javascripts/lib/_jquery.tocify.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* jquery Tocify - v1.8.0 - 2013-09-16
2-
* http://www.gregfranko.com/jquery.tocify.js/
2+
* http://gregfranko.com/jquery.tocify.js/
33
* Copyright (c) 2013 Greg Franko; Licensed MIT
44
* Modified lightly by Robert Lord to fix a bug I found,
55
* and also so it adds ids to headers
@@ -10,7 +10,7 @@
1010
// Immediately-Invoked Function Expression (IIFE) [Ben Alman Blog Post](http://benalman.com/news/2010/11/immediately-invoked-function-expression/) that calls another IIFE that contains all of the plugin logic. I used this pattern so that anyone viewing this code would not have to scroll to the bottom of the page to view the local parameters that were passed to the main IIFE.
1111
(function(tocify) {
1212

13-
// ECMAScript 5 Strict Mode: [John Resig Blog Post](http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/)
13+
// ECMAScript 5 Strict Mode: [John Resig Blog Post](https://johnresig.com/blog/ecmascript-5-strict-mode-json-and-more/)
1414
"use strict";
1515

1616
// Calls the second IIFE and locally passes in the global jQuery, window, and document objects
@@ -21,7 +21,7 @@
2121
// Locally passes in `jQuery`, the `window` object, the `document` object, and an `undefined` variable. The `jQuery`, `window` and `document` objects are passed in locally, to improve performance, since javascript first searches for a variable match within the local variables set before searching the global variables set. All of the global variables are also passed in locally to be minifier friendly. `undefined` can be passed in locally, because it is not a reserved word in JavaScript.
2222
(function($, window, document, undefined) {
2323

24-
// ECMAScript 5 Strict Mode: [John Resig Blog Post](http://ejohn.org/blog/ecmascript-5-strict-mode-json-and-more/)
24+
// ECMAScript 5 Strict Mode: [John Resig Blog Post](https://johnresig.com/blog/ecmascript-5-strict-mode-json-and-more/)
2525
"use strict";
2626

2727
var tocClassName = "tocify",

samples/rest-notes-slate/slate/source/javascripts/lib/_jquery_ui.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*! jQuery UI - v1.11.3 - 2015-02-12
2-
* http://jqueryui.com
2+
* https://jqueryui.com
33
* Includes: widget.js
44
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
55

@@ -16,13 +16,13 @@
1616
}(function( $ ) {
1717
/*!
1818
* jQuery UI Widget 1.11.3
19-
* http://jqueryui.com
19+
* https://jqueryui.com
2020
*
2121
* Copyright jQuery Foundation and other contributors
2222
* Released under the MIT license.
23-
* http://jquery.org/license
23+
* https://jquery.org/license
2424
*
25-
* http://api.jqueryui.com/jQuery.widget/
25+
* https://api.jqueryui.com/jQuery.widget/
2626
*/
2727

2828

@@ -41,7 +41,7 @@
4141
$( elem ).triggerHandler( "remove" );
4242
}
4343

44-
// http://bugs.jquery.com/ticket/8235
44+
// https://bugs.jquery.com/ticket/8235
4545
} catch ( e ) {}
4646
}
4747
orig( elems );
@@ -305,7 +305,7 @@
305305
.unbind( this.eventNamespace )
306306
.removeData( this.widgetFullName )
307307
// support: jquery <1.6.3
308-
// http://bugs.jquery.com/ticket/9413
308+
// https://bugs.jquery.com/ticket/9413
309309
.removeData( $.camelCase( this.widgetFullName ) );
310310
this.widget()
311311
.unbind( this.eventNamespace )

samples/rest-notes-slate/slate/source/javascripts/lib/_lunr.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.5.7
2+
* lunr - https://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.5.7
33
* Copyright (C) 2014 Oliver Nightingale
44
* MIT Licensed
55
* @license
@@ -1298,12 +1298,12 @@
12981298
/*!
12991299
* lunr.stemmer
13001300
* Copyright (C) 2014 Oliver Nightingale
1301-
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
1301+
* Includes code from - https://tartarus.org/~martin/PorterStemmer/js.txt
13021302
*/
13031303

13041304
/**
13051305
* lunr.stemmer is an english language stemmer, this is a JavaScript
1306-
* implementation of the PorterStemmer taken from http://tartaurs.org/~martin
1306+
* implementation of the PorterStemmer taken from https://tartaurs.org/~martin
13071307
*
13081308
* @module
13091309
* @param {String} str The string to stem
@@ -1689,7 +1689,7 @@
16891689
/*!
16901690
* lunr.stemmer
16911691
* Copyright (C) 2014 Oliver Nightingale
1692-
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt
1692+
* Includes code from - https://tartarus.org/~martin/PorterStemmer/js.txt
16931693
*/
16941694

16951695
/**

samples/rest-notes-slate/src/test/java/com/example/notes/ApiDocumentation.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ public void notesListExample() throws Exception {
126126
this.noteRepository.deleteAll();
127127

128128
createNote("REST maturity model",
129-
"http://martinfowler.com/articles/richardsonMaturityModel.html");
129+
"https://martinfowler.com/articles/richardsonMaturityModel.html");
130130
createNote("Hypertext Application Language (HAL)",
131-
"http://stateless.co/hal_specification.html");
132-
createNote("Application-Level Profile Semantics (ALPS)", "http://alps.io/spec/");
131+
"https://github.com/mikekelly/hal_specification");
132+
createNote("Application-Level Profile Semantics (ALPS)", "https://github.com/alps-io/spec");
133133

134134
this.mockMvc.perform(get("/notes"))
135135
.andExpect(status().isOk())
@@ -153,7 +153,7 @@ public void notesCreateExample() throws Exception {
153153

154154
Map<String, Object> note = new HashMap<String, Object>();
155155
note.put("title", "REST maturity model");
156-
note.put("body", "http://martinfowler.com/articles/richardsonMaturityModel.html");
156+
note.put("body", "https://martinfowler.com/articles/richardsonMaturityModel.html");
157157
note.put("tags", Arrays.asList(tagLocation));
158158

159159
this.mockMvc.perform(
@@ -181,7 +181,7 @@ public void noteGetExample() throws Exception {
181181

182182
Map<String, Object> note = new HashMap<String, Object>();
183183
note.put("title", "REST maturity model");
184-
note.put("body", "http://martinfowler.com/articles/richardsonMaturityModel.html");
184+
note.put("body", "https://martinfowler.com/articles/richardsonMaturityModel.html");
185185
note.put("tags", Arrays.asList(tagLocation));
186186

187187
String noteLocation = this.mockMvc
@@ -243,7 +243,7 @@ public void tagsCreateExample() throws Exception {
243243
public void noteUpdateExample() throws Exception {
244244
Map<String, Object> note = new HashMap<String, Object>();
245245
note.put("title", "REST maturity model");
246-
note.put("body", "http://martinfowler.com/articles/richardsonMaturityModel.html");
246+
note.put("body", "https://martinfowler.com/articles/richardsonMaturityModel.html");
247247

248248
String noteLocation = this.mockMvc
249249
.perform(

0 commit comments

Comments
 (0)