oc-cdtapi 3.13.7__py3-none-any.whl → 3.13.9__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/Dbsm2API.py +3 -1
- oc_cdtapi/DmsGetverAPI.py +3 -2
- {oc_cdtapi-3.13.7.dist-info → oc_cdtapi-3.13.9.dist-info}/METADATA +1 -1
- {oc_cdtapi-3.13.7.dist-info → oc_cdtapi-3.13.9.dist-info}/RECORD +8 -8
- {oc_cdtapi-3.13.7.data → oc_cdtapi-3.13.9.data}/scripts/nexus.py +0 -0
- {oc_cdtapi-3.13.7.dist-info → oc_cdtapi-3.13.9.dist-info}/LICENSE +0 -0
- {oc_cdtapi-3.13.7.dist-info → oc_cdtapi-3.13.9.dist-info}/WHEEL +0 -0
- {oc_cdtapi-3.13.7.dist-info → oc_cdtapi-3.13.9.dist-info}/top_level.txt +0 -0
oc_cdtapi/Dbsm2API.py
CHANGED
@@ -45,7 +45,7 @@ class Dbsm2API (API.HttpAPI):
|
|
45
45
|
self.web.auth = None
|
46
46
|
self.raise_exception_high = 499
|
47
47
|
|
48
|
-
def create_custom_image(self, version=None, distr_type=None, client_filter=None, client_code=None):
|
48
|
+
def create_custom_image(self, version=None, distr_type=None, client_filter=None, client_code=None, schema_name=None):
|
49
49
|
"""
|
50
50
|
Sends request to create custom image
|
51
51
|
:param str version: version of product
|
@@ -58,6 +58,7 @@ class Dbsm2API (API.HttpAPI):
|
|
58
58
|
logging.debug('distr_type: [%s]' % distr_type)
|
59
59
|
logging.debug('client_filter: [%s]' % client_filter)
|
60
60
|
logging.debug('client_code: [%s]' % client_code)
|
61
|
+
logging.debug('schema_name: [%s]' % schema_name)
|
61
62
|
|
62
63
|
url = posixpath.join('api', 'v1', 'images', 'custom-cdt')
|
63
64
|
headers = self.get_headers()
|
@@ -70,6 +71,7 @@ class Dbsm2API (API.HttpAPI):
|
|
70
71
|
'oracle_encoding': self.oracle_encoding,
|
71
72
|
'oracle_version': self.oracle_version,
|
72
73
|
'oracle_edition': self.oracle_edition,
|
74
|
+
'schema_name': schema_name,
|
73
75
|
'remap_tablespaces': 'true'
|
74
76
|
}
|
75
77
|
r = self.post(url, headers=headers, json=params)
|
oc_cdtapi/DmsGetverAPI.py
CHANGED
@@ -140,11 +140,12 @@ class DmsGetverAPI (API.HttpAPI):
|
|
140
140
|
|
141
141
|
return gav_text
|
142
142
|
|
143
|
-
def get_dms_log(self, distr_id, distr_option):
|
143
|
+
def get_dms_log(self, distr_id, distr_option, **kwargs):
|
144
144
|
"""
|
145
145
|
Retrieve dms log
|
146
146
|
:param str distr_id: distributive ID (digits-as-string)
|
147
147
|
:param str distr_option: additional distributive option
|
148
|
+
:param **kwargs: other 'get'-related keyword arguments: 'stream', 'binary', 'write_to', etc.
|
148
149
|
:return str: DMS log, or None if no logs found or response error
|
149
150
|
"""
|
150
151
|
logging.debug('Reached get_dms_log')
|
@@ -153,7 +154,7 @@ class DmsGetverAPI (API.HttpAPI):
|
|
153
154
|
url = self.get_dms_log_url(distr_id, distr_option)
|
154
155
|
|
155
156
|
log = None
|
156
|
-
resp = self.get(url)
|
157
|
+
resp = self.get(url, **kwargs)
|
157
158
|
status_code = resp.status_code
|
158
159
|
logging.debug('Response status code: [%s]' % status_code)
|
159
160
|
|
@@ -1,17 +1,17 @@
|
|
1
1
|
oc_cdtapi/API.py,sha256=hpdnzyirYT_wISeznRmoqr-umYRT6uqKVwhmCXyj8Nk,12398
|
2
|
-
oc_cdtapi/Dbsm2API.py,sha256=
|
2
|
+
oc_cdtapi/Dbsm2API.py,sha256=yLWDDByGnm8flS3aHNXR79PfQYTBJ_93SxXt46KhVPQ,8812
|
3
3
|
oc_cdtapi/DevPIAPI.py,sha256=Nn63Ob0kA5XXuRZ3OIWG2rcnSsztKq9yPI6Lu2zX3Gk,1836
|
4
4
|
oc_cdtapi/DmsAPI.py,sha256=eNFdwQLhCbPvHB5SUtP4QcZZtSdjkgt_Cxn3oQ3iJ5s,15605
|
5
|
-
oc_cdtapi/DmsGetverAPI.py,sha256=
|
5
|
+
oc_cdtapi/DmsGetverAPI.py,sha256=ZPU4HlF59fngKu5mSFhtss3rlBuduffDOSm_y3XWrxk,15556
|
6
6
|
oc_cdtapi/ForemanAPI.py,sha256=arT3upMjSZ4K9SUl1YXZrMo6fz6YseMX_gtmqs0MmFk,42847
|
7
7
|
oc_cdtapi/JenkinsAPI.py,sha256=lZ8pe3a4eb_6h53JE7QLuzOSlu7Sqatc9PQwWhio9Vg,15748
|
8
8
|
oc_cdtapi/NexusAPI.py,sha256=uU12GtHvKlWorFaPAnFcQ5AGEc94MZ5SdmfM2Pw3F7A,26122
|
9
9
|
oc_cdtapi/RundeckAPI.py,sha256=O3LmcFaHSz8UqeUyIHTTEMJncDD191Utd-iZaeJay2s,24243
|
10
10
|
oc_cdtapi/TestServer.py,sha256=HV97UWg2IK4gOYAp9yaMdwFUWsw9v66MxyZdI3qQctA,2715
|
11
11
|
oc_cdtapi/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
|
-
oc_cdtapi-3.13.
|
13
|
-
oc_cdtapi-3.13.
|
14
|
-
oc_cdtapi-3.13.
|
15
|
-
oc_cdtapi-3.13.
|
16
|
-
oc_cdtapi-3.13.
|
17
|
-
oc_cdtapi-3.13.
|
12
|
+
oc_cdtapi-3.13.9.data/scripts/nexus.py,sha256=4teqZ_KtCSrwHDJVgA7lkreteod4Xt5XJFZNbwb7E6E,6858
|
13
|
+
oc_cdtapi-3.13.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
14
|
+
oc_cdtapi-3.13.9.dist-info/METADATA,sha256=flzxNkPSedZP3tdBxRnQt8IscebTJHkxsXZ6zQqT4TQ,254
|
15
|
+
oc_cdtapi-3.13.9.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
16
|
+
oc_cdtapi-3.13.9.dist-info/top_level.txt,sha256=d4-5-D-0CSeSXYuLCP7-nIFCpjkfmJr-Y_muzds8iVU,10
|
17
|
+
oc_cdtapi-3.13.9.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|