Commit Graph

43 Commits

Author SHA1 Message Date
spencergibb
c56dfc47e8 formatting 2020-09-28 11:45:30 -04:00
spencergibb
f77192b569 Merge branch '2.2.x' 2020-09-28 11:44:17 -04:00
bono007
4a6d7027f0 Allow ConsulHealthIndicator to bypass the services query
Fixes gh-646
2020-09-28 11:39:38 -04:00
spencergibb
249285ae11 Formatting 2020-09-17 10:53:40 -04:00
Spencer Gibb
989485a4e5 Adds support for spring.config.import=consul: (#672) 2020-09-09 16:16:52 -04:00
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
Spencer Gibb
cbd5e8f22b Replaces deprecations.
Mostly from ewcid consul-api.
2020-04-09 01:23:51 -04:00
Spencer Gibb
e71ad1ee2e Retry ConsulPropertySourceLocator.locateCollection()
This is the new entrypoint for property source locators.

fixes gh-627
2020-04-08 18:41:51 -04:00
Spencer Gibb
f7c790dd27 Bumps to build 2.2.4.BUILD-SNAPSHOT
Adds joda time dep mgmt since boot 2.3 dropped it.

Updates deprecations to replacements
2020-03-18 18:29:36 -04:00
Ryan Baxter
fd083ca874 Added proxyBeanMethods = false to configuration classes. Fixes #596 2019-11-14 20:15:04 -05:00
Olga Maciaszek-Sharma
201f1fcc25 Merge branch '2.1.x'
# Conflicts:
#	pom.xml
#	spring-cloud-consul-dependencies/pom.xml
2019-05-08 16:44:31 +02:00
Spring Operator
2330446a3b URL Cleanup (#522)
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 115 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 16:17:41 -04:00
Marcin Grzejszczak
999fb6c9e8 Added checkstyle rules 2019-02-07 15:03:44 +01:00
Lomesh Patel
c65573ddb5 Log Exception from ConsulHealthIndicator (#454)
- Removed `try...catch` block from `ConsulHealthIndicator` to let
`AbstractHealthIndicator` log and handle the `Exception` appropriately
- Added tests for UP and DOWN status

Fixes gh-447
2018-12-13 13:20:39 -05:00
Spencer Gibb
e19a600ca7 Merge branch '1.3.x' 2018-07-12 11:58:55 -04:00
Will Droste
3b85ada2e4 Adds configuration properties for TLSConfig in ConsulClient.
fixes gh-360
2018-07-12 11:47:29 -04:00
Spencer Gibb
78a4e05281 Removes lombok 2018-06-05 14:55:58 -04:00
Fabio Silva
1811e0684e Add config for consul schema 2018-04-04 13:55:24 -04:00
Spencer Gibb
efdaf19ac7 remove lombok 2018-01-17 16:28:57 -05:00
Preetha
8237957c2d Fix ConsulHealthIndicator to stop reading internal config values from v1/agent/self and switch to a more stable API (#370) 2017-11-16 22:02:29 -05:00
Preetha
a8ef24246f Fix ConsulHealthIndicator to stop reading internal config values from v1/agent/self and switch to a more stable API (#370) 2017-11-16 14:42:19 -05:00
Spencer Gibb
a35bcef321 Updates for various 2.0.x fixes.
Starters from commons and netflix 2.0 and fixes for boot 2.0

Stream 2.0 tests are ignored.
2017-09-27 12:55:20 -04:00
Brian
d8b1bc7ed8 annotate consul config properties as validated (#291) 2017-03-23 14:18:18 -04:00
Spencer Gibb
e176e55948 Add ability to disable actuator features.
Both endpoint and health indicator using annotations from boot.

fixes gh-234
2016-10-19 14:51:29 -06:00
Spencer Gibb
c2ff08b665 Remove @ConditionalOnBean
Doesn't make much sense, since it will be created in the parent class.

fixes gh-198
2016-06-14 17:45:40 -06:00
Spencer Gibb
de0f40ea47 Remove obsolete property. 2016-02-02 16:35:31 -07:00
Spencer Gibb
1c18c220fc Use spring-retry for consul config and discovery.
fixes gh-81
2016-02-02 16:32:12 -07:00
Marcin Biegan
9ae48f0634 Allow customizable discovery configuration
Added @ConditionalOnMissingBean to ConsulDiscoveryClientConfiguration
to make it possible to provide custom implementations.

Some general polish

fixes gh-119
2016-01-21 14:12:46 -07:00
Spencer Gibb
1e129d37fe added @ConditionalOnConsulEnabled
fixes gh-93
2015-09-25 14:03:37 -06:00
Kevin McBride
ca23e6d0a2 Fix ConsulHealthIndicator advertiseAddress detail 2015-09-22 10:38:07 -07:00
Spencer Gibb
71a5c8b093 Guard actuator beans with @ConditionalOnClass.
fixes gh-78
2015-09-08 14:15:50 -06:00
Albert van 't Hart
5941331814 Expose only important attributes in ConsulHealthIndicator 2015-09-03 23:26:03 -06:00
Spencer Gibb
01949ffac7 polish & make sure config contexts are in order most to least specific 2015-05-26 12:15:35 -06:00
Spencer Gibb
6963231efc removed unused property that had been moved 2015-05-26 12:00:09 -06:00
Spencer Gibb
1987d727f6 removed unused property that had been moved 2015-05-26 11:58:55 -06:00
Zach Marshall
d5d900555c Make consul auto configuration conditional
Use value of spring.cloud.consul.enabled property to drive auto
creation of consul configuration components.
2015-05-21 11:07:49 -04:00
Spencer Gibb
4db917517d move config namespace to spring.cloud.consul.* 2015-05-20 16:09:39 -06:00
Spencer Gibb
c8a9d40547 remove dependency on s-c-config-client.
bump version to 1.0.0.BUILD-SNAPSHOT.
form java files
2015-03-19 19:35:09 -06:00
Spencer Gibb
d005717acd add copyright to java files 2015-03-13 15:21:35 -06:00
nicu marasoiu
7ec2132162 Send heartbeats at 2/3 of ttl + List service nodes filtered by alive, when getting the server list 2015-03-12 17:45:43 +02:00
Spencer Gibb
ca7bdfe92e update to use Ecwid/consul-api, all working except events 2015-01-27 15:10:44 -07:00
Spencer Gibb
5eb310362a initial sidecar impl.
use netflix-ribbon configuration
2015-01-26 23:30:27 -07:00
Spencer Gibb
69240b99f5 initial commit 2014-12-01 15:52:48 -07:00