Polish "Use HTTPS for external links wherever possible"

See gh-16316
1.3.x
Andy Wilkinson 6 years ago
parent e401d02ced
commit 9be96c49e2

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

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -42,7 +42,7 @@ import org.springframework.transaction.jta.JtaTransactionManager;
import org.springframework.util.StringUtils;
/**
* JTA Configuration for <A href="https://docs.codehaus.org/display/BTM/Home">Bitronix</A>.
* JTA Configuration for <A href="https://github.com/bitronix/btm">Bitronix</A>.
*
* @author Josh Long
* @author Phillip Webb

@ -1,5 +1,5 @@
/*
* Copyright 2012-2013 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -39,7 +39,7 @@ import static org.junit.Assert.assertThat;
*/
public final class DetailedProgressReporterTests {
private static final String REPOSITORY = "http://my.repository.com/";
private static final String REPOSITORY = "https://repo.example.com/";
private static final String ARTIFACT = "org/alpha/bravo/charlie/1.2.3/charlie-1.2.3.jar";

@ -279,6 +279,6 @@ alternatives could be considered:
* https://maven.apache.org/plugins/maven-shade-plugin/[Maven Shade Plugin]
* http://www.jdotsoft.com/JarClassLoader.php[JarClassLoader]
* http://one-jar.sourceforge.net[OneJar]
* https://sourceforge.net/projects/one-jar/[OneJar]

@ -340,8 +340,8 @@ and then configure and start the necessary resources on AWS:
Creating security group boxfuse-sg_axelfontaine/myapp:1.0 ...
Launching t2.micro instance of axelfontaine/myapp:1.0 (ami-d23f38cf) in eu-central-1 ...
Instance launched in 00:30.306s -> i-92ef9f53
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at http://52.28.235.61/ ...
Payload started in 00:29.266s -> http://52.28.235.61/
Waiting for AWS to boot Instance i-92ef9f53 and Payload to start at https://52.28.235.61/ ...
Payload started in 00:29.266s -> https://52.28.235.61/
Remapping Elastic IP 52.28.233.167 to i-92ef9f53 ...
Waiting 15s for AWS to complete Elastic IP Zero Downtime transition ...
Deployment completed successfully. axelfontaine/myapp:1.0 is up and running at https://myapp-axelfontaine.boxfuse.io/

@ -262,8 +262,8 @@ endif::release[]
[[getting-started-installing-the-cli]]
=== Installing the Spring Boot CLI
The Spring Boot CLI is a command line tool that can be used if you want to quickly
prototype with Spring. It allows you to run https://groovy.codehaus.org/[Groovy] scripts,
which means that you have a familiar Java-like syntax, without so much boilerplate code.
prototype with Spring. It allows you to run http://groovy-lang.org[Groovy] scripts, which
means that you have a familiar Java-like syntax, without so much boilerplate code.
You don't need to use the CLI to work with Spring Boot but it's definitely the quickest
way to get a Spring application off the ground.
@ -370,7 +370,7 @@ install the Spring Boot CLI is:
[[getting-started-cli-command-line-completion]]
==== Command-line completion
Spring Boot CLI ships with scripts that provide command completion for
https://en.wikipedia.org/wiki/Bash_%2528Unix_shell%2529[BASH] and
https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29[BASH] and
https://en.wikipedia.org/wiki/Zsh[zsh] shells. You can `source` the script (also named
`spring`) in any shell, or put it in your personal or system-wide bash completion
initialization. On a Debian system the system-wide scripts are in `/shell-completion/bash`

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

@ -558,10 +558,10 @@ For example, the following YAML document:
----
environments:
dev:
url: https://dev.bar.com
url: http://dev.example.com
name: Developer Setup
prod:
url: https://foo.bar.com
url: http://another.example.com
name: My Cool App
----
@ -569,9 +569,9 @@ Would be transformed into these properties:
[source,properties,indent=0]
----
environments.dev.url=https://dev.bar.com
environments.dev.url=http://dev.example.com
environments.dev.name=Developer Setup
environments.prod.url=https://foo.bar.com
environments.prod.url=http://another.example.com
environments.prod.name=My Cool App
----
@ -582,16 +582,16 @@ for example this YAML:
----
my:
servers:
- dev.bar.com
- foo.bar.com
- dev.example.com
- another.example.com
----
Would be transformed into these properties:
[source,properties,indent=0]
----
my.servers[0]=dev.bar.com
my.servers[1]=foo.bar.com
my.servers[0]=dev.example.com
my.servers[1]=another.example.com
----
To bind to properties like that using the Spring `DataBinder` utilities (which is what

@ -45,7 +45,7 @@ public class WebServiceConfig extends WsConfigurerAdapter {
DefaultWsdl11Definition wsdl11Definition = new DefaultWsdl11Definition();
wsdl11Definition.setPortTypeName("HumanResource");
wsdl11Definition.setLocationUri("/holidayService/");
wsdl11Definition.setTargetNamespace("http://mycompany.com/hr/definitions");
wsdl11Definition.setTargetNamespace("https://company.example.com/hr/definitions");
wsdl11Definition.setSchema(countriesSchema);
return wsdl11Definition;
}

@ -38,7 +38,7 @@ import org.springframework.ws.server.endpoint.annotation.RequestPayload;
@Endpoint
public class HolidayEndpoint {
private static final String NAMESPACE_URI = "http://mycompany.com/hr/schemas";
private static final String NAMESPACE_URI = "https://company.example.com/hr/schemas";
private XPathExpression<Element> startDateExpression;
private XPathExpression<Element> endDateExpression;

@ -1,7 +1,7 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:hr="http://mycompany.com/hr/schemas"
xmlns:hr="https://company.example.com/hr/schemas"
elementFormDefault="qualified"
targetNamespace="http://mycompany.com/hr/schemas">
targetNamespace="https://company.example.com/hr/schemas">
<xs:element name="HolidayRequest">
<xs:complexType>
<xs:all>

@ -56,7 +56,7 @@ public class SampleWsApplicationTests {
@Test
public void testSendingHolidayRequest() {
final String request = "<hr:HolidayRequest xmlns:hr=\"http://mycompany.com/hr/schemas\">"
final String request = "<hr:HolidayRequest xmlns:hr=\"https://company.example.com/hr/schemas\">"
+ " <hr:Holiday>" + " <hr:StartDate>2013-10-20</hr:StartDate>"
+ " <hr:EndDate>2013-11-22</hr:EndDate>" + " </hr:Holiday>"
+ " <hr:Employee>" + " <hr:Number>1</hr:Number>"

@ -25,10 +25,10 @@ do as they were designed before this was clarified.
| Central Authentication Service (CAS) client
| https://github.com/Unicon/cas-client-autoconfig-support
| http://modelmapper.org/[ModelMapper]
| https://github.com/modelmapper/modelmapper/[ModelMapper]
| https://github.com/jmnarloch/modelmapper-spring-boot-starter
| https://secondmarket.github.io/mongeez/[Mongeez]
| https://github.com/mongeez/mongeez[Mongeez]
| https://github.com/hzpz/mongeez-spring-boot-starter/
| https://ha-jdbc.github.io/[HA JDBC]
@ -58,7 +58,7 @@ do as they were designed before this was clarified.
| https://www.google.com/recaptcha[Google's reCAPTCHA]
| https://github.com/mkopylec/recaptcha-spring-boot-starter
| http://www.mybatis.org/mybatis-3/[Mybatis]
| https://github.com/mybatis/mybatis-3[MyBatis]
| https://github.com/mybatis/mybatis-spring-boot
| https://wicket.apache.org/[Apache Wicket]

@ -24,7 +24,7 @@ import org.springframework.boot.loader.data.RandomAccessData;
* A ZIP File "End of central directory record" (EOCD).
*
* @author Phillip Webb
* @see <a href="https://en.wikipedia.org/wiki/Zip_%2528file_format%2529">Zip File Format</a>
* @see <a href="https://en.wikipedia.org/wiki/Zip_%28file_format%29">Zip File Format</a>
*/
class CentralDirectoryEndRecord {

@ -1,5 +1,5 @@
/*
* Copyright 2012-2015 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -156,8 +156,8 @@ public final class JarEntryData {
/**
* Decode MS-DOS Date Time details. See
* <a href="http://mindprod.com/jgloss/zip.html">mindprod.com/jgloss/zip.html</a> for
* more details of the format.
* <a href="https://docs.microsoft.com/en-gb/windows/desktop/api/winbase/nf-winbase-dosdatetimetofiletime">
* Microsoft's documentation</a> for more details of the format.
* @param date the date part
* @param time the time part
* @return a {@link Calendar} containing the decoded date.

@ -12,7 +12,7 @@
port to the integration test itself.
The example below showcases how you could achieve the same feature using the
{{{https://mojo.codehaus.org/build-helper-maven-plugin/}build-helper-plugin}}:
{{{https://www.mojohaus.org/build-helper-maven-plugin/}build-helper-plugin}}:
---
<project>

Loading…
Cancel
Save