atk-common 3.10.0__py3-none-any.whl → 3.12.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.
- atk_common/classes/http_response_handler.py +4 -4
- atk_common/interfaces/http_response_handler_interface.py +1 -1
- {atk_common-3.10.0.dist-info → atk_common-3.12.0.dist-info}/METADATA +1 -1
- {atk_common-3.10.0.dist-info → atk_common-3.12.0.dist-info}/RECORD +7 -7
- {atk_common-3.10.0.dist-info → atk_common-3.12.0.dist-info}/WHEEL +0 -0
- {atk_common-3.10.0.dist-info → atk_common-3.12.0.dist-info}/licenses/license.txt +0 -0
- {atk_common-3.10.0.dist-info → atk_common-3.12.0.dist-info}/top_level.txt +0 -0
@@ -37,8 +37,8 @@ class HttpResponseHandler(IHttpResponseHandler):
|
|
37
37
|
mimetype=response.get('contentType'),
|
38
38
|
headers=response.get('httpHeaders')
|
39
39
|
)
|
40
|
-
elif is_http_status_internal(response('statusCode')):
|
40
|
+
elif is_http_status_internal(response.get('statusCode')):
|
41
41
|
if is_response_http(response):
|
42
|
-
return self.error_handler.resend_error_entity(response('responseMsg'))
|
43
|
-
return self.error_handler.get_error_entity(response('responseMsg'), method, ApiErrorType.INTERNAL, response('statusCode'))
|
44
|
-
return self.error_handler.get_error_entity(response('responseMsg'), method, ApiErrorType.CONNECTION, response('statusCode'))
|
42
|
+
return self.error_handler.resend_error_entity(response.get('responseMsg'))
|
43
|
+
return self.error_handler.get_error_entity(response.get('responseMsg'), method, ApiErrorType.INTERNAL, response.get('statusCode'))
|
44
|
+
return self.error_handler.get_error_entity(response.get('responseMsg'), method, ApiErrorType.CONNECTION, response.get('statusCode'))
|
@@ -21,7 +21,7 @@ atk_common/classes/bo_logger.py,sha256=wo1-BNWZjzSnlcM7c0LB7tK__2g3BENXvSvCLEiTO
|
|
21
21
|
atk_common/classes/docker_handler.py,sha256=VNJecc2ZWcpwNBa61QTGM_kYrsoZTjktMcFRFGF4xI4,3048
|
22
22
|
atk_common/classes/env_handler.py,sha256=h3snKwHwDvfc2dt1vgHasqv8n_vnsI9J2MAr-XM5oow,1283
|
23
23
|
atk_common/classes/error_handler.py,sha256=DgRzWx4Yu8PKX1bqj55aWhrkqb92ebDaEwtxgKhTLls,3270
|
24
|
-
atk_common/classes/http_response_handler.py,sha256=
|
24
|
+
atk_common/classes/http_response_handler.py,sha256=qgtGyEwUe4lIiayS6syWanr2VE6GaKHddazNL_PxEFM,2327
|
25
25
|
atk_common/classes/rabbitmq_consumer.py,sha256=jct1UnfP-PU3IeWW2S_9dQ7FxmY0_M8YwZadFMv52j8,2936
|
26
26
|
atk_common/enums/__init__.py,sha256=hOSoKWIBUpRFaMN2tNJiel6iGI1MHj229OYnU1J8Jg0,2636
|
27
27
|
atk_common/enums/api_error_type_enum.py,sha256=9oW6ZaZ3lhMwR8r2sVNWGliS9C_jV-otiOYdezAuTp0,91
|
@@ -67,7 +67,7 @@ atk_common/interfaces/__init__.py,sha256=HynEg28Uy3msO7qd__VxajTasSe9-Evpj9yi3Uw
|
|
67
67
|
atk_common/interfaces/docker_handler_interface.py,sha256=hs71uNcFvSbTqRvcL4XarHx6DONP1J7MrUUz-oO28bM,458
|
68
68
|
atk_common/interfaces/env_handler_interface.py,sha256=yrmtTplH5tnuOAs7CW5RtzLMTE5q9sdzTYjiS2naNQQ,300
|
69
69
|
atk_common/interfaces/error_handler_interface.py,sha256=ErhQ69T3fCYUl6sS5GwiMgW-znapmGcmgWLR2QLNu8c,506
|
70
|
-
atk_common/interfaces/http_response_handler_interface.py,sha256=
|
70
|
+
atk_common/interfaces/http_response_handler_interface.py,sha256=Cl_njN_klHz1u06FCJPata1dua1w4Cs-Qt9Rg7uaB1c,169
|
71
71
|
atk_common/interfaces/logger_interface.py,sha256=jK1gwkB_XmvqsTENhfOsw2QBplay16yVzc_qDSkgFyk,423
|
72
72
|
atk_common/utils/__init__.py,sha256=hU5xicoI6dXRDz0gQADIDo2YbiL2UptTehVBISReIDo,1857
|
73
73
|
atk_common/utils/consumer_retry_handler.py,sha256=-qnqxA07XLn0KKOGJCuyixqwmWYzM3g8Ii-ei2At3bY,2559
|
@@ -81,7 +81,7 @@ atk_common/utils/http_utils.py,sha256=eSRuQeDgN0ISQdByZqE6cIGXoorcAXz7PEtVntHUKA
|
|
81
81
|
atk_common/utils/internal_response_utils.py,sha256=2X9eLFEy1pO3Aesj1IRXg2yprwNcBDM5_dXaA5vfmMI,694
|
82
82
|
atk_common/utils/mq_utils.py,sha256=DmVcXIZHG45p7cQVvgen6OT8QbW_UifFFJGJBybTkJQ,1835
|
83
83
|
atk_common/utils/str_utils.py,sha256=sg3jwTTIfQvgGP-lcY5Xh4PXXhKWse_4HswBQYQKEo4,260
|
84
|
-
atk_common-3.
|
84
|
+
atk_common-3.12.0.dist-info/licenses/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
85
85
|
atk_package/__init__.py,sha256=okIFEefQhQrw6DZg6oCEVWsEdkVCk-57VXBW0IUG_wU,834
|
86
86
|
atk_package/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,239
|
87
87
|
atk_package/env_utils.py,sha256=bXOrxM3fZUslqfmZt75iphbEJHbG4riJa8XOVzPwIII,313
|
@@ -94,7 +94,7 @@ atk_package/enums/__init__.py,sha256=EtUr_--MQj1Rc_R0sF_ELXIThmhpfmhDWq3YaK9oQMk
|
|
94
94
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
95
95
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
96
96
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
97
|
-
atk_common-3.
|
98
|
-
atk_common-3.
|
99
|
-
atk_common-3.
|
100
|
-
atk_common-3.
|
97
|
+
atk_common-3.12.0.dist-info/METADATA,sha256=1Shv97Ux1iGzXj0wPv3idbHG5Jg475j_NzawVu3O4lE,1761
|
98
|
+
atk_common-3.12.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
99
|
+
atk_common-3.12.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
100
|
+
atk_common-3.12.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|