From 7571621ef9c76820e56986a2642e27bbec1165ab Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Tue, 26 Mar 2019 05:00:21 -0500 Subject: [PATCH] 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). These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://blindsignals.com (200) with 1 occurrences could not be migrated: ([https](https://blindsignals.com) result SSLHandshakeException). * [ ] http://erik.eae.net/archives/2007/07/27/18.54.15/ (200) with 1 occurrences could not be migrated: ([https](https://erik.eae.net/archives/2007/07/27/18.54.15/) result SSLHandshakeException). * [ ] http://javascript.nwbox.com/IEContentLoaded/ (200) with 1 occurrences could not be migrated: ([https](https://javascript.nwbox.com/IEContentLoaded/) result SSLHandshakeException). These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://foo.bar (UnknownHostException) with 1 occurrences migrated to: https://foo.bar ([https](https://foo.bar) result UnknownHostException). * [ ] http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html (301) with 2 occurrences migrated to: https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html ([https](https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html) result 404). * [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ (301) with 1 occurrences migrated to: https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/) result 404). * [ ] http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ (301) with 8 occurrences migrated to: https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/ ([https](https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/) result 404). These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/) result 200). * [ ] http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/) result 200). * [ ] http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/) result 200). * [ ] http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/ with 1 occurrences migrated to: https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/ ([https](https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/) result 200). * [ ] http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html with 1 occurrences migrated to: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html ([https](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html) result 200). * [ ] http://docs.spring.io/spring/docs/ with 2 occurrences migrated to: https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/) result 200). * [ ] http://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html with 1 occurrences migrated to: https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html ([https](https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html) result 200). * [ ] http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html ([https](https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html) result 200). * [ ] http://github.com/spring-projects/spring-vault with 1 occurrences migrated to: https://github.com/spring-projects/spring-vault ([https](https://github.com/spring-projects/spring-vault) result 200). * [ ] http://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg with 1 occurrences migrated to: https://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg ([https](https://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg) result 200). * [ ] http://pivotal.io/ with 1 occurrences migrated to: https://pivotal.io/ ([https](https://pivotal.io/) result 200). * [ ] http://projects.spring.io with 1 occurrences migrated to: https://projects.spring.io ([https](https://projects.spring.io) result 200). * [ ] http://projects.spring.io/spring-vault/ with 1 occurrences migrated to: https://projects.spring.io/spring-vault/ ([https](https://projects.spring.io/spring-vault/) result 200). * [ ] http://repo.spring.io/milestone/org/springframework/vault/ with 1 occurrences migrated to: https://repo.spring.io/milestone/org/springframework/vault/ ([https](https://repo.spring.io/milestone/org/springframework/vault/) result 200). * [ ] http://repo.spring.io/snapshot/org/springframework/vault/ with 1 occurrences migrated to: https://repo.spring.io/snapshot/org/springframework/vault/ ([https](https://repo.spring.io/snapshot/org/springframework/vault/) result 200). * [ ] http://rubygems.org/ with 1 occurrences migrated to: https://rubygems.org/ ([https](https://rubygems.org/) result 200). * [ ] http://spring.io with 2 occurrences migrated to: https://spring.io ([https](https://spring.io) result 200). * [ ] http://spring.io/blog with 1 occurrences migrated to: https://spring.io/blog ([https](https://spring.io/blog) result 200). * [ ] http://spring.io/docs with 2 occurrences migrated to: https://spring.io/docs ([https](https://spring.io/docs) result 200). * [ ] http://spring.io/guides/gs/gradle/ with 1 occurrences migrated to: https://spring.io/guides/gs/gradle/ ([https](https://spring.io/guides/gs/gradle/) result 200). * [ ] http://spring.io/guides/gs/maven/ with 1 occurrences migrated to: https://spring.io/guides/gs/maven/ ([https](https://spring.io/guides/gs/maven/) result 200). * [ ] http://spring.io/questions with 1 occurrences migrated to: https://spring.io/questions ([https](https://spring.io/questions) result 200). * [ ] http://stackoverflow.com/questions/tagged/spring-vault with 3 occurrences migrated to: https://stackoverflow.com/questions/tagged/spring-vault ([https](https://stackoverflow.com/questions/tagged/spring-vault) result 200). * [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200). * [ ] http://twitter.com/springcentral with 1 occurrences migrated to: https://twitter.com/springcentral ([https](https://twitter.com/springcentral) result 200). * [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html with 1 occurrences migrated to: https://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html) result 301). * [ ] http://github.com/SpringSource/spring-data-jpa with 1 occurrences migrated to: https://github.com/SpringSource/spring-data-jpa ([https](https://github.com/SpringSource/spring-data-jpa) result 301). * [ ] http://plugins.jetbrains.com/plugin/6546 with 1 occurrences migrated to: https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) 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-vault with 3 occurrences migrated to: https://projects.spring.io/spring-vault ([https](https://projects.spring.io/spring-vault) result 301). * [ ] http://www.pivotal.io with 1 occurrences migrated to: https://www.pivotal.io ([https](https://www.pivotal.io) result 301). * [ ] http://www.pivotal.io/privacy-policy with 1 occurrences migrated to: https://www.pivotal.io/privacy-policy ([https](https://www.pivotal.io/privacy-policy) result 301). * [ ] http://www.pivotal.io/terms-of-use with 1 occurrences migrated to: https://www.pivotal.io/terms-of-use ([https](https://www.pivotal.io/terms-of-use) result 301). * [ ] http://eclipse.org with 1 occurrences migrated to: https://eclipse.org ([https](https://eclipse.org) result 302). * [ ] http://eclipse.org/m2e/ with 2 occurrences migrated to: https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302). * [ ] http://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html with 1 occurrences migrated to: https://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html ([https](https://play.gopivotal.com/OSS_Website_Spring_SpringNewsletterSubscriptionEmailOnly.html) result 302). * [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to: https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone) result 302). * [ ] http://repo.spring.io/libs-snapshot with 2 occurrences migrated to: https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot) result 302). * [ ] http://repo.spring.io/milestone with 4 occurrences migrated to: https://repo.spring.io/milestone ([https](https://repo.spring.io/milestone) result 302). * [ ] http://spring.io/tools/sts with 1 occurrences migrated to: https://spring.io/tools/sts ([https](https://spring.io/tools/sts) result 302). * [ ] http://www.springsource.com/developer/sts with 1 occurrences migrated to: https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302). These URLs were intentionally ignored. * http://127.0.0.1 with 1 occurrences * http://127.0.0.1:443 with 1 occurrences Closes gh-409. Original pull request: gh-409. --- README.adoc | 40 +++++++++---------- docs/Gemfile.lock | 2 +- docs/_config.yml | 8 ++-- docs/_includes/download_widget.md | 4 +- docs/_includes/page.html | 8 ++-- docs/css/main.css.css | 2 +- docs/js/test/spec/QuickStartWidgetSpec.js | 20 +++++----- ...nvironmentVaultConfigurationUnitTests.java | 2 +- src/main/asciidoc/preface.adoc | 12 +++--- .../asciidoc/reference/authentication.adoc | 2 +- .../asciidoc/reference/client-support.adoc | 2 +- .../asciidoc/reference/getting-started.adoc | 18 ++++----- 12 files changed, 60 insertions(+), 60 deletions(-) diff --git a/README.adoc b/README.adoc index dc13a407..805641c2 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ -image::https://spring.io/badges/spring-vault/prerelease.svg[link=http://projects.spring.io/spring-vault#quick-start] +image::https://spring.io/badges/spring-vault/prerelease.svg[link=https://projects.spring.io/spring-vault#quick-start] -image::https://spring.io/badges/spring-vault/snapshot.svg[link=http://projects.spring.io/spring-vault#quick-start] +image::https://spring.io/badges/spring-vault/snapshot.svg[link=https://projects.spring.io/spring-vault#quick-start] = Spring Vault @@ -13,10 +13,10 @@ Vault can manage static and dynamic secrets such as application data, username/p For a comprehensive treatment of all the Spring Vault features, please refer to: -* the http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/[User Guide] -* the http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/[JavaDocs] have extensive comments in them as well. -* the home page of http://projects.spring.io/spring-vault[Spring Vault] contains links to articles and other resources. -* for more detailed questions, use http://stackoverflow.com/questions/tagged/spring-vault[Spring Vault on Stackoverflow]. +* the https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/[User Guide] +* the https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/api/[JavaDocs] have extensive comments in them as well. +* the home page of https://projects.spring.io/spring-vault[Spring Vault] contains links to articles and other resources. +* for more detailed questions, use https://stackoverflow.com/questions/tagged/spring-vault[Spring Vault on Stackoverflow]. == Features @@ -24,13 +24,13 @@ Specifically for Spring applications: * JavaConfig for Vault Client * Retrieve secrets from Vault and initialize Spring Environment with remote property sources -* Obtain http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.backends.generic[secrets] secured with SSL -* http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.token[Token], -http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.appid[AppId], -http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.approle[AppRole], -http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.clientcert[Client Certificate], -http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.cubbyhole[Cubbyhole], and -http://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.awsec2[AWS-EC2] authentication +* Obtain https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.backends.generic[secrets] secured with SSL +* https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.token[Token], +https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.appid[AppId], +https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.approle[AppRole], +https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.clientcert[Client Certificate], +https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.cubbyhole[Cubbyhole], and +https://docs.spring.io/spring-vault/docs/current-SNAPSHOT/reference/html/#vault.authentication.awsec2[AWS-EC2] authentication * Bootstrap application context: a parent context for the main application that can be trained to do anything Spring Boot users can benefit from https://github.com/spring-cloud/spring-cloud-vault-config[Spring Cloud Vault Config], an optimized integration with Vault to provide encrypted Vault properties inside Spring Boot applications. @@ -66,7 +66,7 @@ If you'd rather like the latest snapshots of the upcoming major version, use our spring-libs-snapshot Spring Snapshot Repository - http://repo.spring.io/libs-snapshot + https://repo.spring.io/libs-snapshot ---- ==== @@ -292,13 +292,13 @@ that on it will try to build asciidoc sources from === Working with the code If you don't have an IDE preference we would recommend that you use -http://www.springsource.com/developer/sts[Spring Tools Suite] or -http://eclipse.org[Eclipse] when working with the code. We use the -http://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools +https://www.springsource.com/developer/sts[Spring Tools Suite] or +https://eclipse.org[Eclipse] when working with the code. We use the +https://eclipse.org/m2e/[m2eclipe] eclipse plugin for maven support. Other IDEs and tools should also work without issue as long as they use Maven 3.3.3 or better. ==== Importing into eclipse with m2eclipse -We recommend the http://eclipse.org/m2e/[m2eclipe] eclipse plugin when working with +We recommend the https://eclipse.org/m2e/[m2eclipe] eclipse plugin when working with eclipse. If you don't already have m2eclipse installed it is available from the "eclipse marketplace". @@ -352,7 +352,7 @@ added after the original pull request but before a merge. you can import formatter settings using the `eclipse-code-formatter.xml` file from the https://raw.githubusercontent.com/spring-framework/spring-vault/master/etc/ide/eclipse-code-formatter.xml[project]. If using IntelliJ, you can use the - http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter + https://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin] to import the same file. * Make sure all new `.java` files to have a Javadoc class comment with at least an `@author` tag identifying you, and preferably at least a paragraph on what the class is @@ -364,6 +364,6 @@ added after the original pull request but before a merge. * Please include unit tests. * If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project). -* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions], +* When writing a commit message please follow https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions], if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit message (where XXXX is the issue number). diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 2edad2ac..1f4c6b98 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -1,5 +1,5 @@ GEM - remote: http://rubygems.org/ + remote: https://rubygems.org/ specs: activesupport (4.2.7) i18n (~> 0.7) diff --git a/docs/_config.yml b/docs/_config.yml index 28cde622..54430d7d 100755 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -21,7 +21,7 @@ name: Spring Vault project: spring-vault # Project github URL -github_repo_url: http://github.com/spring-projects/spring-vault +github_repo_url: https://github.com/spring-projects/spring-vault # If you want to include a custom pom.xml or gradle template set these value to true and add _include files custom_pom_template: false @@ -30,6 +30,6 @@ custom_gradle_template: false ### The following properties are constant for most projects -main_site_url: http://spring.io -projects_site_url: http://projects.spring.io -questions_url: http://spring.io/questions +main_site_url: https://spring.io +projects_site_url: https://projects.spring.io +questions_url: https://spring.io/questions diff --git a/docs/_includes/download_widget.md b/docs/_includes/download_widget.md index 8bd1ec8d..03d7bbb5 100755 --- a/docs/_includes/download_widget.md +++ b/docs/_includes/download_widget.md @@ -10,8 +10,8 @@ Download

The recommended way to get started using {{ site.project }} in your project is with a dependency management system – the snippet below can be copied and pasted into your build. Need help? See our getting started guides - on building with Maven and - Gradle. + on building with Maven and + Gradle.

diff --git a/docs/_includes/page.html b/docs/_includes/page.html index f69a573e..8b2f1d19 100755 --- a/docs/_includes/page.html +++ b/docs/_includes/page.html @@ -114,14 +114,14 @@ © Pivotal Software, Inc. All Rights Reserved. - Terms of Use and - Privacy + document.write(d.getFullYear()); Pivotal Software, Inc. All Rights Reserved. + Terms of Use and + Privacy diff --git a/docs/css/main.css.css b/docs/css/main.css.css index 9cc0f12d..f6ca3df1 100755 --- a/docs/css/main.css.css +++ b/docs/css/main.css.css @@ -427,7 +427,7 @@ input.floating-input:focus { .bottom-slide--container .bottom-slider--image { background-image: - url("http://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg"); + url("https://imgs.mi9.com/uploads/landscape/2101/beautiful-leaf-wallpapers_1280x960_28083.jpg"); background-size: cover; height: 137px; transition: all 0.33s; diff --git a/docs/js/test/spec/QuickStartWidgetSpec.js b/docs/js/test/spec/QuickStartWidgetSpec.js index b5587776..3bafa1d0 100755 --- a/docs/js/test/spec/QuickStartWidgetSpec.js +++ b/docs/js/test/spec/QuickStartWidgetSpec.js @@ -6,18 +6,18 @@ describe("QuickStartWidget", function () { var project = new Spring.Project({ "id": "spring-data-jpa", "name": "Spring Data JPA", - "repoUrl": "http://github.com/SpringSource/spring-data-jpa", - "siteUrl": "http://projects.spring.io/spring-data-jpa", + "repoUrl": "https://github.com/SpringSource/spring-data-jpa", + "siteUrl": "https://projects.spring.io/spring-data-jpa", "projectReleases": [ { - "refDocUrl": "http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/", - "apiDocUrl": "http://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/", + "refDocUrl": "https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/reference/html/", + "apiDocUrl": "https://docs.spring.io/spring-data/jpa/docs/1.4.0.RC1/api/", "groupId": "org.springframework.data", "artifactId": "spring-data-jpa", "repository": { "id": "spring-milestones", "name": "Spring Milestones", - "url": "http://repo.spring.io/milestone", + "url": "https://repo.spring.io/milestone", "snapshotsEnabled": false }, "version": "1.4.0.RC1", @@ -28,8 +28,8 @@ describe("QuickStartWidget", function () { "versionDisplayName": "1.4.0.RC1" }, { - "refDocUrl": "http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/", - "apiDocUrl": "http://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/", + "refDocUrl": "https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/reference/html/", + "apiDocUrl": "https://docs.spring.io/spring-data/jpa/docs/1.3.4.RELEASE/api/", "groupId": "org.springframework.data", "artifactId": "spring-data-jpa", "repository": null, @@ -73,7 +73,7 @@ describe("QuickStartWidget", function () { expect($('#maven_widget')).toContainText("spring-milestones"); expect($('#maven_widget')).toContainText("Spring Milestones"); - expect($('#maven_widget')).toContainText("http://repo.spring.io/milestone"); + expect($('#maven_widget')).toContainText("https://repo.spring.io/milestone"); expect($('#maven_widget')).toContainText("false"); }); @@ -83,7 +83,7 @@ describe("QuickStartWidget", function () { expect($('#maven_widget')).not.toContainText("repository"); expect($('#maven_widget')).not.toContainText("spring-milestones"); expect($('#maven_widget')).not.toContainText("Spring Milestones"); - expect($('#maven_widget')).not.toContainText("http://repo.spring.io/milestone"); + expect($('#maven_widget')).not.toContainText("https://repo.spring.io/milestone"); expect($('#maven_widget')).not.toContainText("false"); }); }); @@ -102,7 +102,7 @@ describe("QuickStartWidget", function () { $('#jasmine_content select').val(0).change(); expect($('#maven_widget')).toContainText("repositories"); - expect($('#maven_widget')).toContainText("http://repo.spring.io/milestone"); + expect($('#maven_widget')).toContainText("https://repo.spring.io/milestone"); }); }); }); diff --git a/spring-vault-core/src/test/java/org/springframework/vault/config/EnvironmentVaultConfigurationUnitTests.java b/spring-vault-core/src/test/java/org/springframework/vault/config/EnvironmentVaultConfigurationUnitTests.java index 9e2d376f..06bf1196 100644 --- a/spring-vault-core/src/test/java/org/springframework/vault/config/EnvironmentVaultConfigurationUnitTests.java +++ b/spring-vault-core/src/test/java/org/springframework/vault/config/EnvironmentVaultConfigurationUnitTests.java @@ -77,7 +77,7 @@ public class EnvironmentVaultConfigurationUnitTests { public void shouldConfigureSsl() { Map map = new HashMap(); - map.put("vault.ssl.key-store", "http://foo.bar"); + map.put("vault.ssl.key-store", "https://foo.bar"); map.put("vault.ssl.trust-store", "classpath:certificate.json"); MapPropertySource propertySource = new MapPropertySource("shouldConfigureSsl", diff --git a/src/main/asciidoc/preface.adoc b/src/main/asciidoc/preface.adoc index cf240fc3..1d35d6a0 100644 --- a/src/main/asciidoc/preface.adoc +++ b/src/main/asciidoc/preface.adoc @@ -21,11 +21,11 @@ as well as Spring concepts. [[get-started:first-steps:spring]] == Knowing Spring -Spring Vault uses Spring framework's http://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html[core] functionality, such as the http://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/html/beans.html[IoC] container. While it is not important to know the Spring APIs, understanding the concepts behind them is. At a minimum, the idea behind IoC should be familiar for whatever IoC container you choose to use. +Spring Vault uses Spring framework's https://docs.spring.io/spring/docs/4.2.x/spring-framework-reference/html/spring-core.html[core] functionality, such as the https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/html/beans.html[IoC] container. While it is not important to know the Spring APIs, understanding the concepts behind them is. At a minimum, the idea behind IoC should be familiar for whatever IoC container you choose to use. The core functionality of the Vault support can be used directly, with no need to invoke the IoC services of the Spring Container. This is much like `RestTemplate` which can be used 'standalone' without any other services of the Spring container. To leverage all the features of Spring Vault document, such as the session support, you will need to configure some parts of the library using Spring. -To learn more about Spring, you can refer to the comprehensive (and sometimes disarming) documentation that explains in detail the Spring Framework. There are a lot of articles, blog entries and books on the matter - take a look at the Spring framework http://spring.io/docs[home page ] for more information. +To learn more about Spring, you can refer to the comprehensive (and sometimes disarming) documentation that explains in detail the Spring Framework. There are a lot of articles, blog entries and books on the matter - take a look at the Spring framework https://spring.io/docs[home page ] for more information. [[get-started:first-steps:vault]] == Knowing Vault @@ -52,7 +52,7 @@ for external services such as MySQL, PostgreSQL, Apache Cassandra, Consul, AWS a [[requirements]] == Requirements -Spring Vault 1.x binaries requires JDK level 6.0 and above, and http://spring.io/docs[Spring Framework] {springVersion} and above. While we maintain Java 6 compatibility, new projects should consider using Java 8 . +Spring Vault 1.x binaries requires JDK level 6.0 and above, and https://spring.io/docs[Spring Framework] {springVersion} and above. While we maintain Java 6 compatibility, new projects should consider using Java 8 . In terms of Vault, https://www.vaultproject.io/[Vault] at least 0.5. @@ -68,14 +68,14 @@ There are a few support options available: [[get-started:help:community]] ==== Community Forum -Post questions questions regarding Spring Vault on http://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow] to share information and help each other. Note that registration is needed *only* for posting. +Post questions questions regarding Spring Vault on https://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow] to share information and help each other. Note that registration is needed *only* for posting. [[get-started:help:professional]] ==== Professional Support -Professional, from-the-source support, with guaranteed response time, is available from http://pivotal.io/[Pivotal Sofware, Inc.], the company behind Spring Vault and Spring. +Professional, from-the-source support, with guaranteed response time, is available from https://pivotal.io/[Pivotal Sofware, Inc.], the company behind Spring Vault and Spring. [[get-started:up-to-date]] === Following Development -For information on the Spring Vault source code repository, nightly builds and snapshot artifacts please see the http://projects.spring.io/spring-vault/[Spring Vault homepage]. You can help make Spring Vault best serve the needs of the Spring community by interacting with developers through the Community on http://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow]. If you encounter a bug or want to suggest an improvement, please create a ticket on the Spring Vault issue https://github.com/spring-projects/spring-vault/issues[tracker]. To stay up to date with the latest news and announcements in the Spring ecosystem, subscribe to the Spring Community http://spring.io[Portal]. Lastly, you can follow the Spring http://spring.io/blog[blog ]or the project team on Twitter (http://twitter.com/springcentral[SpringCentral]). +For information on the Spring Vault source code repository, nightly builds and snapshot artifacts please see the https://projects.spring.io/spring-vault/[Spring Vault homepage]. You can help make Spring Vault best serve the needs of the Spring community by interacting with developers through the Community on https://stackoverflow.com/questions/tagged/spring-vault[Stackoverflow]. If you encounter a bug or want to suggest an improvement, please create a ticket on the Spring Vault issue https://github.com/spring-projects/spring-vault/issues[tracker]. To stay up to date with the latest news and announcements in the Spring ecosystem, subscribe to the Spring Community https://spring.io[Portal]. Lastly, you can follow the Spring https://spring.io/blog[blog ]or the project team on Twitter (https://twitter.com/springcentral[SpringCentral]). diff --git a/src/main/asciidoc/reference/authentication.adoc b/src/main/asciidoc/reference/authentication.adoc index f2a06a0a..e5fd6b86 100644 --- a/src/main/asciidoc/reference/authentication.adoc +++ b/src/main/asciidoc/reference/authentication.adoc @@ -15,7 +15,7 @@ Disclosure of login credentials to any party allows login to Vault and access se are permitted by the underlying role. Picking the appropriate client authentication and injecting credentials into the application is subject to risk evaluation. -Spring's http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html#beans-property-source-abstraction[PropertySource abstraction] is a natural fit +Spring's https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html#beans-property-source-abstraction[PropertySource abstraction] is a natural fit to keep configuration outside the application code. You can use system properties, environment variables or property files to store login credentials. Each approach comes with its own properties. Keep in mind that the command line and environment properties can be introspected with appropriate diff --git a/src/main/asciidoc/reference/client-support.adoc b/src/main/asciidoc/reference/client-support.adoc index 2c85435e..8ab285ab 100644 --- a/src/main/asciidoc/reference/client-support.adoc +++ b/src/main/asciidoc/reference/client-support.adoc @@ -2,7 +2,7 @@ = Client support Spring Vault supports a various HTTP clients to access Vault's HTTP API. Spring Vault uses -http://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/html/remoting.html#rest-resttemplate[`RestTemplate`] as primary interface accessing Vault. +https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/html/remoting.html#rest-resttemplate[`RestTemplate`] as primary interface accessing Vault. Dedicated client support originates from <> that is scoped only to Spring Vault's client components. diff --git a/src/main/asciidoc/reference/getting-started.adoc b/src/main/asciidoc/reference/getting-started.adoc index 43baacc9..2f03db89 100644 --- a/src/main/asciidoc/reference/getting-started.adoc +++ b/src/main/asciidoc/reference/getting-started.adoc @@ -3,7 +3,7 @@ Spring Vault support requires Vault 0.5 or higher and Java SE 6 or higher. An easy way to bootstrap setting up a working environment is to create a -Spring based project in http://spring.io/tools/sts[STS]. +Spring based project in https://spring.io/tools/sts[STS]. First you need to set up a running Vault server. Refer to the https://www.vaultproject.io/intro/[Vault] for an explanation on how to startup a Vault instance. @@ -42,13 +42,13 @@ Milestone repository to your maven `pom.xml` which is at the same level of your spring-milestone Spring Maven MILESTONE Repository - http://repo.spring.io/libs-milestone + https://repo.spring.io/libs-milestone ---- ==== -The repository is also http://repo.spring.io/milestone/org/springframework/vault/[browseable here]. +The repository is also https://repo.spring.io/milestone/org/springframework/vault/[browseable here]. If you are using a SNAPSHOT, you will also need to add the location of the Spring Snapshot repository to your maven `pom.xml` which is at the same level of your `` element. @@ -60,13 +60,13 @@ Snapshot repository to your maven `pom.xml` which is at the same level of your ` spring-snapshot Spring Maven SNAPSHOT Repository - http://repo.spring.io/libs-snapshot + https://repo.spring.io/libs-snapshot ---- ==== -The repository is also http://repo.spring.io/snapshot/org/springframework/vault/[browseable here]. +The repository is also https://repo.spring.io/snapshot/org/springframework/vault/[browseable here]. Create a simple `Secrets` class to persist: @@ -182,7 +182,7 @@ Now let's look at a examples of how to work with Vault in the context of the Spr === Registering and configuring Spring Vault beans Using Spring Vault does not require a Spring Context. However, instances of `VaultTemplate` and `SessionManager` registered inside a managed context will participate -in http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-factory-nature[lifecycle events] +in https://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html#beans-factory-nature[lifecycle events] provided by the Spring IoC container. This is useful to dispose active Vault sessions upon application shutdown. You also benefit from reusing the same `VaultTemplate` instance across your application. @@ -388,7 +388,7 @@ No configuration options. Vault can be used in many different ways. One specific use-case is using Vault to store encrypted properties. Spring Vault supports Vault as property -source to obtain configuration properties using Spring's http://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html#beans-property-source-abstraction[PropertySource abstraction]. +source to obtain configuration properties using Spring's https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/html/beans.html#beans-property-source-abstraction[PropertySource abstraction]. NOTE: You can reference properties stored inside Vault in other property sources or use value injection with `@Value(…)`. Special attention is required when bootstrapping beans that require data stored inside of Vault. A `VaultPropertySource` must be initialized at that time to retrieve properties from Vault. @@ -491,8 +491,8 @@ For example, if the `@Configuration` classes above were registered via component-scanning, the ordering is difficult to predict. In such cases - and if overriding is important - it is recommended that the user fall back to using the programmatic PropertySource API. -See http://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html[`ConfigurableEnvironment`] and -http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html[`MutablePropertySources`] for details. +See https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/core/env/ConfigurableEnvironment.html[`ConfigurableEnvironment`] and +https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/core/env/MutablePropertySources.html[`MutablePropertySources`] for details. [[vault.core.executioncallback]]