Skip to content

Commit 9be96c4

Browse files
committed
Polish "Use HTTPS for external links wherever possible"
See gh-16316
1 parent e401d02 commit 9be96c4

File tree

16 files changed

+34
-34
lines changed

16 files changed

+34
-34
lines changed

spring-boot-actuator-docs/src/main/asciidoc/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ HAL browser is not active).
6060
If https://projects.spring.io/spring-hateoas[Spring HATEOAS] is enabled (i.e. if it is
6161
on the classpath by default) then the Actuator endpoint responses are enhanced with
6262
hypermedia in the form of "links". The default media type for responses is
63-
http://stateless.co/hal_specification.html[HAL], resulting in each resource having an
63+
https://github.com/mikekelly/hal_specification[HAL], resulting in each resource having an
6464
extra property called "_links". You can change the media type to another one supported by
6565
Spring HATEOAS by providing your own `@EnableHypermedia` annotation and custom providers
6666
as necessary.

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/transaction/jta/BitronixJtaConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2015 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,7 +42,7 @@
4242
import org.springframework.util.StringUtils;
4343

4444
/**
45-
* JTA Configuration for <A href="https://docs.codehaus.org/display/BTM/Home">Bitronix</A>.
45+
* JTA Configuration for <A href="https://github.com/bitronix/btm">Bitronix</A>.
4646
*
4747
* @author Josh Long
4848
* @author Phillip Webb

spring-boot-cli/src/test/java/org/springframework/boot/cli/compiler/grape/DetailedProgressReporterTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2013 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@
3939
*/
4040
public final class DetailedProgressReporterTests {
4141

42-
private static final String REPOSITORY = "http://my.repository.com/";
42+
private static final String REPOSITORY = "https://repo.example.com/";
4343

4444
private static final String ARTIFACT = "org/alpha/bravo/charlie/1.2.3/charlie-1.2.3.jar";
4545

spring-boot-docs/src/main/asciidoc/appendix-executable-jar-format.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,6 @@ alternatives could be considered:
279279

280280
* https://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
281281
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
282-
* http://one-jar.sourceforge.net[OneJar]
282+
* https://sourceforge.net/projects/one-jar/[OneJar]
283283

284284

spring-boot-docs/src/main/asciidoc/deployment.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ and then configure and start the necessary resources on AWS:
340340
Creating security group boxfuse-sg_axelfontaine/myapp:1.0 ...
341341
Launching t2.micro instance of axelfontaine/myapp:1.0 (ami-d23f38cf) in eu-central-1 ...
342342
Instance launched in 00:30.306s -> i-92ef9f53
343-
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at http://52.28.235.61/ ...
344-
Payload started in 00:29.266s -> http://52.28.235.61/
343+
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at https://52.28.235.61/ ...
344+
Payload started in 00:29.266s -> https://52.28.235.61/
345345
Remapping Elastic IP 52.28.233.167 to i-92ef9f53 ...
346346
Waiting 15s for AWS to complete Elastic IP Zero Downtime transition ...
347347
Deployment completed successfully. axelfontaine/myapp:1.0 is up and running at https://myapp-axelfontaine.boxfuse.io/

spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ endif::release[]
262262
[[getting-started-installing-the-cli]]
263263
=== Installing the Spring Boot CLI
264264
The Spring Boot CLI is a command line tool that can be used if you want to quickly
265-
prototype with Spring. It allows you to run https://groovy.codehaus.org/[Groovy] scripts,
266-
which means that you have a familiar Java-like syntax, without so much boilerplate code.
265+
prototype with Spring. It allows you to run http://groovy-lang.org[Groovy] scripts, which
266+
means that you have a familiar Java-like syntax, without so much boilerplate code.
267267

268268
You don't need to use the CLI to work with Spring Boot but it's definitely the quickest
269269
way to get a Spring application off the ground.
@@ -370,7 +370,7 @@ install the Spring Boot CLI is:
370370
[[getting-started-cli-command-line-completion]]
371371
==== Command-line completion
372372
Spring Boot CLI ships with scripts that provide command completion for
373-
https://en.wikipedia.org/wiki/Bash_%2528Unix_shell%2529[BASH] and
373+
https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and
374374
https://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named
375375
`spring`) in any shell, or put it in your personal or system-wide bash completion
376376
initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash`

spring-boot-docs/src/main/asciidoc/production-ready-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1191,8 +1191,8 @@ recommendations.
11911191
[[production-ready-metric-writers-export-to-open-tsdb]]
11921192
==== Example: Export to Open TSDB
11931193
If you provide a `@Bean` of type `OpenTsdbGaugeWriter` and mark it
1194-
`@ExportMetricWriter` metrics are exported to http://opentsdb.net/[Open TSDB] for
1195-
aggregation. The `OpenTsdbGaugeWriter` has a `url` property that you need to set
1194+
`@ExportMetricWriter` metrics are exported to https://github.com/OpenTSDB/opentsdb[Open
1195+
TSDB] for aggregation. The `OpenTsdbGaugeWriter` has a `url` property that you need to set
11961196
to the Open TSDB "`/put`" endpoint, e.g. `http://localhost:4242/api/put`). It also has a
11971197
`namingStrategy` that you can customize or configure to make the metrics match the data
11981198
structure you need on the server. By default it just passes through the metric name as an

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -558,20 +558,20 @@ For example, the following YAML document:
558558
----
559559
environments:
560560
dev:
561-
url: https://dev.bar.com
561+
url: http://dev.example.com
562562
name: Developer Setup
563563
prod:
564-
url: https://foo.bar.com
564+
url: http://another.example.com
565565
name: My Cool App
566566
----
567567

568568
Would be transformed into these properties:
569569

570570
[source,properties,indent=0]
571571
----
572-
environments.dev.url=https://dev.bar.com
572+
environments.dev.url=http://dev.example.com
573573
environments.dev.name=Developer Setup
574-
environments.prod.url=https://foo.bar.com
574+
environments.prod.url=http://another.example.com
575575
environments.prod.name=My Cool App
576576
----
577577

@@ -582,16 +582,16 @@ for example this YAML:
582582
----
583583
my:
584584
servers:
585-
- dev.bar.com
586-
- foo.bar.com
585+
- dev.example.com
586+
- another.example.com
587587
----
588588

589589
Would be transformed into these properties:
590590

591591
[source,properties,indent=0]
592592
----
593-
my.servers[0]=dev.bar.com
594-
my.servers[1]=foo.bar.com
593+
my.servers[0]=dev.example.com
594+
my.servers[1]=another.example.com
595595
----
596596

597597
To bind to properties like that using the Spring `DataBinder` utilities (which is what

spring-boot-samples/spring-boot-sample-ws/src/main/java/sample/ws/WebServiceConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public DefaultWsdl11Definition defaultWsdl11Definition(XsdSchema countriesSchema
4545
DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
4646
wsdl11Definition.setPortTypeName("HumanResource");
4747
wsdl11Definition.setLocationUri("/holidayService/");
48-
wsdl11Definition.setTargetNamespace("http://mycompany.com/hr/definitions");
48+
wsdl11Definition.setTargetNamespace("https://company.example.com/hr/definitions");
4949
wsdl11Definition.setSchema(countriesSchema);
5050
return wsdl11Definition;
5151
}

spring-boot-samples/spring-boot-sample-ws/src/main/java/sample/ws/endpoint/HolidayEndpoint.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
@Endpoint
3939
public class HolidayEndpoint {
4040

41-
private static final String NAMESPACE_URI = "http://mycompany.com/hr/schemas";
41+
private static final String NAMESPACE_URI = "https://company.example.com/hr/schemas";
4242

4343
private XPathExpression<Element> startDateExpression;
4444
private XPathExpression<Element> endDateExpression;

0 commit comments

Comments
 (0)