Commit Graph

282 Commits

Author SHA1 Message Date
Ryan Baxter
b33ddb9bce Fix logic when placeholder is at the end of the URL. (#1429) 2019-07-18 12:04:16 -04:00
Scott Frederick
f89724c00b Add abstraction for retrieving config token. (#1398)
The VaultEnvironmentRepository requires a token to be passed in a X-Config-Token header in an HttpServletRequest. This doesn't work well when config server is embedded in an application, as an HttpServletRequest is not available in that case.

These changes allows the Vault token to be provided in the HttpServletRequest header (the default behavior) or as a configuration property.
2019-06-03 12:20:52 -04:00
Ryan Baxter
3754a545c3 Merge remote-tracking branch 'origin/2.0.x' into 2.1.x 2019-05-15 15:55:04 -04:00
Haytham Mohamed
e5f9cd0640 support multiple spring application names for Vault Fixes gh-1356 (#1379) 2019-05-15 15:53:57 -04:00
Ryan Baxter
9afeadaf4e Merge remote-tracking branch 'origin/2.0.x' into 2.1.x 2019-04-22 20:12:03 +02:00
Eduard Wirch
b4563ed7f6 Prevent JGit from loading local configuration in tests (#1272)
Without any preparations JGit defaults to read system / user / project
configuration from local file system. Users running tests locally
might see test failures due to their config diverging from the test
author config.

For me JGitEnvironmentRepositoryIntegrationTests.pullDirtyRepo() was
constantly failing, because JGit calculated a different hash for the
created commit than on the build server.
2019-04-22 17:43:02 +02:00
buildmaster
c6d86493fa Going back to snapshots 2019-04-16 20:09:00 +00:00
buildmaster
2fcda6e1cb Update SNAPSHOT to 2.1.2.RELEASE 2019-04-16 20:05:07 +00:00
Spencer Gibb
90e8a81f6f Merge branch '2.0.x' into 2.1.x 2019-04-16 14:21:58 -04:00
Spencer Gibb
3632fc6f64 Cleans invalid paths
fixes gh-1355
2019-04-16 14:18:39 -04:00
Ryan Baxter
190eff85fb Merge remote-tracking branch 'origin/2.0.x' into 2.1.x 2019-04-10 17:41:58 -04:00
Anshul Mehra
92307647e9 GH-1337: Add support for using default label when serving binary resources (#1340)
resolves #1337
closes #1338
2019-04-09 10:17:59 -04:00
Spring Operator
a694760135 URL Cleanup (#1305)
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).

# 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://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 182 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-26 11:24:22 -04:00
Spring Operator
7ab82e74f6 URL Cleanup (#1332)
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://myconfigserver.com (200) with 2 occurrences could not be migrated:
   ([https](https://myconfigserver.com) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
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://doc.gitlab.com/ee/web_hooks/web_hooks.html (302) with 2 occurrences migrated to:
  https://docs.gitlab.com/ee/web_hooks/web_hooks.html ([https](https://doc.gitlab.com/ee/web_hooks/web_hooks.html) result SSLHandshakeException).
* [ ] http://authenticated.http.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://authenticated.http.proxy ([https](https://authenticated.http.proxy) result UnknownHostException).
* [ ] http://authenticated.https.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://authenticated.https.proxy ([https](https://authenticated.https.proxy) result UnknownHostException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
  https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException).
* [ ] http://git/team-a/config-repo.git (UnknownHostException) with 4 occurrences migrated to:
  https://git/team-a/config-repo.git ([https](https://git/team-a/config-repo.git) result UnknownHostException).
* [ ] http://git/team-b/config-repo.git (UnknownHostException) with 2 occurrences migrated to:
  https://git/team-b/config-repo.git ([https](https://git/team-b/config-repo.git) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967 (UnknownHostException) with 2 occurrences migrated to:
  https://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967 ([https](https://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f ([https](https://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/internal/lawsuits (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/internal/lawsuits ([https](https://gitea.lawyers.corp/internal/lawsuits) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/internal/lawsuits.git (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/internal/lawsuits.git ([https](https://gitea.lawyers.corp/internal/lawsuits.git) result UnknownHostException).
* [ ] 78b77379c4 (UnknownHostException) with 1 occurrences migrated to:
  78b77379c4 ([https](78b77379c4) result UnknownHostException).
* [ ] 70767b558d...78b77379c4 (UnknownHostException) with 1 occurrences migrated to:
  70767b558d...78b77379c4 ([https](70767b558d...78b77379c4) result UnknownHostException).
* [ ] http://http.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://http.proxy ([https](https://http.proxy) result UnknownHostException).
* [ ] http://https.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://https.proxy ([https](https://https.proxy) result UnknownHostException).
* [ ] http://example.com/mike/diaspora (404) with 3 occurrences migrated to:
  https://example.com/mike/diaspora ([https](https://example.com/mike/diaspora) result 404).
* [ ] http://example.com/mike/diaspora.git (404) with 3 occurrences migrated to:
  https://example.com/mike/diaspora.git ([https](https://example.com/mike/diaspora.git) result 404).
* [ ] b6568db1bc (404) with 1 occurrences migrated to:
  b6568db1bc ([https](b6568db1bc) result 404).
* [ ] da1560886d (404) with 1 occurrences migrated to:
  da1560886d ([https](da1560886d) result 404).
* [ ] http://example.com/svn/ (404) with 1 occurrences migrated to:
  https://example.com/svn/ ([https](https://example.com/svn/) result 404).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## 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://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html ([https](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) result 200).
* [ ] http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html ([https](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) result 200).
* [ ] http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html with 2 occurrences migrated to:
  https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html ([https](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) result 200).
* [ ] http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html ([https](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) result 200).
* [ ] http://git.mydoc.io/?t=154711 with 1 occurrences migrated to:
  https://git.mydoc.io/?t=154711 ([https](https://git.mydoc.io/?t=154711) result 200).
* [ ] http://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349 with 1 occurrences migrated to:
  https://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349 ([https](https://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349) result 200).
* [ ] http://subversion.apache.org/ with 2 occurrences migrated to:
  https://subversion.apache.org/ ([https](https://subversion.apache.org/) result 200).
* [ ] http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ with 5 occurrences migrated to:
  https://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ ([https](https://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/) result 200).
* [ ] http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ with 5 occurrences migrated to:
  https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ ([https](https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 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://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) result 200).
* [ ] http://git.oschina.net/oschina/webhook with 1 occurrences migrated to:
  https://git.oschina.net/oschina/webhook ([https](https://git.oschina.net/oschina/webhook) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html ([https](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html) result 302).
* [ ] 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://www.danga.com/memcached/ with 1 occurrences migrated to:
  https://www.danga.com/memcached/ ([https](https://www.danga.com/memcached/) 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).

# Ignored
These URLs were intentionally ignored.

* http://127.0.0.1:%s/test/endpoint with 1 occurrences
* http://127.0.0.1:8200 with 1 occurrences
* http://127.0.0.1:8200/v1/foo/bar/secret/ with 2 occurrences
* http://127.0.0.1:8200/v1/secret/ with 7 occurrences
* http://127.0.0.1:8200/v1/secret/data/ with 2 occurrences
* http://:foobar:@localhost:9999 with 1 occurrences
* http://:foobar@localhost:9999 with 1 occurrences
* http://example/git with 10 occurrences
* http://foo:8877/ with 2 occurrences
* http://foo:8877/bar with 1 occurrences
* http://foo:bar@localhost:9999 with 2 occurrences
* http://foobar:@localhost:9999 with 1 occurrences
* http://foobar@localhost:9999 with 1 occurrences
* http://localhost with 21 occurrences
* http://localhost/ with 5 occurrences
* http://localhost/path/ with 2 occurrences
* http://localhost/test.git with 3 occurrences
* http://localhost/test1.git with 1 occurrences
* http://localhost/test2.git with 1 occurrences
* http://localhost/value-test.git with 1 occurrences
* http://localhost1/test.git with 1 occurrences
* http://localhost1:8888/ with 1 occurrences
* http://localhost2/test.git with 1 occurrences
* http://localhost:8888 with 9 occurrences
* http://localhost:8888/myapp/default with 1 occurrences
* http://localhost:8889 with 3 occurrences
* http://localhost:9999 with 9 occurrences
* http://server-host-doesnt-exist:1234 with 1 occurrences
* http://somegitserver/somegitrepo with 6 occurrences
* http://somehost with 8 occurrences
* http://user:password@localhost:8888 with 1 occurrences
2019-03-26 11:18:59 -04:00
Spring Operator
653bcfb516 URL Cleanup (#1333)
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://myconfigserver.com (200) with 2 occurrences could not be migrated:
   ([https](https://myconfigserver.com) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
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://doc.gitlab.com/ee/web_hooks/web_hooks.html (302) with 2 occurrences migrated to:
  https://docs.gitlab.com/ee/web_hooks/web_hooks.html ([https](https://doc.gitlab.com/ee/web_hooks/web_hooks.html) result SSLHandshakeException).
* [ ] http://authenticated.http.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://authenticated.http.proxy ([https](https://authenticated.http.proxy) result UnknownHostException).
* [ ] http://authenticated.https.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://authenticated.https.proxy ([https](https://authenticated.https.proxy) result UnknownHostException).
* [ ] http://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
  https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException).
* [ ] http://git/team-a/config-repo.git (UnknownHostException) with 4 occurrences migrated to:
  https://git/team-a/config-repo.git ([https](https://git/team-a/config-repo.git) result UnknownHostException).
* [ ] http://git/team-b/config-repo.git (UnknownHostException) with 2 occurrences migrated to:
  https://git/team-b/config-repo.git ([https](https://git/team-b/config-repo.git) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967 (UnknownHostException) with 2 occurrences migrated to:
  https://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967 ([https](https://gitea.lawyers.corp/avatars/5868737ae078a4441031bf550d16e967) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f ([https](https://gitea.lawyers.corp/avatars/dbc87f99ecd29cb0eb4447807ad73f9f) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/internal/lawsuits (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/internal/lawsuits ([https](https://gitea.lawyers.corp/internal/lawsuits) result UnknownHostException).
* [ ] http://gitea.lawyers.corp/internal/lawsuits.git (UnknownHostException) with 1 occurrences migrated to:
  https://gitea.lawyers.corp/internal/lawsuits.git ([https](https://gitea.lawyers.corp/internal/lawsuits.git) result UnknownHostException).
* [ ] 78b77379c4 (UnknownHostException) with 1 occurrences migrated to:
  78b77379c4 ([https](78b77379c4) result UnknownHostException).
* [ ] 70767b558d...78b77379c4 (UnknownHostException) with 1 occurrences migrated to:
  70767b558d...78b77379c4 ([https](70767b558d...78b77379c4) result UnknownHostException).
* [ ] http://http.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://http.proxy ([https](https://http.proxy) result UnknownHostException).
* [ ] http://https.proxy (UnknownHostException) with 2 occurrences migrated to:
  https://https.proxy ([https](https://https.proxy) result UnknownHostException).
* [ ] http://example.com/mike/diaspora (404) with 3 occurrences migrated to:
  https://example.com/mike/diaspora ([https](https://example.com/mike/diaspora) result 404).
* [ ] http://example.com/mike/diaspora.git (404) with 3 occurrences migrated to:
  https://example.com/mike/diaspora.git ([https](https://example.com/mike/diaspora.git) result 404).
* [ ] b6568db1bc (404) with 1 occurrences migrated to:
  b6568db1bc ([https](b6568db1bc) result 404).
* [ ] da1560886d (404) with 1 occurrences migrated to:
  da1560886d ([https](da1560886d) result 404).
* [ ] http://example.com/svn/ (404) with 1 occurrences migrated to:
  https://example.com/svn/ ([https](https://example.com/svn/) result 404).
* [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to:
  https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404).

## 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://EditorConfig.org with 1 occurrences migrated to:
  https://EditorConfig.org ([https](https://EditorConfig.org) result 200).
* [ ] http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html ([https](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html) result 200).
* [ ] http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html ([https](https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) result 200).
* [ ] http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html with 2 occurrences migrated to:
  https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html ([https](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) result 200).
* [ ] http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html ([https](https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html) result 200).
* [ ] http://git.mydoc.io/?t=154711 with 1 occurrences migrated to:
  https://git.mydoc.io/?t=154711 ([https](https://git.mydoc.io/?t=154711) result 200).
* [ ] http://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349 with 1 occurrences migrated to:
  https://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349 ([https](https://serverfault.com/questions/377348/when-does-tmp-get-cleared/377349) result 200).
* [ ] http://subversion.apache.org/ with 2 occurrences migrated to:
  https://subversion.apache.org/ ([https](https://subversion.apache.org/) result 200).
* [ ] http://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ with 5 occurrences migrated to:
  https://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/ ([https](https://svn.apache.org/repos/asf/subversion/trunk/contrib/hook-scripts/) result 200).
* [ ] http://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ with 5 occurrences migrated to:
  https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/ ([https](https://svn.apache.org/repos/asf/subversion/trunk/tools/hook-scripts/) result 200).
* [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 2 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://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html) result 200).
* [ ] http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html with 2 occurrences migrated to:
  https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html ([https](https://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) result 200).
* [ ] http://git.oschina.net/oschina/webhook with 1 occurrences migrated to:
  https://git.oschina.net/oschina/webhook ([https](https://git.oschina.net/oschina/webhook) result 301).
* [ ] http://plugins.jetbrains.com/plugin/6546 with 2 occurrences migrated to:
  https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301).
* [ ] http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html with 1 occurrences migrated to:
  https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html ([https](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html) result 302).
* [ ] 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://www.danga.com/memcached/ with 1 occurrences migrated to:
  https://www.danga.com/memcached/ ([https](https://www.danga.com/memcached/) 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).

# Ignored
These URLs were intentionally ignored.

* http://127.0.0.1:%s/test/endpoint with 1 occurrences
* http://127.0.0.1:8200 with 1 occurrences
* http://127.0.0.1:8200/v1/foo/bar/secret/ with 2 occurrences
* http://127.0.0.1:8200/v1/secret/ with 9 occurrences
* http://127.0.0.1:8200/v1/secret/data/ with 2 occurrences
* http://:foobar:@localhost:9999 with 1 occurrences
* http://:foobar@localhost:9999 with 1 occurrences
* http://example/git with 10 occurrences
* http://foo:8877/ with 2 occurrences
* http://foo:8877/bar with 1 occurrences
* http://foo:bar@localhost:9999 with 2 occurrences
* http://foobar:@localhost:9999 with 1 occurrences
* http://foobar@localhost:9999 with 1 occurrences
* http://localhost with 23 occurrences
* http://localhost/ with 5 occurrences
* http://localhost/path/ with 2 occurrences
* http://localhost/test.git with 3 occurrences
* http://localhost/test1.git with 1 occurrences
* http://localhost/test2.git with 1 occurrences
* http://localhost/value-test.git with 1 occurrences
* http://localhost1/test.git with 1 occurrences
* http://localhost1:8888/ with 1 occurrences
* http://localhost2/test.git with 1 occurrences
* http://localhost:8888 with 9 occurrences
* http://localhost:8888/myapp/default with 1 occurrences
* http://localhost:8889 with 3 occurrences
* http://localhost:9999 with 9 occurrences
* http://server-host-doesnt-exist:1234 with 1 occurrences
* http://somegitserver/somegitrepo with 6 occurrences
* http://somehost with 8 occurrences
* http://user:password@localhost:8888 with 1 occurrences
2019-03-26 11:18:39 -04:00
Spring Operator
e230e0ea0b URL Cleanup (#1309)
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).

# 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://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 222 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-03-25 09:34:10 -04:00
kamalakarp
6a105a7502 Adds support for the optional X-Vault-Namespace header.
fixes gh-1259
2019-03-01 13:22:14 -05:00
Ryan Baxter
9a0b39acb3 Dont use parent of basedir when using a parameterized url (#1180)
* Dont use parent of basedir when using a parameterized url.  Fixes #1175
2019-02-13 15:42:49 -06:00
Spencer Gibb
3b3083b5e7 Merge branch '2.0.x' 2019-02-07 12:18:35 -05:00
Ralph Goers
7f9c9dd4ca Support If-Modified-Since (#1235)
Supports If-Modified-Since header and returns Last-Modified header

fixes gh-1228
2019-02-07 11:35:08 -05:00
Vladimir Nemergut
0227016518 Add support for SSH proxy (HTTP) (#1246)
Fixes #1244
2019-02-06 16:19:49 -05:00
Marcin Grzejszczak
b1546c59ca Added checkstyle 2019-02-05 10:38:16 +01:00
Alberto Ríos
846314ae20 Adding support for credhub as a repository (#1211) 2018-12-17 11:56:24 -05:00
Ryan Baxter
98d84a369d Adding back in search strategy as we now have a failure analyzer for this condition. Fixes #1193 2018-11-20 12:13:10 -05:00
Spencer Gibb
609cf30f53 Ignores NativeBootstrapFailureAnalyzerTests temporarily
see gh-1193
2018-11-19 17:30:21 -05:00
Spencer Gibb
e1e2b3b6e2 Disables JMX for tests 2018-11-19 17:05:54 -05:00
Ryan Baxter
c97e62dc09 Merge remote-tracking branch 'origin/2.0.x' 2018-11-19 16:28:48 -05:00
Ryan Baxter
e7ee0e299e Merge remote-tracking branch 'origin/1.4.x' into 2.0.x 2018-11-19 16:27:21 -05:00
ramaiahkk
e380b83026 #1103 java.lang.NullPointerException (#1104)
java.lang.NullPointerException while decrypting due to value is null and still looking for cipher string. #1103
2018-11-16 16:40:56 -05:00
Ryan Baxter
cabc55469b Only override native default label if config server default label is not null. Fixes #1184 (#1185) 2018-11-12 12:22:22 -05:00
Marcin Grzejszczak
c0faa81676 Bumping jgit to 5.1.3.201810200350-r (#1179)
* Bumping jgit

* Updated tests
2018-11-07 15:38:36 +01:00
Lukáš Vyhlídka
be4155eb12 Fix wrong synchronization on Spring Refresh Context Event (#1168) (#1170) 2018-10-25 09:56:51 -04:00
Ryan Baxter
8b122cc3f5 Adds failure analyzer for git uri error. Fixes #1060 (#1162) 2018-10-10 16:53:19 -04:00
Ryan Baxter
aee1ae1b5c Merge remote-tracking branch 'origin/2.0.x' 2018-09-17 10:32:45 -04:00
Ryan Baxter
8ecc20e119 Merge remote-tracking branch 'origin/1.4.x' into 2.0.x 2018-09-17 10:32:13 -04:00
Lukáš Vyhlídka
80f98c387a Fix branch not to be updated when refreshRate used (#1136) (#1138) 2018-09-17 09:49:08 -04:00
Larry Ogrodnek
35d176e56f #974 remove one or two escapes for supporting JSON (#982)
Hi.  This is an attempt to fix #974 (cc @ryanjbaxter )

As mentioned previously in the ticket, the original code tries to mask out escaped variables (i.e. `\${hello}`) before performing replacement, and then finally removing the escapes before returning.  

This works fine for .yaml or .properties, but not for JSON.

The jackson serialization that happens before the property resolution ends up adding an extra `\` (so that the JSON is well-formed) [EnvironmentController.labelledJsonPropertes](https://github.com/spring-cloud/spring-cloud-config/blob/master/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/environment/EnvironmentController.java#L169).

I've updated the `resolverPlaceholders` to accept one or two escapes (`\` or `\\`).

I realize this will now treat `\\` as an escape in yml or properties, which may be unintended, but seems unlikely.

An alternative might be to add a flag to this method to indicate whether or not to allow double escape, and updating the `labelledJson` method to pass the flag?

I'm open to any feedback on this approach or another.

Thanks!
2018-09-17 09:36:50 -04:00
Joël
4ee026b03d Add too weak custom encryption exception (#1119)
* Add too weak custom encryption exception
2018-08-28 13:45:58 -04:00
ramaiahkk
306e018691 #1103 java.lang.NullPointerException (#1104)
java.lang.NullPointerException while decrypting due to value is null and still looking for cipher string. #1103
2018-08-06 12:51:43 -04:00
Spencer Gibb
513353b8e7 Bumps to 2.1.0.BUILD-SNAPSHOT and updates for boot 2.1.0 2018-08-01 19:10:24 -04:00
Mark Paluch
0395ad06cb Omit secret backend URL encoding for Vault. (#1098)
We now construct the URL template from the base URL, API version prefix and secret backend upfront and apply templating only for the secret key. This bypasses URL encoding for the secret backend which allows for special characters such as slashes to be passed thru directly.

Fixes gh-1094.
2018-08-01 13:46:21 -04:00
Dylan Roberts
02ae15c3b9 Configure httpclient instances to use jvm http proxy (#1077)
Httpclient instances were ignoring http proxy settings set with system properties
gh-1071
2018-07-10 13:56:56 -04:00
bisigc
496412bd8e Adding ssh proxy capability (#1054)
Adding the capability to configure a proxy host and port for ssh git
repo connections.
2018-06-27 09:56:30 -04:00
Spencer Gibb
f352ecf5f3 Adds multi-repo shortcut support back.
fixes gh-1055
2018-06-11 13:14:38 -04:00
Spencer Gibb
20b88b5b5f Checks for null uri to avoid NPE
fixes gh-1051
2018-06-07 13:06:06 -04:00
Dylan Roberts
b0433ba689 Add connect timeout support to HttpClientSupport (#1040)
gh-1033
2018-06-06 10:22:06 -04:00
Dylan Roberts
cf6b1f0a49 Update custom jgit connection factory for uri placeholders (#1037)
Fixes gh-1028
Fixes gh-1032
2018-06-04 19:20:43 -04:00
Haroun Pacquée
e6b2d9eec0 Added support for Vault's 0.10.0+ versioning enabled kv engine. (#1018) 2018-06-04 17:13:27 -04:00
Ryan Baxter
b10135c1ee Fixing compile errors after merge 2018-06-04 13:56:16 -04:00
Ryan Baxter
e96e246636 Merge remote-tracking branch 'origin/1.4.x' 2018-06-04 11:37:43 -04:00