oc-cdtapi 3.18.1__py3-none-any.whl → 3.18.3__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.
oc_cdtapi/PgQAPI.py CHANGED
@@ -183,34 +183,6 @@ class PgQAPI (object):
183
183
  self.exec_update('update queue_message set proc_end=now(), status=%s, error_message=%s, comment_text=%s where id = %s', ('F', error_message, comment_text, message_id) )
184
184
  return payload
185
185
 
186
- def msg_proc_end(self, message_id):
187
- logging.debug('reached msg_proc_end')
188
- logging.debug('ending processing of message [%s]' % message_id)
189
- ds = self.get_msg(message_id)
190
- if not ds:
191
- logging.error('message [%s] does not exist' % message_id)
192
- return None
193
- (msg_status, payload) = ds
194
- if msg_status != 'A':
195
- logging.error('message [%s] is in bad status [%s]' % (str(message_id), msg_status) )
196
- return False
197
- self.exec_update('update queue_message set proc_end=now(), status=%s where id = %s', ('P', message_id) )
198
- return payload
199
-
200
- def msg_proc_fail(self, message_id, error_message):
201
- logging.debug('reached msg_proc_fail')
202
- logging.debug('failing processing of message [%s]' % message_id)
203
- ds = self.get_msg(message_id)
204
- if not ds:
205
- logging.error('message [%s] does not exist' % message_id)
206
- return None
207
- (msg_status, payload) = ds
208
- if msg_status != 'A':
209
- logging.error('message [%s] is in bad status [%s]' % (str(message_id), msg_status) )
210
- return False
211
- self.exec_update('update queue_message set proc_end=now(), status=%s, error_message=%s where id = %s', ('F', message_id, error_message) )
212
- return payload
213
-
214
186
  def new_msg_from_queue(self, queue_code):
215
187
  logging.debug('reached new_msg_from_queue')
216
188
  logging.debug('checking queue [%s]' % queue_code)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oc-cdtapi
3
- Version: 3.18.1
3
+ Version: 3.18.3
4
4
  Summary: Custom Development python API libraries
5
5
  License: Apache2.0
6
6
  Requires-Python: >=3.6
@@ -6,13 +6,13 @@ oc_cdtapi/DmsGetverAPI.py,sha256=ZPU4HlF59fngKu5mSFhtss3rlBuduffDOSm_y3XWrxk,155
6
6
  oc_cdtapi/ForemanAPI.py,sha256=9r1MSOsubiSxM1sdzF2MHD7IcSwX9Y4UDJknHqQK07g,44255
7
7
  oc_cdtapi/JenkinsAPI.py,sha256=lZ8pe3a4eb_6h53JE7QLuzOSlu7Sqatc9PQwWhio9Vg,15748
8
8
  oc_cdtapi/NexusAPI.py,sha256=uU12GtHvKlWorFaPAnFcQ5AGEc94MZ5SdmfM2Pw3F7A,26122
9
- oc_cdtapi/PgQAPI.py,sha256=ttAUCX_ghmugu35DEXEIWB5GPnRNaUFuz7YgK2jnrMk,9929
9
+ oc_cdtapi/PgQAPI.py,sha256=ofcoS3J5CWN3EtwxW6EcuFUbNQH2BHAJkjrNSfwJ98o,8612
10
10
  oc_cdtapi/RundeckAPI.py,sha256=O3LmcFaHSz8UqeUyIHTTEMJncDD191Utd-iZaeJay2s,24243
11
11
  oc_cdtapi/TestServer.py,sha256=HV97UWg2IK4gOYAp9yaMdwFUWsw9v66MxyZdI3qQctA,2715
12
12
  oc_cdtapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
- oc_cdtapi-3.18.1.data/scripts/nexus.py,sha256=4teqZ_KtCSrwHDJVgA7lkreteod4Xt5XJFZNbwb7E6E,6858
14
- oc_cdtapi-3.18.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- oc_cdtapi-3.18.1.dist-info/METADATA,sha256=gP-hKZ7BXfFlYYRgZsF2_ZPV690_Awi01Vfa-b9T7hE,484
16
- oc_cdtapi-3.18.1.dist-info/WHEEL,sha256=zaaOINJESkSfm_4HQVc5ssNzHCPXhJm0kEUakpsEHaU,91
17
- oc_cdtapi-3.18.1.dist-info/top_level.txt,sha256=d4-5-D-0CSeSXYuLCP7-nIFCpjkfmJr-Y_muzds8iVU,10
18
- oc_cdtapi-3.18.1.dist-info/RECORD,,
13
+ oc_cdtapi-3.18.3.data/scripts/nexus.py,sha256=4teqZ_KtCSrwHDJVgA7lkreteod4Xt5XJFZNbwb7E6E,6858
14
+ oc_cdtapi-3.18.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ oc_cdtapi-3.18.3.dist-info/METADATA,sha256=3DStNGs__RNS6M5KQBwsWEVfQHPIlPhT8NuyAGd4M48,484
16
+ oc_cdtapi-3.18.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ oc_cdtapi-3.18.3.dist-info/top_level.txt,sha256=d4-5-D-0CSeSXYuLCP7-nIFCpjkfmJr-Y_muzds8iVU,10
18
+ oc_cdtapi-3.18.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5