atk-common 1.8.0__py3-none-any.whl → 1.9.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/http_utils.py +11 -1
- {atk_common-1.8.0.dist-info → atk_common-1.9.0.dist-info}/METADATA +1 -1
- {atk_common-1.8.0.dist-info → atk_common-1.9.0.dist-info}/RECORD +6 -6
- {atk_common-1.8.0.dist-info → atk_common-1.9.0.dist-info}/WHEEL +0 -0
- {atk_common-1.8.0.dist-info → atk_common-1.9.0.dist-info}/license.txt +0 -0
- {atk_common-1.8.0.dist-info → atk_common-1.9.0.dist-info}/top_level.txt +0 -0
atk_common/http_utils.py
CHANGED
@@ -20,4 +20,14 @@ def get_test_response():
|
|
20
20
|
data['containerName'] = None
|
21
21
|
data['containerPorts'] = None
|
22
22
|
data['timestamp'] = get_utc_date_time()
|
23
|
-
return data
|
23
|
+
return data
|
24
|
+
|
25
|
+
def get_test_response(docker_container_data, component):
|
26
|
+
data = {}
|
27
|
+
data['utcDateTime'] = get_utc_date_time()
|
28
|
+
if docker_container_data is None:
|
29
|
+
data['containerData'] = None
|
30
|
+
data['component'] = component
|
31
|
+
else:
|
32
|
+
data['containerData'] = docker_container_data
|
33
|
+
return data
|
@@ -3,7 +3,7 @@ atk_common/datetime_utils.py,sha256=qsVF7l90P1-xukG2tV_jLqG9J_Yfl5wTpyfrdPBlyMo,
|
|
3
3
|
atk_common/docker_utils.py,sha256=nkUhp2OhwJsm41JDujHDY-JxQfdDjy91duprH59Esfk,2084
|
4
4
|
atk_common/env_utils.py,sha256=66v-S0vlkJNaun6ay1XcOGRtYJb4Ce4odJsWxuaHsQc,373
|
5
5
|
atk_common/error_utils.py,sha256=JBc-yl5_29BSZ6d2kZBEX3X17qCDvEa_GZ7FC7sYwdc,2115
|
6
|
-
atk_common/http_utils.py,sha256=
|
6
|
+
atk_common/http_utils.py,sha256=IQDVPgnu3L1FuMbBOWWfxpL80-YNAQYF93iMK9l1uA4,1189
|
7
7
|
atk_common/log_utils.py,sha256=DGGwXjD5jvpMZJNW1QBoJRdDaTY1e1Z69j0LSOOzsWA,419
|
8
8
|
atk_common/rabbitmq_consumer.py,sha256=4MhuwZs47Jt1fX4sUxr1MKRe7o2QRbPe9_utXEsa8QE,1907
|
9
9
|
atk_common/response_utils.py,sha256=ezqTSNdGwueFXzijKB7CKPWxZml39bqjAZOeIMWMntk,197
|
@@ -22,8 +22,8 @@ atk_package/enums/__init__.py,sha256=oW0aVnwewfH6sNu14jjZ5_uP4iRN4pRmGdTNC204rHo
|
|
22
22
|
atk_package/enums/command_status_enum.py,sha256=M2Nln27a_DbzI07-gfytWQk2X087JhkU6Fmard5qVHs,127
|
23
23
|
atk_package/enums/speed_control_status_enum.py,sha256=qpURh0K1L1tSpbrzVnckoe4hUn1illIkbo7k4mLfzIM,182
|
24
24
|
shared_python_atk_enforcement/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
|
-
atk_common-1.
|
26
|
-
atk_common-1.
|
27
|
-
atk_common-1.
|
28
|
-
atk_common-1.
|
29
|
-
atk_common-1.
|
25
|
+
atk_common-1.9.0.dist-info/METADATA,sha256=RW86i4Zpx9h0Yp8GwBjyGLDdfpzJjeKxiBqV6jvBoWM,1193
|
26
|
+
atk_common-1.9.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
27
|
+
atk_common-1.9.0.dist-info/license.txt,sha256=_0O6fWM00-wTurDjnZhUP_N5QiwGhItaQZqHq5eqadA,1063
|
28
|
+
atk_common-1.9.0.dist-info/top_level.txt,sha256=4CwRjkLnheIdI4jQwc4tK3dbRc58WqUmoqjkdDTWlME,41
|
29
|
+
atk_common-1.9.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|