You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ni...@apache.org on 2026/04/17 05:23:35 UTC

(apisix) branch feat/consul-registry-refactor updated (197960929 -> 8b20a3ca3)

This is an automated email from the ASF dual-hosted git repository.

nic443 pushed a change to branch feat/consul-registry-refactor
in repository https://gitbox.apache.org/repos/asf/apisix.git


    from 197960929 fix: address review feedback on consul discovery refactoring
     add be26d8de0 fix: add missing local declarations for tostring and next
     add 696bf2e42 fix: handle JSON decode failure in get_nodes
     add 0091020ba fix: add consul-stream shared dict to test framework
     add 92312d654 fix: add structured log for consul registry updates
     add d6485b2b7 fix: add LRU cache to get_nodes() and fix stale key cleanup
     add 9d9beae85 fix: remove unused 'next' variable after stale key cleanup fix
     add 0275547f0 fix: distinguish no-change from zero-services and add metadata test
     new 8b20a3ca3 fix: add apisix_yaml to TEST 16 to prevent config_yaml error

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 apisix/discovery/consul/client.lua |  1 +
 apisix/discovery/consul/init.lua   | 61 +++++++++++++-------------
 t/APISIX.pm                        |  1 +
 t/discovery/consul.t               | 87 ++++++++++++++++++++++++++++++++++++++
 4 files changed, 120 insertions(+), 30 deletions(-)


(apisix) 01/01: fix: add apisix_yaml to TEST 16 to prevent config_yaml error

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nic443 pushed a commit to branch feat/consul-registry-refactor
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit 8b20a3ca3c96def831c2c6c2674c10e4d25cb9ef
Author: Nic <qi...@api7.ai>
AuthorDate: Fri Apr 17 13:23:26 2026 +0800

    fix: add apisix_yaml to TEST 16 to prevent config_yaml error
---
 t/discovery/consul.t | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/t/discovery/consul.t b/t/discovery/consul.t
index 7747e48a0..ae2dd0579 100644
--- a/t/discovery/consul.t
+++ b/t/discovery/consul.t
@@ -807,6 +807,9 @@ discovery:
     weight: 1
     fetch_interval: 1
     keepalive: true
+--- apisix_yaml
+routes: []
+#END
 --- config
     location /t {
         content_by_lua_block {