sycommon-python-lib 0.1.57b1__py3-none-any.whl → 0.1.57b2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sycommon/synacos/nacos_client_base.py +3 -1
- {sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/METADATA +1 -1
- {sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/RECORD +6 -6
- {sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/WHEEL +0 -0
- {sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/entry_points.txt +0 -0
- {sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@ import threading
|
|
|
2
2
|
import time
|
|
3
3
|
from typing import Optional
|
|
4
4
|
import nacos
|
|
5
|
+
from sycommon.config.Config import Config
|
|
5
6
|
from sycommon.logging.kafka_log import SYLogger
|
|
6
7
|
|
|
7
8
|
|
|
@@ -94,8 +95,9 @@ class NacosClientBase:
|
|
|
94
95
|
|
|
95
96
|
try:
|
|
96
97
|
namespace_id = self.nacos_config['namespaceId']
|
|
98
|
+
service_name = Config().config.get('Name', '')
|
|
97
99
|
self.nacos_client.list_naming_instance(
|
|
98
|
-
service_name=
|
|
100
|
+
service_name=service_name,
|
|
99
101
|
namespace_id=namespace_id,
|
|
100
102
|
group_name="DEFAULT_GROUP",
|
|
101
103
|
healthy_only=True
|
|
@@ -69,7 +69,7 @@ sycommon/synacos/example.py,sha256=61XL03tU8WTNOo3FUduf93F2fAwah1S0lbH1ufhRhRk,5
|
|
|
69
69
|
sycommon/synacos/example2.py,sha256=adUaru3Hy482KrOA17DfaC4nwvLj8etIDS_KrWLWmCU,4811
|
|
70
70
|
sycommon/synacos/feign.py,sha256=frB3D5LeFDtT3pJLFOwFzEOrNAJKeQNGk-BzUg9T3WM,8295
|
|
71
71
|
sycommon/synacos/feign_client.py,sha256=ExO7Pd5B3eFKDjXqBRc260K1jkI49IYguLwJJaD2R-o,16166
|
|
72
|
-
sycommon/synacos/nacos_client_base.py,sha256=
|
|
72
|
+
sycommon/synacos/nacos_client_base.py,sha256=KZgQAg9Imfr_TfM-4LXdtrnTdJ-beu6bcNJa0c2HauE,4600
|
|
73
73
|
sycommon/synacos/nacos_config_manager.py,sha256=Cff-4gpp0aD7sQVi-nEvDO4BWqK9abEDDDJ9qXKFQgs,4399
|
|
74
74
|
sycommon/synacos/nacos_heartbeat_manager.py,sha256=G80_pOn37WdO_HpYUiAfpwMqAxW0ff0Bnw0NEuge9v0,5568
|
|
75
75
|
sycommon/synacos/nacos_service.py,sha256=BezQ1eDIYwBPE567Po_Qh1Ki_z9WmhZy1J1NiTPbdHY,6118
|
|
@@ -82,8 +82,8 @@ sycommon/tools/env.py,sha256=Ah-tBwG2C0_hwLGFebVQgKdWWXCjTzBuF23gCkLHYy4,2437
|
|
|
82
82
|
sycommon/tools/merge_headers.py,sha256=u9u8_1ZIuGIminWsw45YJ5qnsx9MB-Fot0VPge7itPw,4941
|
|
83
83
|
sycommon/tools/snowflake.py,sha256=xQlYXwYnI85kSJ1rZ89gMVBhzemP03xrMPVX9vVa3MY,9228
|
|
84
84
|
sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
|
|
85
|
-
sycommon_python_lib-0.1.
|
|
86
|
-
sycommon_python_lib-0.1.
|
|
87
|
-
sycommon_python_lib-0.1.
|
|
88
|
-
sycommon_python_lib-0.1.
|
|
89
|
-
sycommon_python_lib-0.1.
|
|
85
|
+
sycommon_python_lib-0.1.57b2.dist-info/METADATA,sha256=PvL5-cOT3c_ZXAmWgh7reYxRjmS3A9ZFZg6PGqzGddw,7301
|
|
86
|
+
sycommon_python_lib-0.1.57b2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
87
|
+
sycommon_python_lib-0.1.57b2.dist-info/entry_points.txt,sha256=q_h2nbvhhmdnsOUZEIwpuoDjaNfBF9XqppDEmQn9d_A,46
|
|
88
|
+
sycommon_python_lib-0.1.57b2.dist-info/top_level.txt,sha256=98CJ-cyM2WIKxLz-Pf0AitWLhJyrfXvyY8slwjTXNuc,17
|
|
89
|
+
sycommon_python_lib-0.1.57b2.dist-info/RECORD,,
|
|
File without changes
|
{sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sycommon_python_lib-0.1.57b1.dist-info → sycommon_python_lib-0.1.57b2.dist-info}/top_level.txt
RENAMED
|
File without changes
|