appmesh 0.7.8__py3-none-any.whl → 0.8.0__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.
appmesh/appmesh_client.py CHANGED
@@ -278,8 +278,8 @@ class AppMeshClient(metaclass=abc.ABCMeta):
278
278
  def __init__(
279
279
  self,
280
280
  rest_url: str = "https://127.0.0.1:6060",
281
- rest_ssl_verify=_SSL_CA_PEM_FILE,
282
- rest_ssl_client_cert=(_SSL_CLIENT_PEM_FILE, _SSL_CLIENT_PEM_KEY_FILE),
281
+ rest_ssl_verify=_SSL_CA_PEM_FILE if os.path.exists(_SSL_CA_PEM_FILE) else False,
282
+ rest_ssl_client_cert=(_SSL_CLIENT_PEM_FILE, _SSL_CLIENT_PEM_KEY_FILE) if os.path.exists(_SSL_CLIENT_PEM_FILE) else None,
283
283
  rest_timeout=(60, 300),
284
284
  jwt_token=None,
285
285
  ):
@@ -1141,8 +1141,8 @@ class AppMeshClientTCP(AppMeshClient):
1141
1141
 
1142
1142
  def __init__(
1143
1143
  self,
1144
- rest_ssl_verify=_SSL_CA_PEM_FILE,
1145
- rest_ssl_client_cert=(_SSL_CLIENT_PEM_FILE, _SSL_CLIENT_PEM_KEY_FILE),
1144
+ rest_ssl_verify=_SSL_CA_PEM_FILE if os.path.exists(_SSL_CA_PEM_FILE) else False,
1145
+ rest_ssl_client_cert=(_SSL_CLIENT_PEM_FILE, _SSL_CLIENT_PEM_KEY_FILE) if os.path.exists(_SSL_CLIENT_PEM_FILE) else None,
1146
1146
  jwt_token=None,
1147
1147
  tcp_address=("localhost", 6059),
1148
1148
  ):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: appmesh
3
- Version: 0.7.8
3
+ Version: 0.8.0
4
4
  Summary: Client SDK for App Mesh
5
5
  Home-page: https://github.com/laoshanxi/app-mesh
6
6
  Author: laoshanxi
@@ -0,0 +1,6 @@
1
+ appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
2
+ appmesh/appmesh_client.py,sha256=XJuJj4nraPHRU9WWFnPDikGCl4_2wCiurEFWXPph3Cc,54176
3
+ appmesh-0.8.0.dist-info/METADATA,sha256=t1qqrOz5uaOhydja3vMZmr9VTuOnkaSw2hadT_8dqKU,10746
4
+ appmesh-0.8.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
5
+ appmesh-0.8.0.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
6
+ appmesh-0.8.0.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
2
- appmesh/appmesh_client.py,sha256=5EYxWmGPZ-YQSNyVPhFi-2qThVMZ9SKo-MUiNKvASnU,53982
3
- appmesh-0.7.8.dist-info/METADATA,sha256=fx_2NJ2qBqFK6w0eEItrOJmZYMdhJsy59sTmHx5UuOQ,10746
4
- appmesh-0.7.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
5
- appmesh-0.7.8.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
6
- appmesh-0.7.8.dist-info/RECORD,,