qwak-core 0.4.262__py3-none-any.whl → 0.4.264__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.
qwak/__init__.py
CHANGED
qwak/inner/tool/auth.py
CHANGED
@@ -175,17 +175,30 @@ class FrogMLAuthClient(BaseAuthClient):
|
|
175
175
|
response.raise_for_status() # Raises an HTTPError for bad responses
|
176
176
|
response_data = response.json()
|
177
177
|
if "serverId" not in response_data:
|
178
|
-
|
179
|
-
"
|
178
|
+
response = requests.get(
|
179
|
+
f"{base_url}/jfconnect/api/v1/system/jpd_id",
|
180
|
+
headers={"Authorization": f"Bearer {self._token}"},
|
181
|
+
timeout=60,
|
180
182
|
)
|
181
|
-
|
183
|
+
if response.status_code == 200:
|
184
|
+
self._tenant_id = response.text
|
185
|
+
elif response.status_code == 401:
|
186
|
+
raise QwakLoginException(
|
187
|
+
"Failed to authenticate with JFrog. Please check your credentials"
|
188
|
+
)
|
189
|
+
else:
|
190
|
+
raise QwakLoginException(
|
191
|
+
"Failed to authenticate with JFrog. Please check your artifactory configuration"
|
192
|
+
)
|
193
|
+
else:
|
194
|
+
self._tenant_id = response_data["serverId"]
|
182
195
|
except requests.exceptions.RequestException:
|
183
196
|
raise QwakLoginException(
|
184
|
-
"Failed to authenticate with JFrog. Please check your
|
197
|
+
"Failed to authenticate with JFrog. Please check your artifactory configuration"
|
185
198
|
)
|
186
199
|
except ValueError: # This catches JSON decode errors
|
187
200
|
raise QwakLoginException(
|
188
|
-
"Failed to authenticate with JFrog. Please check your
|
201
|
+
"Failed to authenticate with JFrog. Please check your artifactory configuration"
|
189
202
|
)
|
190
203
|
|
191
204
|
def __validate_token(self: Self):
|
@@ -591,7 +591,7 @@ _qwak_proto/qwak/workspace/workspace_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXH
|
|
591
591
|
_qwak_proto/qwak/workspace/workspace_service_pb2.py,sha256=AB3C9S_AbOD7Nx1Ni4j1rW6PNtYTV1zjiqFQk-goQ74,21429
|
592
592
|
_qwak_proto/qwak/workspace/workspace_service_pb2.pyi,sha256=nKKCHwnovZhsy8TSVmdz-Vtl0nviOOoX56HD-41Xo08,13726
|
593
593
|
_qwak_proto/qwak/workspace/workspace_service_pb2_grpc.py,sha256=yKGuexxTBza99Ihe0DSTniV2ZSd_AG47inHenqfi890,27193
|
594
|
-
qwak/__init__.py,sha256=
|
594
|
+
qwak/__init__.py,sha256=1nzZMkYti1JWwva17YJ76qWbmqQgcYmwEwu065W7abo,587
|
595
595
|
qwak/automations/__init__.py,sha256=qFZRvCxUUn8gcxkJR0v19ulHW2oJ0x6-Rif7HiheDP4,1522
|
596
596
|
qwak/automations/automation_executions.py,sha256=5MeH_epYYWb8NKXgAozwT_jPyyUDednBHG7izloi7RY,3228
|
597
597
|
qwak/automations/automations.py,sha256=3yx8e2v0uSKDnXbqyknasyEoQ5vxGni6K40Hbi1_zkk,12599
|
@@ -846,7 +846,7 @@ qwak/inner/runtime_di/__init__.py,sha256=ylaHwo2Hlq3pmeziA0Ip87DMnkcuBffKKi0tTH7
|
|
846
846
|
qwak/inner/runtime_di/containers.py,sha256=-AREM-IUAd9JhrhQablqixxpj4L9Tk1iQkK1fA5YbrA,545
|
847
847
|
qwak/inner/singleton_meta.py,sha256=1cU99I0f9tjuMQLMJyLsK1oK3fZJMsO5-TbRHAMXqds,627
|
848
848
|
qwak/inner/tool/__init__.py,sha256=DDoMZk7LIZNfu63Ft0mLE5wflwlQoghAJ1ZmMAcAeVE,74
|
849
|
-
qwak/inner/tool/auth.py,sha256=
|
849
|
+
qwak/inner/tool/auth.py,sha256=Kx4qRqkwdOCVvJ12Fj_FgxU_AqWFA5wQjmrb9CCw-_Q,7514
|
850
850
|
qwak/inner/tool/grpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
851
851
|
qwak/inner/tool/grpc/grpc_auth.py,sha256=nHfIk2R5ljCvU8hsgk_X6grfNhVrbTvQe6uJffe5W5o,2291
|
852
852
|
qwak/inner/tool/grpc/grpc_tools.py,sha256=ArtsEZz5V-YxOVE6vH_UHJwOn6gAJVIolda8hF6qwMs,7256
|
@@ -1065,6 +1065,6 @@ qwak_services_mock/mocks/workspace_manager_service_mock.py,sha256=O9ZSwln4T4kHVk
|
|
1065
1065
|
qwak_services_mock/services_mock.py,sha256=zXtHcX8a_acz7ynxuCBxxVpHpde7aAGjIn6Uw52LY1s,19593
|
1066
1066
|
qwak_services_mock/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1067
1067
|
qwak_services_mock/utils/service_utils.py,sha256=ZlB0CnB1J6oBn6_m7fQO2U8tKoboHdUa6ljjkRMYNXU,265
|
1068
|
-
qwak_core-0.4.
|
1069
|
-
qwak_core-0.4.
|
1070
|
-
qwak_core-0.4.
|
1068
|
+
qwak_core-0.4.264.dist-info/METADATA,sha256=1qb0Mwgpt9djwU1tNtzALWn6HAUUIkn1nLm3KIYCWM4,2549
|
1069
|
+
qwak_core-0.4.264.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
1070
|
+
qwak_core-0.4.264.dist-info/RECORD,,
|
File without changes
|