1.As mentioned in [1], we should avoid using six.iteritems to achieve
iterators. We can use dict.items instead, as it will return iterators
in PY3 as well. And dict.items/keys will more readable.
2.In py2, the performance about list should be negligible, see the
link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: I45fa65427318e1c35bb521de46e81ea12ca7b770
OpenStack Puppet CI uses packaged version of Murano,
so we don't have write permissions to test directory.
We need to compose Murano packages required for
tests in temporarily directories to fix it.
Closes-Bug: #1620706
Change-Id: I0334869237208f707b66b1e473e6044b1d3fe06f
This patch adds tempest tests for Murano Package versioning.
The next tests are provided:
1. Upload two packages which differ with only versions and
check their availability in artifact repository.
2. Deployment test of two packages in one environment, which
differ with only versions.
3. Deploy package with missed class by manifest version require.
4. Deploy package with available class by manifest version require.
Change-Id: I48fb1a1af475a99f3b7a6313338d2bbcfb95d579
This commit adds implementation of methods and resources
which are used for tempest app deployment and cinder volumes
support tests
Change-Id: Ibd70aa56987d8f69547fb9f114b6a1a69cfcbe0c
targets: bp normalize-murano-tests
- Add artifacts tempest client
- Extend test utils with common utils of muranoclient to parse packages
Change-Id: I55c02a922b80f792afbe9f7be309c66115ebd6b8
targets: bp murano-glare-devstack-testing
After change I17ab2eba0fd6c42309667f42d0644d21940ab02d was merged cfapi
job starts failing. This cause of it is the change in mock_muranopl.yaml
file which is used in tempest tests. Now we remove this change and
update mechanism which added class name by overwrite mock_muranopl.yaml.
Related-Bug: #1604050
Change-Id: I9ab62cd60b25e39f9ec90a85dfa25c80fc3adbad
Static public methods can be called synchronously through the
API call without creating environment, object instances and
database records. It is proposed to make RPC call as the single
request-responce for now.
However async API and RPC calls may also be implemented later
exploiting the same pattern as for calling instance methods.
New call can be done through client method (see
Ib6a60f8e33c5d3593a55db9f758e94e27f0a4445)
Tempest and unit tests are added.
APIImpact
Implements: blueprint static-actions
Change-Id: I17ab2eba0fd6c42309667f42d0644d21940ab02d
- Add Mock app which will be imported during the test run.
This app will be deployed through Cloudfoundry API Murano Service
Broker.
- Change plugin to make possible create a zip archive
in murano_tempest_tests directory.
- Add application_catalog client into services directory to
perform operations with packages.
- Add utils to make possible dummy app generation.
- Add functions to provide additional functionality to
service_broker client.
- Add functions to service_broker base to make cleanups easier.
- Add provision and deprovision test.
Targets: blueprint murano-cfapi-func-tests
Change-Id: I6fc75f53b8f0c7b2a96ff2e1d5a63529efaf98df