Get back yamlutils and dummy scenarios
rally-openstack uses these modules, so we need to move them in a backward compatible way. Change-Id: I4c4fe1d4dcf96435729ab13f545c65d72231637e
This commit is contained in:
parent
8dbad440db
commit
64c133a5b6
24
rally/common/yamlutils.py
Normal file
24
rally/common/yamlutils.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
from rally.cli.yamlutils import * # noqa: F401,F403
|
||||||
|
from rally.cli import yamlutils as _new
|
||||||
|
|
||||||
|
# import it as last item to be sure that we use the right module
|
||||||
|
from rally.common import logging
|
||||||
|
|
||||||
|
|
||||||
|
logging.log_deprecated_module(
|
||||||
|
target=__name__, new_module=_new.__name__, release="3.0.0"
|
||||||
|
)
|
0
rally/plugins/common/scenarios/dummy/__init__.py
Normal file
0
rally/plugins/common/scenarios/dummy/__init__.py
Normal file
24
rally/plugins/common/scenarios/dummy/dummy.py
Normal file
24
rally/plugins/common/scenarios/dummy/dummy.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# All Rights Reserved.
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
# not use this file except in compliance with the License. You may obtain
|
||||||
|
# a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
||||||
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||||
|
# License for the specific language governing permissions and limitations
|
||||||
|
# under the License.
|
||||||
|
|
||||||
|
from rally.plugins.task.scenarios.dummy.dummy import * # noqa: F401,F403
|
||||||
|
from rally.plugins.task.scenarios.dummy import dummy as _new
|
||||||
|
|
||||||
|
# import it as last item to be sure that we use the right module
|
||||||
|
from rally.common import logging
|
||||||
|
|
||||||
|
|
||||||
|
logging.log_deprecated_module(
|
||||||
|
target=__name__, new_module=_new.__name__, release="3.0.0"
|
||||||
|
)
|
@ -15,7 +15,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
ALLOWED_EXTRA_MISSING=4
|
ALLOWED_EXTRA_MISSING=40
|
||||||
|
|
||||||
show_diff () {
|
show_diff () {
|
||||||
head -1 $1
|
head -1 $1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user