oc-cdtapi 3.28.1__py3-none-any.whl → 3.29.1__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 +16 -1
- {oc_cdtapi-3.28.1.dist-info → oc_cdtapi-3.29.1.dist-info}/METADATA +1 -1
- {oc_cdtapi-3.28.1.dist-info → oc_cdtapi-3.29.1.dist-info}/RECORD +7 -7
- {oc_cdtapi-3.28.1.data → oc_cdtapi-3.29.1.data}/scripts/nexus.py +0 -0
- {oc_cdtapi-3.28.1.dist-info → oc_cdtapi-3.29.1.dist-info}/WHEEL +0 -0
- {oc_cdtapi-3.28.1.dist-info → oc_cdtapi-3.29.1.dist-info}/licenses/LICENSE +0 -0
- {oc_cdtapi-3.28.1.dist-info → oc_cdtapi-3.29.1.dist-info}/top_level.txt +0 -0
oc_cdtapi/PgQAPI.py
CHANGED
|
@@ -26,7 +26,7 @@ class PgQAPI (object):
|
|
|
26
26
|
else:
|
|
27
27
|
logging.debug('No connection provided, creating')
|
|
28
28
|
self.conn = self.pg_connect(url, username, password)
|
|
29
|
-
self.message_types = ['dlartifacts', 'dlbuild', 'dlcontents', 'dlupload', 'ns']
|
|
29
|
+
self.message_types = ['dlartifacts', 'dlbuild', 'dlcontents', 'dlupload', 'ns', 'register_file']
|
|
30
30
|
|
|
31
31
|
def create_queue(self, queue_code, queue_name):
|
|
32
32
|
logging.debug('reached create_queue')
|
|
@@ -69,6 +69,21 @@ class PgQAPI (object):
|
|
|
69
69
|
logging.debug(message)
|
|
70
70
|
return message
|
|
71
71
|
|
|
72
|
+
def compose_register_file(self, parms):
|
|
73
|
+
logging.debug('reached compose_register_file')
|
|
74
|
+
logging.debug('received parms: [%s]' % parms)
|
|
75
|
+
|
|
76
|
+
location = parms.get("location")
|
|
77
|
+
citype = parms.get("citype")
|
|
78
|
+
depth = parms.get("depth")
|
|
79
|
+
if not location or citype is None or depth is None:
|
|
80
|
+
logging.error('location, citype, and depth must all be specified')
|
|
81
|
+
return None
|
|
82
|
+
message = ["register_file", [[*location], citype, depth], {}]
|
|
83
|
+
logging.debug('composed message')
|
|
84
|
+
logging.debug(message)
|
|
85
|
+
return message
|
|
86
|
+
|
|
72
87
|
def enqueue_message(self, queue_code=None, msg_text=None, priority=50, pg_connection=None):
|
|
73
88
|
logging.debug('reached enqueue_message')
|
|
74
89
|
if pg_connection:
|
|
@@ -7,14 +7,14 @@ oc_cdtapi/ForemanAPI.py,sha256=0GsC9s9uGoYgMbsgBW5aDEGoGLGeRPJJSTAWhbelhVY,57135
|
|
|
7
7
|
oc_cdtapi/JenkinsAPI.py,sha256=lZ8pe3a4eb_6h53JE7QLuzOSlu7Sqatc9PQwWhio9Vg,15748
|
|
8
8
|
oc_cdtapi/NexusAPI.py,sha256=uU12GtHvKlWorFaPAnFcQ5AGEc94MZ5SdmfM2Pw3F7A,26122
|
|
9
9
|
oc_cdtapi/PgAPI.py,sha256=URSz7qu-Ir7AOj0jI3ucTXn2PM-nC96nmPZI746OLjA,14356
|
|
10
|
-
oc_cdtapi/PgQAPI.py,sha256=
|
|
10
|
+
oc_cdtapi/PgQAPI.py,sha256=MJzzm9XGkrMQ8mjoM4WeS1KYAgLeCL73yga8kB-HoUk,9436
|
|
11
11
|
oc_cdtapi/RundeckAPI.py,sha256=O3LmcFaHSz8UqeUyIHTTEMJncDD191Utd-iZaeJay2s,24243
|
|
12
12
|
oc_cdtapi/TestServer.py,sha256=HV97UWg2IK4gOYAp9yaMdwFUWsw9v66MxyZdI3qQctA,2715
|
|
13
13
|
oc_cdtapi/VaultAPI.py,sha256=P-x_PsWe_S0mGUKTCmR1KhUjdfs7GmyaltjGQcnWj_s,2967
|
|
14
14
|
oc_cdtapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
|
-
oc_cdtapi-3.
|
|
16
|
-
oc_cdtapi-3.
|
|
17
|
-
oc_cdtapi-3.
|
|
18
|
-
oc_cdtapi-3.
|
|
19
|
-
oc_cdtapi-3.
|
|
20
|
-
oc_cdtapi-3.
|
|
15
|
+
oc_cdtapi-3.29.1.data/scripts/nexus.py,sha256=4teqZ_KtCSrwHDJVgA7lkreteod4Xt5XJFZNbwb7E6E,6858
|
|
16
|
+
oc_cdtapi-3.29.1.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
17
|
+
oc_cdtapi-3.29.1.dist-info/METADATA,sha256=JRNByYkcpCrEhC8MAd5R4lnsjKv7KGbxtSDTDXZvACU,504
|
|
18
|
+
oc_cdtapi-3.29.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
oc_cdtapi-3.29.1.dist-info/top_level.txt,sha256=d4-5-D-0CSeSXYuLCP7-nIFCpjkfmJr-Y_muzds8iVU,10
|
|
20
|
+
oc_cdtapi-3.29.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|