Commit Graph

1091 Commits

Author SHA1 Message Date
spencergibb
ae5178e032 Updates TtlSchedulerTests to use correct method.
See gh-770
2023-03-09 16:15:23 -05:00
spencergibb
5fd733669b Merge branch '3.1.x' 2023-03-09 16:13:11 -05:00
spencergibb
0a9745189c Adds test to verify token sent on agentCheckPass.
See gh-770
2023-03-09 16:10:01 -05:00
spencergibb
176da8654a formattingˆ 2023-03-09 16:09:20 -05:00
liolay
226e08a8eb add aclToken for agentCheckPass 2023-03-09 15:47:58 -05:00
Jonathan Schnéider
c5558cc597 polish: Use ObjectUtils#isEmpty(Object). (#745)
Co-authored-by: Moderne <team@moderne.io>
Co-authored-by: Spencer Gibb <spencer@gibb.us>
2023-03-09 15:42:04 -05:00
spencergibb
24b4c1adaa Merge branch '3.1.x' 2023-03-09 15:19:01 -05:00
fanjiaqi
3447b576ff Fixes ipv6 formatting in specific scenario
Use getHostAddress() when getHostName() might return a host name which
doesn't need brackets for formatting.

Fixes gh-807
2023-03-09 15:18:23 -05:00
spencergibb
ddb49cc911 Adapts test to new constructorsˆ 2023-03-09 15:10:03 -05:00
spencergibb
dab42d8b83 Merge branch '3.1.x' 2023-03-09 15:08:40 -05:00
spencergibb
6378b72526 Adds reregistration test with 404 status.
See gh-808
2023-03-09 15:07:18 -05:00
attermann
9bf9c44f3b Added status code 404 to ReregistrationPredicate
Consul agent as of approximately v1.11.2 returns status code 404 on
agent health check instead of status code 500. This change resulted in
re-registration not taking place when expected. Adding status code 404 to
the ReregistrationPredicate enables re-registration with both older and
newer versions of Consul agent.

Fixes gh-808
2023-03-09 15:04:55 -05:00
spencergibb
46a122021f Merge branch '3.1.x' 2023-03-09 14:33:36 -05:00
spencergibb
2c9bde3788 Updates to Testcontainers consul container.
Fixes gh-803
2023-03-09 14:33:23 -05:00
spencergibb
3bab74b998 Merge branch '3.1.x' 2023-03-09 14:15:27 -05:00
Tomas Forsman
bb8e674acb Default to port zero when port is null
This is a change from consul 1.9->1.10

Fixes gh-760
Fixes gh-759
2023-03-09 14:11:29 -05:00
buildmaster
dda13262c4 Bumping versions 2023-03-09 08:36:33 +00:00
spencergibb
76cba3e13d Merge branch '3.1.x' 2023-03-08 15:57:35 -05:00
spencergibb
5e0346c91e If consul token is not set, default to CONSUL_TOKEN env var
This matches the behaviour of ConsulPropertySourceLocator which depends on ConsulConfigProperties that uses `@Value` which is not recognized in ConfigData.

Fixes gh-738
2023-03-08 15:53:46 -05:00
buildmaster
3868846d13 Bumping versions 2023-02-25 19:09:51 +00:00
spencergibb
310ccfb99c Moves versions for apache httpclient/httpcore 4.x
Moves versions to parent dep mgmt
2023-02-15 15:22:34 -05:00
spencergibb
61528b421a Adds versions for apache httpclient/httpcore 4.x
This was removed in boot 3.1 and required for consul-api
2023-02-15 15:18:58 -05:00
buildmaster
875e22b309 Bumping versions to 4.0.2-SNAPSHOT after release 2023-01-25 15:24:22 +00:00
buildmaster
5a480fdca2 Going back to snapshots 2023-01-25 15:24:21 +00:00
buildmaster
d24e49527f Update SNAPSHOT to 4.0.1 2023-01-25 15:21:40 +00:00
Eddú Meléndez Gonzales
b1b9c5c68d Replace getContainerIpAddress by getHost (#783)
`getContainerIpAddress` is deprecated.
2023-01-12 10:43:56 -05:00
buildmaster
601a7d3cea Bumping versions 2022-12-19 17:33:23 +00:00
buildmaster
7186225a8d Bumping versions 2022-12-16 08:36:17 +00:00
buildmaster
1143f19845 Bumping versions to 4.0.1-SNAPSHOT after release 2022-12-15 21:07:54 +00:00
buildmaster
0c188e71c8 Going back to snapshots 2022-12-15 21:07:54 +00:00
buildmaster
1e59bf193c Update SNAPSHOT to 4.0.0 2022-12-15 21:05:40 +00:00
buildmaster
cd26afa830 Going back to snapshots 2022-12-01 18:23:13 +00:00
buildmaster
e779a2402f Update SNAPSHOT to 4.0.0-RC3 2022-12-01 18:21:29 +00:00
buildmaster
1fc517cc7a Bumping versions 2022-11-28 19:14:34 +00:00
buildmaster
20c813f5bf Going back to snapshots 2022-11-17 18:01:43 +00:00
buildmaster
e5cd0408f1 Update SNAPSHOT to 4.0.0-RC2 2022-11-17 17:59:53 +00:00
spencergibb
e0da9fc1f7 Override onApplicationEvent() now that deprecated bind() is removed. 2022-11-15 09:37:00 -05:00
itshan
ceb344ba20 ConsulAutoConfiguration.consulRawClientBuilderSupplier conflict with JPA (#800)
Fixes #797
2022-11-02 17:26:28 -04:00
Olga Maciaszek-Sharma
dbffba5c5d Remove Consul hints since new GraalVM reachability metadata has been released. 2022-11-02 10:28:20 +01:00
buildmaster
ffc78a52e1 Going back to snapshots 2022-10-27 22:34:04 +00:00
buildmaster
b09ad2ebe7 Update SNAPSHOT to 4.0.0-RC1 2022-10-27 22:32:22 +00:00
buildmaster
5084cb700f Going back to snapshots 2022-10-06 01:51:47 +00:00
buildmaster
eef99cc200 Update SNAPSHOT to 4.0.0-M5 2022-10-06 01:50:01 +00:00
buildmaster
f4dd90e159 Bumping versions 2022-09-24 08:40:42 +00:00
Chris Bono
f3be7d7947 Adds ability for the TTL check to take into account the current application health status (#690)
Fixes gh-676

Co-authored-by: Spencer Gibb <spencer@gibb.us>
2022-09-23 13:21:39 -04:00
spencergibb
d077ef4f7e Migrates to new AutoConfiguration.imports
Fixes gh-795
2022-09-21 17:19:49 -04:00
spencergibb
1a732fcf69 Updates testcontainers to 1.17.3 2022-09-21 17:18:22 -04:00
buildmaster
d3ee7a3465 Bumping versions 2022-09-12 08:49:36 +00:00
Ryan Baxter
ba5361c27b Showing values in env endpoint for tests 2022-09-08 20:43:10 -04:00
buildmaster
9aa90dfaa6 Bumping versions to 3.1.3-SNAPSHOT after release 2022-09-06 20:26:29 +00:00