pyxecm 1.4__py3-none-any.whl → 1.5__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.
Potentially problematic release.
This version of pyxecm might be problematic. Click here for more details.
- pyxecm/__init__.py +3 -0
- pyxecm/coreshare.py +2636 -0
- pyxecm/customizer/__init__.py +4 -0
- pyxecm/customizer/browser_automation.py +164 -54
- pyxecm/customizer/customizer.py +451 -235
- pyxecm/customizer/k8s.py +6 -6
- pyxecm/customizer/m365.py +1136 -221
- pyxecm/customizer/payload.py +13163 -5844
- pyxecm/customizer/pht.py +503 -0
- pyxecm/customizer/salesforce.py +694 -114
- pyxecm/customizer/sap.py +4 -4
- pyxecm/customizer/servicenow.py +1221 -0
- pyxecm/customizer/successfactors.py +1056 -0
- pyxecm/helper/__init__.py +2 -0
- pyxecm/helper/assoc.py +24 -1
- pyxecm/helper/data.py +1527 -0
- pyxecm/helper/web.py +170 -46
- pyxecm/helper/xml.py +170 -34
- pyxecm/otac.py +309 -23
- pyxecm/otcs.py +2779 -698
- pyxecm/otds.py +347 -108
- pyxecm/otmm.py +808 -0
- pyxecm/otpd.py +13 -10
- {pyxecm-1.4.dist-info → pyxecm-1.5.dist-info}/METADATA +3 -1
- pyxecm-1.5.dist-info/RECORD +30 -0
- {pyxecm-1.4.dist-info → pyxecm-1.5.dist-info}/WHEEL +1 -1
- pyxecm-1.4.dist-info/RECORD +0 -24
- {pyxecm-1.4.dist-info → pyxecm-1.5.dist-info}/LICENSE +0 -0
- {pyxecm-1.4.dist-info → pyxecm-1.5.dist-info}/top_level.txt +0 -0
pyxecm/customizer/k8s.py
CHANGED
|
@@ -263,7 +263,7 @@ class K8s:
|
|
|
263
263
|
if not pod:
|
|
264
264
|
logger.error("Pod -> %s does not exist", pod_name)
|
|
265
265
|
|
|
266
|
-
logger.
|
|
266
|
+
logger.debug("Execute command -> %s in pod -> %s", command, pod_name)
|
|
267
267
|
|
|
268
268
|
retry_counter = 1
|
|
269
269
|
|
|
@@ -292,7 +292,7 @@ class K8s:
|
|
|
292
292
|
)
|
|
293
293
|
retry_counter = retry_counter + 1
|
|
294
294
|
exception = exc
|
|
295
|
-
logger.
|
|
295
|
+
logger.debug("Wait %s seconds before next retry...", str(time_retry))
|
|
296
296
|
time.sleep(time_retry)
|
|
297
297
|
continue
|
|
298
298
|
|
|
@@ -371,17 +371,17 @@ class K8s:
|
|
|
371
371
|
got_response = False
|
|
372
372
|
response.update(timeout=timeout)
|
|
373
373
|
if response.peek_stdout():
|
|
374
|
-
logger.
|
|
374
|
+
logger.debug(response.read_stdout().replace("\n", " "))
|
|
375
375
|
got_response = True
|
|
376
376
|
if response.peek_stderr():
|
|
377
377
|
if write_stderr_to_error_log:
|
|
378
378
|
logger.error(response.read_stderr().replace("\n", " "))
|
|
379
379
|
else:
|
|
380
|
-
logger.
|
|
380
|
+
logger.debug(response.read_stderr().replace("\n", " "))
|
|
381
381
|
got_response = True
|
|
382
382
|
if commands:
|
|
383
383
|
command = commands.pop(0)
|
|
384
|
-
logger.
|
|
384
|
+
logger.debug("Execute command -> %s in pod -> %s", command, pod_name)
|
|
385
385
|
response.write_stdin(command + "\n")
|
|
386
386
|
else:
|
|
387
387
|
# We continue as long as we get some response during timeout period
|
|
@@ -888,7 +888,7 @@ class K8s:
|
|
|
888
888
|
backend = path.backend
|
|
889
889
|
service = backend.service
|
|
890
890
|
|
|
891
|
-
logger.
|
|
891
|
+
logger.debug(
|
|
892
892
|
"Replace backend service -> %s (%s) with new backend service -> %s (%s)",
|
|
893
893
|
service.name,
|
|
894
894
|
service.port.number,
|