pyxecm 1.4__py3-none-any.whl → 1.6__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/otpd.py CHANGED
@@ -248,18 +248,18 @@ class OTPD:
248
248
  # Step2: fetch session id from the response, and hit j_security_check with proper authentication
249
249
  # Step3: get session id from the response, add to self. It can be used for other transactions
250
250
  session = requests.Session()
251
- logger.info("Initiating dummy rest call to Tomcat to get initial session id")
251
+ logger.debug("Initiating dummy rest call to Tomcat to get initial session id")
252
252
  response = session.put(request_url, json=payload)
253
253
  logger.info(response.text)
254
254
  if response.ok:
255
- logger.info("Url to authenticate Tomcat for Session id -> %s", auth_url)
255
+ logger.debug("Url to authenticate Tomcat for Session id -> %s", auth_url)
256
256
  session_response = session.post(auth_url)
257
257
  if session_response.ok:
258
- logger.info(
258
+ logger.debug(
259
259
  "Response for -> %s is -> %s", auth_url, str(session_response)
260
260
  )
261
261
  session_dict = session.cookies.get_dict()
262
- logger.info(
262
+ logger.debug(
263
263
  "Session id to perform Rest API calls to Tomcat -> %s",
264
264
  session_dict["JSESSIONID"],
265
265
  )
@@ -296,7 +296,7 @@ class OTPD:
296
296
  request_url = self.config()["otpdImportDatabaseUrl"]
297
297
 
298
298
  logger.info(
299
- "Importing Database backup -> %s, into PowerDocs ServerManager on -> %s",
299
+ "Importing PowerDocs database backup -> %s, into PowerDocs ServerManager on -> %s",
300
300
  filename,
301
301
  request_url,
302
302
  )
@@ -308,7 +308,7 @@ class OTPD:
308
308
  return response
309
309
  else:
310
310
  logger.error(
311
- "Failed to Import Database backup -> %s into -> %s; error -> %s",
311
+ "Failed to import PowerDocs database backup -> %s into -> %s; error -> %s",
312
312
  filename,
313
313
  request_url,
314
314
  response.text,
@@ -340,10 +340,11 @@ class OTPD:
340
340
 
341
341
  request_url = self.config()["settingsUrl"]
342
342
 
343
- logger.info(
344
- "Update setting -> %s with value -> %s; calling -> %s",
343
+ logger.debug(
344
+ "Update PowerDocs setting -> %s with value -> %s (tenant -> %s); calling -> %s",
345
345
  setting_name,
346
346
  setting_value,
347
+ tenant_name,
347
348
  request_url,
348
349
  )
349
350
 
@@ -363,13 +364,15 @@ class OTPD:
363
364
  return self.parse_request_response(response)
364
365
  # Check if Session has expired - then re-authenticate and try once more
365
366
  elif response.status_code == 401 and retries == 0:
366
- logger.warning("Session has expired - try to re-authenticate...")
367
+ logger.debug("Session has expired - try to re-authenticate...")
367
368
  self.authenticate(True)
368
369
  retries += 1
369
370
  else:
370
371
  logger.error(
371
- "Failed to update setting -> %s; error -> %s",
372
+ "Failed to update PowerDocs setting -> %s with value -> %s (tenant -> %s); error -> %s",
372
373
  setting_name,
374
+ setting_value,
375
+ tenant_name,
373
376
  response.text,
374
377
  )
375
378
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyxecm
3
- Version: 1.4
3
+ Version: 1.6
4
4
  Summary: A Python library to interact with Opentext Extended ECM REST API
5
5
  Author-email: Kai Gatzweiler <kgatzweiler@opentext.com>, "Dr. Marc Diefenbruch" <mdiefenb@opentext.com>
6
6
  Project-URL: Homepage, https://github.com/opentext/pyxecm
@@ -23,6 +23,10 @@ Requires-Dist: suds
23
23
  Requires-Dist: python-hcl2
24
24
  Requires-Dist: xmltodict
25
25
  Requires-Dist: lxml
26
+ Requires-Dist: openpyxl
27
+ Requires-Dist: pandas
28
+ Requires-Dist: python-magic
29
+ Requires-Dist: websockets
26
30
  Provides-Extra: customizer
27
31
  Requires-Dist: python-hcl2 ; extra == 'customizer'
28
32
  Requires-Dist: lxml ; extra == 'customizer'
@@ -0,0 +1,32 @@
1
+ pyxecm/__init__.py,sha256=aakkoowQ0bMt8CyublWcAeUZhiQYN8EhODIHi_sMjj0,301
2
+ pyxecm/avts.py,sha256=pWXhyyIxqCSmJGokCzKcAsHy2u38kEV8lAEked-8ysw,39704
3
+ pyxecm/coreshare.py,sha256=uchINAkJoZfcCeiPRBoVE6soyZUtGreuQLfKiWCyVtU,91462
4
+ pyxecm/otac.py,sha256=i1-4nljJUedAsz842s4WXH_YjmEC-hZh66zEGhRS5Uw,21684
5
+ pyxecm/otawp.py,sha256=Yisdn4JmGDfUF-GIdgb4MRTu2EumX-MTVlQeZOhvd5I,66030
6
+ pyxecm/otcs.py,sha256=uE-5HlvQg19N186-Tc1NFnuEXjCFJvK28wBXwP_Ko6U,423656
7
+ pyxecm/otds.py,sha256=eW-cH2oeKFKlARRi-ltX-Ja_DrOSNzDEk6TFhGDt0tE,148019
8
+ pyxecm/otiv.py,sha256=nHEBQ9tddtKMiR1yPbGGP-jJiDaQpyoFmZcQFPgw22w,1720
9
+ pyxecm/otmm.py,sha256=Pp00htEs46grAChlb5UOsBecYO2GsVzeiQXeZP7b6MM,33780
10
+ pyxecm/otpd.py,sha256=zRus7UnYYrwG9tYDPPLxBbGzozATwS07ftYun4kaaV4,12503
11
+ pyxecm/customizer/__init__.py,sha256=g32OUKoJiBYY4q9IMQctKTKq6YhFtv-IAIHcRC0KJu4,330
12
+ pyxecm/customizer/browser_automation.py,sha256=cbUTGBLmyYO7617QfNJCZtFCK0i8-2hfA6QhKSfuKOY,16430
13
+ pyxecm/customizer/customizer.py,sha256=OFrw2u3-4es205H9lMeFN4B0WpQAWxL7i-CnClAvawY,91195
14
+ pyxecm/customizer/k8s.py,sha256=iVA4WQodfkHxxkb8j3g2cr-GIR1ll6BMjq1aIXxIUB4,41414
15
+ pyxecm/customizer/m365.py,sha256=FvxpcukOjneivAPPQorP34eO3q7QZAzx1RVksCbmy50,145276
16
+ pyxecm/customizer/payload.py,sha256=V1yFl6Xw9q05QZynff1hmVugfzjSSjEW0cfPnuim8iw,855135
17
+ pyxecm/customizer/pht.py,sha256=lpoV15uyha3lH8pElG8j6U40JuBQC4Op_ci7VO65_EU,31655
18
+ pyxecm/customizer/salesforce.py,sha256=k2pGPLDAHANvp_-0QdlU4sbXplBNP2NXsUpjhBHSNJk,61644
19
+ pyxecm/customizer/sap.py,sha256=RNrHH0KjBQ10dHXoMaZIEd3EVPC8--4AN7nzy_Iv9k4,5947
20
+ pyxecm/customizer/servicenow.py,sha256=JWvlvLxC9nv3fnXOWMCKiHNfqas72a_qUmX4kSltdVQ,57358
21
+ pyxecm/customizer/successfactors.py,sha256=6hww4tKF_Bm2aLzFMStPuJmKJ4uBqteXwjWDkW0yDHU,38847
22
+ pyxecm/customizer/translate.py,sha256=RxC7O4lxfGaG1nttCm5WI5X2wEM4eEqbVcUtnYns1TQ,3968
23
+ pyxecm/helper/__init__.py,sha256=sScoB5RQAEkzP2LLvR_cRYwC1ARSdvBiv-4JwnJA7Dw,140
24
+ pyxecm/helper/assoc.py,sha256=bieUr9lkJ0WYohMGsM51wt7OIX_ii4KHaE0cmhRr5TM,6931
25
+ pyxecm/helper/data.py,sha256=WnpTi15ChtMWCLsk0BcZ3ry9ZZDnD4ajrFWmavmNGew,68217
26
+ pyxecm/helper/web.py,sha256=CYhJW4TgyHc2w9nV75YgGJR3fDHeUjQEMkulNI9U3E8,9263
27
+ pyxecm/helper/xml.py,sha256=WNvHI41AKpJnB2h_4gvHg0l0w3WtHlZ3W9q6TV6htYU,31664
28
+ pyxecm-1.6.dist-info/LICENSE,sha256=z5DWWd5cHmQYJnq4BDt1bmVQjuXY1Qsp6y0v5ETCw-s,11360
29
+ pyxecm-1.6.dist-info/METADATA,sha256=dSw3C2KHkoVC_AJjGk-7Mhb9p3Isoa2av9CiLhGlDbI,2130
30
+ pyxecm-1.6.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
31
+ pyxecm-1.6.dist-info/top_level.txt,sha256=TGak3_dYN67ugKFbmRxRG1leDyOt0T7dypjdX4Ij1WE,7
32
+ pyxecm-1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (75.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,24 +0,0 @@
1
- pyxecm/__init__.py,sha256=665ihX9KXfsUog3EL-zvfRkZzVE4h4XNRTT3ZEzRw5A,196
2
- pyxecm/otac.py,sha256=wAP0RiwS4auU5erAvLIh04BzMoA_oCqJOTptMhxG0rY,11085
3
- pyxecm/otcs.py,sha256=5OguHJMPO5kdC8yH-s3XRbDu3gOxnJf8eSbB0-3Z3tc,327041
4
- pyxecm/otds.py,sha256=BRoV13-oWK2LWg2mjJShoaXug6IFheU9iz-sAL5V32A,150931
5
- pyxecm/otiv.py,sha256=nHEBQ9tddtKMiR1yPbGGP-jJiDaQpyoFmZcQFPgw22w,1720
6
- pyxecm/otpd.py,sha256=nsJTARblpxjosorEBf4b06Pmaftqjc_UJSzAqFKk24c,12320
7
- pyxecm/customizer/__init__.py,sha256=1Hyo_vzbIKDUFyhwopI0W9E7NFbpVJevFMg3hTVhYSE,201
8
- pyxecm/customizer/browser_automation.py,sha256=fzi2mNF9xh9xovJd4NGFpG4Od_XalG3-ZxxhAAH0lnw,12704
9
- pyxecm/customizer/customizer.py,sha256=ys9jRmq_DppmBXxiOPbohv2_fsuJSbLNikYlYH6hbA8,76288
10
- pyxecm/customizer/k8s.py,sha256=bSZPnN8iLLQSd1CB7ccWjT8CJOgpkEh73hZj6bp_B0w,36449
11
- pyxecm/customizer/m365.py,sha256=DbpA4rDpDUVeDI87rXnwAuhp4k8U_AWthdJk7qJSJkg,144673
12
- pyxecm/customizer/payload.py,sha256=v4JSd6m9iO0mlV5ZqcHKd3HvUbymkeW3FGO5b7xXNJc,437483
13
- pyxecm/customizer/salesforce.py,sha256=hhxtFIUCe-1NxqhC1p_FPpN-WZJCdOI9xgwxrryHmWM,44048
14
- pyxecm/customizer/sap.py,sha256=VKM4XTJhWHHQqvp2rMX-Lq-aAvAwSJUJO0maP0U61hg,5951
15
- pyxecm/customizer/translate.py,sha256=RxC7O4lxfGaG1nttCm5WI5X2wEM4eEqbVcUtnYns1TQ,3968
16
- pyxecm/helper/__init__.py,sha256=lc3nuJfygpKJuvqZhBfT54ZhtVbXp2uUi7PsrIXXWA0,116
17
- pyxecm/helper/assoc.py,sha256=bzth2ItSFCOR1GiKBbp93VcItDRLWquQnvFOUex0z9I,5639
18
- pyxecm/helper/web.py,sha256=JgZf_uSiSSRCQFktYKhYiodTo0G0EdHUk47lyesp4wk,4963
19
- pyxecm/helper/xml.py,sha256=fB-wvnSZUm3DzLpJUtMesUaravotAxGDE6Ya8Pa8Azw,26677
20
- pyxecm-1.4.dist-info/LICENSE,sha256=z5DWWd5cHmQYJnq4BDt1bmVQjuXY1Qsp6y0v5ETCw-s,11360
21
- pyxecm-1.4.dist-info/METADATA,sha256=poF8xP2F726u5ibjq1ootxa6ya0x3_yBR7mow1YmPeM,2030
22
- pyxecm-1.4.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
23
- pyxecm-1.4.dist-info/top_level.txt,sha256=TGak3_dYN67ugKFbmRxRG1leDyOt0T7dypjdX4Ij1WE,7
24
- pyxecm-1.4.dist-info/RECORD,,
File without changes