Commit Graph

38 Commits

Author SHA1 Message Date
Spencer Gibb
50c74c9eba Testcontainers support (#624)
Testcontainers functionality is in ConsulTestcontainers

This allows for use either by an ApplicationContextInitializer or statically.

Co-authored-by: Sergei Egorov <bsideup@gmail.com>
2020-09-09 12:41:56 -04:00
maaaace
6665c72c2f fix(shellScript): download correct consul zip for arm64 processor
ci_install_consul.sh just downloads the consul for amd64, which cannot be executed on arm64 architecture processors.
Add achitecture checking in this script to support downloading correct binary file.

Signed-off-by: maaaace <fuheming@huawei.com>
2020-05-08 17:13:10 -04:00
Spencer Gibb
ce0ac8b2be Updates consul to 1.7.2
fixes gh-491
2020-04-09 01:06:26 -04:00
Spring Operator
5322aa6031 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).

# 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://compose.docker.io/ (UnknownHostException) with 1 occurrences migrated to:
  https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException).
* [ ] http://foo:7001/ (UnknownHostException) with 1 occurrences migrated to:
  https://foo:7001/ ([https](https://foo:7001/) result UnknownHostException).
* [ ] 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://asciidoctor.org with 1 occurrences migrated to:
  https://asciidoctor.org ([https](https://asciidoctor.org) result 200).
* [ ] http://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html with 1 occurrences migrated to:
  https://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html ([https](https://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html) result 200).
* [ ] http://getbootstrap.com with 1 occurrences migrated to:
  https://getbootstrap.com ([https](https://getbootstrap.com) result 200).
* [ ] http://github.com/ with 1 occurrences migrated to:
  https://github.com/ ([https](https://github.com/) result 200).
* [ ] http://jquery.com/ with 1 occurrences migrated to:
  https://jquery.com/ ([https](https://jquery.com/) result 200).
* [ ] http://projects.spring.io/spring-cloud/ with 3 occurrences migrated to:
  https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/) result 200).
* [ ] http://projects.spring.io/spring-cloud/spring-cloud.html with 1 occurrences migrated to:
  https://projects.spring.io/spring-cloud/spring-cloud.html ([https](https://projects.spring.io/spring-cloud/spring-cloud.html) result 200).
* [ ] http://sizzlejs.com/ with 2 occurrences migrated to:
  https://sizzlejs.com/ ([https](https://sizzlejs.com/) 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://jquery.org/license with 2 occurrences migrated to:
  https://jquery.org/license ([https](https://jquery.org/license) 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://raw.github.com/ with 1 occurrences migrated to:
  https://raw.github.com/ ([https](https://raw.github.com/) result 301).
* [ ] http://www.codrops.com with 2 occurrences migrated to:
  https://www.codrops.com ([https](https://www.codrops.com) result 301).
* [ ] http://www.opensource.org/licenses/mit-license.php with 1 occurrences migrated to:
  https://www.opensource.org/licenses/mit-license.php ([https](https://www.opensource.org/licenses/mit-license.php) 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://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://localhost:%d/is-bound with 1 occurrences
* http://localhost:%d/message-payload with 1 occurrences
* http://localhost:%d/partition-strategy-invoked with 1 occurrences
* http://localhost:8080 with 4 occurrences
* http://localhost:8500 with 3 occurrences
* http://www.w3.org/2000/svg with 1 occurrences
2019-03-20 15:39:08 -05:00
Spring Operator
3114feed82 URL Cleanup (#512)
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 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://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://maven.apache.org/xsd/maven-4.0.0.xsd with 13 occurrences migrated to:
  https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200).

# Ignored
These URLs were intentionally ignored.

* http://maven.apache.org/POM/4.0.0 with 26 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 13 occurrences
2019-03-20 10:35:44 -04:00
Spencer Gibb
282b0dec83 One more time back to 0.7.5 2019-02-07 16:20:53 -05:00
Spencer Gibb
7ba9d55d35 revert changes to consul config files and ignore in checkstyle 2019-02-07 16:14:16 -05:00
Spencer Gibb
b4ca26bcaf Revert to older version of consul 2019-02-07 15:54:58 -05:00
Spencer Gibb
56803f5e04 Changes consul_version to 1.4.0 2019-02-07 15:42:59 -05:00
Marcin Grzejszczak
999fb6c9e8 Added checkstyle rules 2019-02-07 15:03:44 +01:00
Spencer Gibb
5b5613ab21 Revert version upgrade 2018-05-25 11:37:15 +02:00
Spencer Gibb
90549de0bd update consul version 2018-05-16 16:27:41 -04:00
Spencer Gibb
ef5c412e93 revert consul version 2018-05-16 16:25:08 -04:00
Spencer Gibb
467c4abe29 debug circleci 2018-05-16 16:21:38 -04:00
Spencer Gibb
7ecea5a9b7 debug circleci 2018-05-16 16:16:11 -04:00
Spencer Gibb
e4e2e302dc kill consul before running. 2018-05-16 16:07:32 -04:00
Spencer Gibb
0045de1be8 update consul version 2018-05-16 16:07:06 -04:00
Spencer Gibb
90a95dd709 Updates CI consul install to 0.7.5 2017-04-10 20:58:56 -06:00
David Steiman
3329f97cad Uses ACL token when fetching catalog services
Adds ACL token to consul client when fetching catalog services

fixes gh-201
2017-02-20 11:42:02 -07:00
Donnabell Dmello
c0e9795e98 Adds healthCheckCriticalTimeout to discovery props
The healthCheckCriticalTimeout property tells consul to deregister services in critical longer than timeout.

Fixes gh-210
2017-01-17 09:10:11 -07:00
Spencer Gibb
8a8b02ecf9 Don't register with consul in bootstrap.
This allows the normal consul lifecycle to register and properly deregister when using config client discovery.

fixes gh-213
2016-09-13 08:26:15 -06:00
Spencer Gibb
a184d62d10 Spring Cloud Consul Stream Binder
Uses consul events for a non-grouping stream binder.

Also enables spring-cloud-starter-consul-bus.

fixes gh-86
2016-06-30 16:19:55 -06:00
Marcin Grzejszczak
b2e6f426d3 Added possibility to download consul without certificate check 2016-03-09 13:24:13 +01:00
Bill Gray
b62c7f41dc add anonymous acl with kv store and discovery permissions 2016-02-10 14:14:29 -07:00
Spencer Gibb
2072d6d57b fix problem with travis_run_consul.sh 2016-02-09 19:48:43 -07:00
Spencer Gibb
a92eb572d7 disable acl tests 2016-02-09 19:17:55 -07:00
Bill Gray
1e1d3c7864 add acl tests and setup test instance of consul to support acl testing 2016-02-09 18:03:56 -07:00
Spencer Gibb
c678035e58 Ignore test failing on travis 2016-02-09 17:22:00 -07:00
Spencer Gibb
c03ac421da Update consul ui 2016-02-08 15:54:18 -07:00
Spencer Gibb
0c7b3cdd9b Add missing quote 2016-02-08 15:41:30 -07:00
Spencer Gibb
6732faf3ca removed bad line 2016-02-08 15:39:45 -07:00
Spencer Gibb
0360cd7da1 Update consul install 2016-02-08 15:38:40 -07:00
Dave Syer
3912743d77 Update to docker-compose and consul UI
The UI got hosed by a grep/replace so mainly this reverts that change.
Plus describe getting started experience in terms of docker-compose.
2016-02-05 11:23:58 +00:00
Marcin Grzejszczak
8e4d101b16 Revert to snapshots 2016-02-05 12:01:44 +01:00
Spencer Gibb
f9349fd00e Remove @ConditionalOnBean from ConsulDiscoveryClientConfiguration.
fixes gh-108
2015-11-11 11:59:41 -07:00
Spencer Gibb
c1121ffc3d @EnableConsulUi proxies UI and API calls to consul agent.
fixes gh-38
2015-06-02 16:12:38 -06:00
Spencer Gibb
10f7537073 embedded consul ui
fixes gh-16
2015-05-22 11:39:10 -06:00
Spencer Gibb
e994abeb27 run consul on travis
fixes gh-6
2015-03-31 10:07:13 -06:00