appmesh 1.1.6__py3-none-any.whl → 1.1.8__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 +2 -2
- {appmesh-1.1.6.dist-info → appmesh-1.1.8.dist-info}/METADATA +2 -2
- appmesh-1.1.8.dist-info/RECORD +6 -0
- appmesh-1.1.6.dist-info/RECORD +0 -6
- {appmesh-1.1.6.dist-info → appmesh-1.1.8.dist-info}/WHEEL +0 -0
- {appmesh-1.1.6.dist-info → appmesh-1.1.8.dist-info}/top_level.txt +0 -0
appmesh/appmesh_client.py
CHANGED
@@ -353,8 +353,8 @@ class AppMeshClient(metaclass=abc.ABCMeta):
|
|
353
353
|
if resp.status_code == HTTPStatus.OK:
|
354
354
|
if "Access-Token" in resp.json():
|
355
355
|
self.jwt_token = resp.json()["Access-Token"]
|
356
|
-
elif resp.status_code == HTTPStatus.UNAUTHORIZED and "
|
357
|
-
challenge = resp.json()["
|
356
|
+
elif resp.status_code == HTTPStatus.UNAUTHORIZED and "Totp-Challenge" in resp.json():
|
357
|
+
challenge = resp.json()["Totp-Challenge"]
|
358
358
|
resp = self._request_http(
|
359
359
|
AppMeshClient.Method.POST,
|
360
360
|
path="/appmesh/totp/validate",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: appmesh
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.8
|
4
4
|
Summary: Client SDK for App Mesh
|
5
5
|
Home-page: https://github.com/laoshanxi/app-mesh
|
6
6
|
Author: laoshanxi
|
@@ -43,7 +43,7 @@ Cloud native | Schedule cloud level applications for running on multile hosts wi
|
|
43
43
|
Micro service application | ⚡️ [Consul micro-service cluster management](https://app-mesh.readthedocs.io/en/latest/CONSUL.html)
|
44
44
|
Extra Features | Collect host/app resource usage <br> Remote run shell commands <br> Download/Upload files interface <br> Hot-update support `systemctl reload appmesh` <br> Bash completion <br> Reverse proxy <br> [Web GUI](https://github.com/laoshanxi/app-mesh-ui)
|
45
45
|
Platform support | X86_64 <br> ARM32 <br> ARM64
|
46
|
-
SDK | [Python](https://app-mesh.readthedocs.io/en/latest/api/appmesh_client.html) <br> [Golang](https://github.com/laoshanxi/app-mesh/blob/main/src/sdk/go/appmesh_client.go) <br> Swagger `https://localhost:6060/swagger`
|
46
|
+
SDK | [Python](https://app-mesh.readthedocs.io/en/latest/api/appmesh_client.html) <br> [Golang](https://github.com/laoshanxi/app-mesh/blob/main/src/sdk/go/appmesh_client.go) <br> Swagger [OpenAPI Specification](https://raw.githubusercontent.com/laoshanxi/app-mesh/main/src/daemon/rest/openapi.yaml) `https://localhost:6060/swagger`
|
47
47
|
|
48
48
|
## Getting started
|
49
49
|
|
@@ -0,0 +1,6 @@
|
|
1
|
+
appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
|
2
|
+
appmesh/appmesh_client.py,sha256=8nnB38J3wvS8tguEzX_KTJkilW6uMoA4opKIaDq1lG0,59591
|
3
|
+
appmesh-1.1.8.dist-info/METADATA,sha256=OqL1nsCAHrsQvzDpf4VJGLuLj-Bp-Lsw30a_EXyB30Y,10945
|
4
|
+
appmesh-1.1.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
+
appmesh-1.1.8.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
|
6
|
+
appmesh-1.1.8.dist-info/RECORD,,
|
appmesh-1.1.6.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
appmesh/__init__.py,sha256=xRdXeFHEieRauuJZElbEBASgXG0ZzU1a5_0isAhM7Gw,11
|
2
|
-
appmesh/appmesh_client.py,sha256=OybcrVVmUI8tGHXTrBJPzEK95sH4iv6VPtzLMQ8Gguc,59591
|
3
|
-
appmesh-1.1.6.dist-info/METADATA,sha256=lJWO8w8Hwz3VzywzX6fPAE7TLrS0kEMgP85Up7zUnAY,10832
|
4
|
-
appmesh-1.1.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
5
|
-
appmesh-1.1.6.dist-info/top_level.txt,sha256=-y0MNQOGJxUzLdHZ6E_Rfv5_LNCkV-GTmOBME_b6pg8,8
|
6
|
-
appmesh-1.1.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|