Skip to content

Commit c9be78d

Browse files
authored
upstream update: _get_microversion, _update, reporting (#576)
upstream update: _get_microversion, _update, reporting …removed in OpenStack Reviewed-by: Anton Sidelnikov
1 parent 15248bf commit c9be78d

File tree

34 files changed

+125
-84
lines changed

34 files changed

+125
-84
lines changed

.stestr.blacklist.functional

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ otcextensions.tests.functional.sdk.function_graph.v2*
4040
otcextensions.tests.functional.sdk.apig.v2*
4141
otcextensions.tests.functional.sdk.network.v2.test_cleanup
4242
otcextensions.tests.functional.sdk.rts*
43+
otcextensions.tests.functional.sdk.dcs.v1*

.zuul.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
check:
3636
jobs:
3737
- otc-tox-pep8
38-
- otc-tox-py39
38+
- otc-tox-py310
3939
- tox-functional-eu-de
4040
- tox-functional-eu-nl:
4141
voting: false
@@ -44,7 +44,7 @@
4444
- otce-upload-image
4545
gate:
4646
jobs:
47-
- otc-tox-py39
47+
- otc-tox-py310
4848
- otc-tox-pep8
4949
- tox-functional-eu-de
5050
- otce-upload-image

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Polina Gubina <[email protected]>
1818
Reik Keutterling <[email protected]>
1919
Rodion Gyrbu <[email protected]>
2020
RusselSand <[email protected]>
21-
Sebastian Gode <[email protected]>
2221
SebastianGode <[email protected]>
2322
T. Schreiber <[email protected]>
2423
Tino Schr <[email protected]>
@@ -32,6 +31,7 @@ YustinaKvr <[email protected]>
3231
Zsolt Nagy <[email protected]>
3332
3433
34+
harald-tsys <[email protected]>
3535
3636
3737

otcextensions/sdk/apig/v2/signature_binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def create(
112112

113113
session = self._get_session(session)
114114
if microversion is None:
115-
microversion = self._get_microversion(session, action='create')
115+
microversion = self._get_microversion(session)
116116
requires_id = (
117117
self.create_requires_id
118118
if self.create_requires_id is not None

otcextensions/sdk/apig/v2/throttling_policy_binding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def create(
160160

161161
session = self._get_session(session)
162162
if microversion is None:
163-
microversion = self._get_microversion(session, action='create')
163+
microversion = self._get_microversion(session)
164164
requires_id = (
165165
self.create_requires_id
166166
if self.create_requires_id is not None

otcextensions/sdk/auto_scaling/v1/group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def delete(self, session, error_message=None, force_delete=False):
129129
request = self._prepare_request(params=params)
130130

131131
session = self._get_session(session)
132-
microversion = self._get_microversion(session, action='delete')
132+
microversion = self._get_microversion(session)
133133

134134
response = session.delete(request.url, headers=request.headers,
135135
microversion=microversion)

otcextensions/sdk/cce/v3/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def list(cls, session, paginated=True, base_path=None, **params):
201201
if not cls.allow_list:
202202
raise exceptions.MethodNotSupported(cls, "list")
203203
session = cls._get_session(session)
204-
microversion = cls._get_microversion(session, action='list')
204+
microversion = cls._get_microversion(session)
205205

206206
if base_path is None:
207207
base_path = cls.base_path

otcextensions/sdk/css/v1/flavor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def list(cls, session, paginated=True, base_path=None, **params):
7272
if not cls.allow_list:
7373
raise exceptions.MethodNotSupported(cls, "list")
7474
session = cls._get_session(session)
75-
microversion = cls._get_microversion(session, action='list')
75+
microversion = cls._get_microversion(session)
7676

7777
if base_path is None:
7878
base_path = cls.base_path

otcextensions/sdk/ctsv3/v3/_proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def update_key_event(self, **attrs):
3838
:returns: The updated key event
3939
:rtype: :class:`~otcextensions.sdk.ctsv3.v3.key_event.KeyEvent`
4040
"""
41-
return self._update(_key_event.KeyEvent, **attrs)
41+
return self._update(_key_event.KeyEvent, "", **attrs)
4242

4343
def delete_key_event(self, notification):
4444
"""Delete an event

otcextensions/sdk/dds/v3/datastore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def list(cls, session, paginated=True, base_path=None,
3737
if not cls.allow_list:
3838
raise exceptions.MethodNotSupported(cls, "list")
3939
session = cls._get_session(session)
40-
microversion = cls._get_microversion(session, action='list')
40+
microversion = cls._get_microversion(session)
4141

4242
if base_path is None:
4343
base_path = cls.base_path

0 commit comments

Comments
 (0)