oc-cdtapi 3.18.1__py3-none-any.whl → 3.18.2__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 +0 -14
- {oc_cdtapi-3.18.1.dist-info → oc_cdtapi-3.18.2.dist-info}/METADATA +1 -1
- {oc_cdtapi-3.18.1.dist-info → oc_cdtapi-3.18.2.dist-info}/RECORD +7 -7
- {oc_cdtapi-3.18.1.dist-info → oc_cdtapi-3.18.2.dist-info}/WHEEL +1 -1
- {oc_cdtapi-3.18.1.data → oc_cdtapi-3.18.2.data}/scripts/nexus.py +0 -0
- {oc_cdtapi-3.18.1.dist-info → oc_cdtapi-3.18.2.dist-info}/licenses/LICENSE +0 -0
- {oc_cdtapi-3.18.1.dist-info → oc_cdtapi-3.18.2.dist-info}/top_level.txt +0 -0
oc_cdtapi/PgQAPI.py
CHANGED
@@ -197,20 +197,6 @@ class PgQAPI (object):
|
|
197
197
|
self.exec_update('update queue_message set proc_end=now(), status=%s where id = %s', ('P', message_id) )
|
198
198
|
return payload
|
199
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
200
|
def new_msg_from_queue(self, queue_code):
|
215
201
|
logging.debug('reached new_msg_from_queue')
|
216
202
|
logging.debug('checking queue [%s]' % queue_code)
|
@@ -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=
|
9
|
+
oc_cdtapi/PgQAPI.py,sha256=OUdUwaoa8-Yo08vF6qo94Ml42nRT8RtzbonRPRltWSE,9245
|
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.
|
14
|
-
oc_cdtapi-3.18.
|
15
|
-
oc_cdtapi-3.18.
|
16
|
-
oc_cdtapi-3.18.
|
17
|
-
oc_cdtapi-3.18.
|
18
|
-
oc_cdtapi-3.18.
|
13
|
+
oc_cdtapi-3.18.2.data/scripts/nexus.py,sha256=4teqZ_KtCSrwHDJVgA7lkreteod4Xt5XJFZNbwb7E6E,6858
|
14
|
+
oc_cdtapi-3.18.2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
15
|
+
oc_cdtapi-3.18.2.dist-info/METADATA,sha256=EkK4ZyYgF-GWWFx-59YTRgFiinOB_CDC318XSd288aw,484
|
16
|
+
oc_cdtapi-3.18.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
17
|
+
oc_cdtapi-3.18.2.dist-info/top_level.txt,sha256=d4-5-D-0CSeSXYuLCP7-nIFCpjkfmJr-Y_muzds8iVU,10
|
18
|
+
oc_cdtapi-3.18.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|