spencergibb
2c7799c296
don't import bus
2020-12-14 14:08:27 -05:00
spencergibb
4dea0f10d4
removes redundant bus entry
2020-12-14 14:04:53 -05:00
spencergibb
55bb1d7b2f
removes import from application.yml
2020-12-14 14:03:17 -05:00
spencergibb
418ee24088
Check if class is registered already.
...
In ConfigData promotion (promoting a bean from bootstrap to the application context) check to see if there is a bean of that name before registering again.
Fixes gh-687
2020-12-14 13:12:51 -05:00
spencergibb
16dc8c3c91
Polishes parseLocation
2020-10-16 15:28:06 -04:00
spencergibb
59e54402e6
Updates to use updated ConfigData apis
2020-10-16 15:22:00 -04:00
spencergibb
46f29724ad
Updates to use updated ConfigData apis
2020-10-16 15:15:24 -04:00
spencergibb
b58dd4d80e
Fixes broken tests.
...
Fixes gh-615
2020-10-09 21:03:40 -04:00
buildmaster
8015fe2218
Going back to snapshots
2020-10-03 14:00:36 +00:00
buildmaster
3369c2d6a7
Update SNAPSHOT to 3.0.0-M4
2020-10-03 13:59:12 +00:00
buildmaster
3213d76e5f
Bumping versions
2020-09-29 12:33:56 +00:00
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
spencergibb
6d6d6fccac
Merge branch 'gh-646-2.2.x' into 2.2.x
2020-09-28 11:40:26 -04:00
bono007
4a6d7027f0
Allow ConsulHealthIndicator to bypass the services query
...
Fixes gh-646
2020-09-28 11:39:38 -04:00
Jay Bryant
cb9facd416
Wording changes ( #649 )
...
Replacing some terms
2020-09-28 11:00:03 -04:00
spencergibb
1f124eb879
formatting
2020-09-22 13:42:48 -04:00
spencergibb
48a24d2c61
Registers and promotes ConsulDiscoveryClient if created
2020-09-22 12:29:33 -04:00
spencergibb
b113cdaf85
polish
2020-09-22 12:29:03 -04:00
spencergibb
c569cd9d0c
run tests with random port
2020-09-22 11:19:19 -04:00
spencergibb
ce8eeca31f
Skip config server bootstrapper if not on classpath
2020-09-22 09:43:28 -04:00
spencergibb
58818457f7
Fixes test name
2020-09-21 16:39:52 -04:00
spencergibb
5e7c2ba6ee
Adds support for config discovery in ConfigData.
...
ConsulConfigServerBootstrapper.java is registered in spring.factories
The bootstrapper registers an ConfigServerInstanceProvider.Function that uses ConsulDiscoveryClient
2020-09-21 16:06:32 -04:00
spencergibb
c702c15be7
Removes deprecated constant
2020-09-21 11:34:27 -04:00
spencergibb
b7454c6302
Dedupes logic between ConfigData and PropertySourceLocator.
...
Moves logic common to the two implementations to ConsulPropertySources.java
2020-09-18 16:37:14 -04:00
buildmaster
deea57465e
Bumping versions
2020-09-18 12:33:40 +00:00
spencergibb
7042018d42
Updates ConsulBootstrapper with more general helper.
2020-09-17 18:11:04 -04:00
spencergibb
a98cde9bdb
Updates tests to ignore registering beans
2020-09-17 11:01:56 -04:00
Spencer Gibb
247f21cc05
Uses new Bootstrapper interface to allow config data customization. ( #675 )
2020-09-17 10:57:39 -04:00
spencergibb
249285ae11
Formatting
2020-09-17 10:53:40 -04:00
spencergibb
59507ee8bc
Optimizes isResolvable() only bind with correct prefix.
2020-09-11 09:57:37 -04:00
spencergibb
197ef69f6f
Updates to https://repo.spring.io/snapshot
2020-09-11 09:22:55 -04:00
buildmaster
9cbbf5a783
Bumping versions
2020-09-10 12:34:30 +00:00
spencergibb
4ac6744e6e
Moves defaulting app name to loadConfigProperties.
...
Fixes NPE if locationUri is null.
Various polishing.
2020-09-09 23:27:42 -04:00
spencergibb
d723dcbe31
Adds support for paths in ConfigData
...
Now `consul:myhost:8501/mypath1;/mypath2;/mypath3` will use the paths separated by semicolon (;) instead of automatically generating paths. `consul:myhost:8501` or `consul:` will automatically generate paths from ConsulConfigProperties and active profiles.
2020-09-09 22:42:42 -04:00
spencergibb
c0cb7717c8
Only create instances in the supplier
2020-09-09 16:57:05 -04:00
spencergibb
6a7acdc3c7
Adds todo
2020-09-09 16:36:19 -04:00
spencergibb
99e3ecac17
Adds support for spring.config.import=consul:host:port
2020-09-09 16:34:46 -04:00
Spencer Gibb
989485a4e5
Adds support for spring.config.import=consul: ( #672 )
2020-09-09 16:16:52 -04:00
spencergibb
e94f45663a
Merge branch '2.2.x'
2020-09-09 12:54:47 -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
spencergibb
54c121ab1e
Updates tests to use use-legacy-processing property
2020-08-07 17:11:57 -04:00
spencergibb
8bf82f32d8
Bumps s-c-build to 2.3.2.BUILD-SNAPSHOT
2020-08-03 13:22:54 -04:00
buildmaster
3e62d28564
Bumping versions to 2.2.5.BUILD-SNAPSHOT after release
2020-07-31 20:58:56 +00:00
buildmaster
a0447a7bdf
Going back to snapshots
2020-07-31 20:58:55 +00:00
buildmaster
0783bca0e9
Update SNAPSHOT to 2.2.4.RELEASE
2020-07-31 20:56:45 +00:00
buildmaster
7cf89293cf
Going back to snapshots
2020-07-23 18:29:28 +00:00
buildmaster
9362d83bf8
Update SNAPSHOT to 3.0.0-M3
2020-07-23 18:28:17 +00:00
buildmaster
23e6c1f9ae
Bumping versions
2020-07-07 12:35:01 +00:00
spencergibb
9d4b62858e
Merge branch '2.2.x'
2020-07-06 17:57:50 -04:00