Commit Graph

31 Commits

Author SHA1 Message Date
erabii
e3ae419b7f fix (#1171) 2022-12-12 08:57:16 -05:00
Ryan Baxter
411e8a14f7 Bump version to 16.0.2 (#1163)
Co-authored-by: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com>
2022-12-06 19:35:25 -05:00
erabii
7a5cc57e3c move ConfigReloadProperties to record (#1110) 2022-10-18 08:57:37 -04:00
erabii
24f768cde1 Discovery refactor 6 (#1091) 2022-09-28 19:50:38 -04:00
buildmaster
3f0058f140 Bumping versions 2022-09-23 04:00:40 +00:00
erabii
6e61cf20bf Fix/740 (#1067) 2022-09-21 09:45:44 -04:00
erabii
0bda86476d Add possibility to define the label for watcher 3 (#1063)
* fix

* simplify labels

* fix

* fix test

* trigger

* more simplifications

* very dirty still

* more changes

* more changes

* fix tests

* fix test

* trigger
2022-08-30 14:09:17 -04:00
Ryan Baxter
e0b63f4c29 Migrate to new autoconfiguration file (#1065) 2022-08-30 08:34:34 -04:00
erabii
285be46d79 Add possibility to define the label for watcher 2 (#1062) 2022-08-29 17:07:19 -04:00
erabii
39d596f3c4 delegate reload to common code (#1061)
* fix

* simplify labels

* fix

* fix test

* trigger
2022-08-29 08:48:31 -04:00
erabii
888ac26f07 Watcher revert wiremock tests (#1064)
* very dirty still

* revert tests

* revert two properties
2022-08-29 08:43:08 -04:00
Ryan Baxter
0292ad3ca6 Merge branch '2.1.x' 2022-08-16 15:51:44 -04:00
Ryan Baxter
17b61c22d3 Catch and log any exceptions thrown within the executor service 2022-08-16 15:14:35 -04:00
Ryan Baxter
85a31ca39a Move config-watcher to use k8s java client (#1055)
* Move config-watcher to use k8s java client
2022-08-01 12:23:08 -04:00
erabii
231fd69062 Fix 752 and 814 (#1043) 2022-07-14 19:22:44 -04:00
erabii
797af0209c Reload functionality clean-up part 4 (#1036) 2022-07-07 08:35:30 -04:00
erabii
774e3ade7f Reload functionality clean-up part 3 (#1034) 2022-06-27 18:28:56 -04:00
erabii
cb4d6cd2c7 Reload functionality clean-up part 2 (#1033) 2022-06-17 07:56:25 -04:00
erabii
78c507ca33 move integration tests to test-containers (#984) 2022-06-08 15:29:00 -04:00
Ryan Baxter
74a1c9ba2a Use ConfigData To Load Configuration From Kubernetes Instead Of Bootstrap (#1002)
* Use ConfigData to load configuration instead of bootstrap

Co-authored-by: wind57 <eugen.rabii@gmail.com>
2022-05-18 15:48:36 -04:00
erabii
56fbef5fa6 Fix watcher (#1013)
* initial fix

Co-authored-by: Ryan Baxter <rbaxter@vmware.com>
2022-05-17 16:24:29 -04:00
spencergibb
4aa89d451d Updates to version 4.0.0-SNAPSHOT
Updates to java 17, framework 6, boot 3 and javax -> jakarta
2022-01-04 17:38:28 -05:00
Ryan Baxter
40cef547ce Renaming modules and moving common code to commons module. Updating tests. 2020-12-01 13:55:03 -05:00
Kris Iyer
5cf5d12cf6 fix conflicts upon merge (#676)
* fix conflicts upon merge

* Bump kind test await timeout from 15 to 60 seconds for spring-cloud-kubernetes-client-config-it. This should make tests a bit more reliable.
2020-11-25 14:35:20 -05:00
Krishnakumar Iyer
87efababb6 Support Kafka for Spring Cloud Kubernetes Configuration Watcher, Issue 654 (#655)
* Add spring-cloud-starter-bus-kafka

* Separate profiles for amqp and kafka

* profiles for amqp and kafka with default binders

* updates to readme on kafka support for the watcher. Fixes #654

* fix IT

* remove unused imports

* Add conditionals to allow for config and/or secrets to be watched

* fix it deployment for bus-amqp

* enable probes for management endpoints. Disable rabbit health checker unless we run the bus-amqp profile

* add IT tests for Kafka, deployments for zookeeper and kafka. Increase timeouts from 90 to 600 seconds to account for larger images and slower connections.

* add newline

* refactor imports

* fix checkstyle issues.

* update kafka docker image tag from latest to 2.13-2.6.0

* updating zookeeper docker image from wurstmeister/zookeeper:latest to zookeeper:3.6.2. wurstmeister does not appear to have tags that match the latest images yet and the last updates are a few years old.
2020-11-25 11:35:09 -05:00
Ryan Baxter
a47a530bc3 Refactor Config Module And Add A New Config Module Using Kubernetes Client (#664)
* Deprecate KubernetesAutoServiceRegistration

* Document service registry in kubernetes.  Fixes #348

* Refactoring config module to extract common code
Renamed config module to be specific to fabric8

* Kubernetes client config module

* Fixing test to avoid 503 error

* Accounting for missing invocation

* Adding code to deal with potential 503 error

* Fixing class used in polling change listener

* Formatting changes
2020-11-24 20:25:20 -05:00
Krishnakumar Iyer
a4ad5ebb08 Refactor ConfigurationChangeDetector to simplify conditionals. Issue 643 (#644)
* Refactor configuration change detector into configMap and Secret change detectors each for reload detection mode event/polling. Fixes #643

* Add additional tests

* Refactor spring-cloud-kubernetes-configuration-watcher to decouple configMap and Secrets for HTTP and Bus implementations

* fix logger

* fix checkstyle errors.
2020-10-01 19:29:10 -04:00
buildmaster
7f6ddf69c5 Bumping versions 2020-09-18 11:47:22 +00:00
buildmaster
880ed83170 Bumping versions 2020-08-27 11:47:25 +00:00
piomin
d5592f9f9c #962 Fixing tests dependent to KubernetesServiceInstance 2020-08-24 13:59:08 +02:00
Ryan Baxter
d82282c3dd Config Refresh Controller (#567)
* Deprecate KubernetesAutoServiceRegistration

* Document service registry in kubernetes.  Fixes #348

* Initial commit for refresh controller and tests

* Running kind first

* fixing config

* Added some docs

* Making sure the tests run as integration tests

* Updates and new test for rabbitmq

* Code review changes
2020-07-21 15:10:06 -04:00