orchestration_client in Tempest is planned to be removed and heat
client present in heat_tempest_plugin is supposed to be used
- ba43685c13/heat_tempest_plugin/services/clients.py (L103)
Meanwhile murano_tempest_plugin is the only user of tempest orchestration_client
so moving that here and it can be removed once murano switch to use
client from heat_tempest_plugin.
Change-Id: I8f160c6b9b59d6915d6fb346be7816b4b8084939
Added tests for following scenarios:
* deploy session
* list all deployments
* list deployments (in a specific environment)
* list a specific deployment's statuses
Added application_catalog_client methods for following functionality:
* list all deployments
* list deployments (in a specific environment)
* list a specific deployment's statuses
Change-Id: I0ac1b2a6216fd1794ba06ee0b26e6c2c90118526
The API catalog endpoint `show_categories` was deprecated back
in Liberty cycle. It should be removed.
This commit removes the deprecated endpoint `show_categories`,
removes it from the API router, and removes references to it
in Tempest tests -- which now test `list_categories` instead.
Change-Id: If1bea7448c0d4aa5fdf37c8400323589d73fdb21
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
Requests made by tests using this client were not specifiying a timeout,
causing them to appear to hang indefinitely when there's a problem.
Change-Id: Ibcbe7a4af8566339c68265c11df9a09ebbe7f6ca
'/environments/<env_id>/model/<path>' endpoint added.
GET request responds with the subsection of <env_id>'s object
model located in its <path>.
PATCH request applies json-patch from request body to <end_id>'s
model. It does not contain <path> in the URL.
Change-Id: I672d43464ed7d5722cc574f1a10700b070664f34
Implements: bp environment-edit
It was impossible to delete the last component from the env via
CLI, because it was prohibited to make put request with empty body.
APIImpact
Change-Id: I462072ad7c90eec1790b74cae958809aa316c25c
Closes-bug: #1511645
This commit adds very basic api tests for glare artifact type for murano
Also adds initial implementation of upload/delete package methods to
tempest artifact client.
Change-Id: Idc6c06570f4674d5d998fc4fb1ec72208662ff2e
Targets: bp murano-glare-devstack-testing
- Add artifacts tempest client
- Extend test utils with common utils of muranoclient to parse packages
Change-Id: I55c02a922b80f792afbe9f7be309c66115ebd6b8
targets: bp murano-glare-devstack-testing
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
Current environment and environment template information miss a description
field to describe its functionality. Fixing this request implies to provide
an extra field in both environment and environment template for that
information, for instance called text, since description includes the object json.
Change-Id: Ic7dc5f420f453a3f4fa2769860b4a603ab14eaad
Closes-Bug: #1588276
Updating an application/service in a environment template
does not work and return 404 error. This patchs solves that
bug.
Change-Id: I03f51c45512c4282ef99ddc1ed9ba55460827a94
Closes-Bug: #1587833
Latest tempest code doesn't using tempest-lib anymore. Tempest-lib
project now marked for deprecation. Tempest-lib code now lives in
tempest repository and to avoid any Import errors connected with
tempest-lib we should update our tempest tests.
- This patch replaces all insertions of tempest_lib to tempest.lib
Change-Id: Ifed108f3b56cc35cc7c5e53f7a0d128e3d4643f8
Closes-Bug: #1551863
- Add environment templates checks to the tempest plugin
- Separate positive and negative checks
- Optimize tests to take a little bit less of time
- Add two new tests for Conflict exception
- Fixed grammar and semantic errors
- Add skip test for public template actions due #1540709
Change-Id: I76d4356e15a2b844734d434cb6f3ed58f9ccb5ab
Targets: blueprint migrate-to-tempest-plugin
- Add categories-related checks to the tempest plugin
- Separate negative and positive checks
- Update base client class with service management methods
- Refactor test implementation and improve code quality
- Streamline repository tests
Change-Id: If61a63624b0d100fb061ad5a807e8017d703e760
Targets: blueprint migrate-to-tempest-plugin
- Add service management tests to the tempest plugin
- Separate positive and negative checks
- Update base client class with service management methods
- Refactor test implementation and improve code quality
Change-Id: I9989fb519725e4c67da5d40c07d7ca7693c205f4
Targets: blueprint migrate-to-tempest-plugin
- Add session management tests to the murano tempest plugin
- Rework base functions to handle possible errors on request stage
- Separate negative and positive checks
Change-Id: I90825e45d47782d3cce59e0547a33cde3abad602
Targets: blueprint migrate-to-tempest-plugin
- Add automated tempest tests for environment management API
- Separate negative and positive tests into two different files
- Update base client class with environment management functions
Change-Id: I0ffb99db3520c090bbab74246f0cee044d9daf8e
Targets: blueprint migrate-to-tempest-plugin
- Added application catalog package repository tests
- Fixed some flubs in plugin code, for example,
replaced service_broker to application_catalog in app-catalog client
class.
Change-Id: I6bbec1993ef5fd334527e0820743d42b656e3b7e
Targets: blueprint migrate-to-tempest-plugin
- Add test for multiple provision action for one space id
- Add test for check purge '?' section during provision
Change-Id: Ic0abefdbd677cd1c906640346a72e4d1423a9183
Implements: blueprint murano-cfapi-func-tests
- Add test which will check binding route and functional of cfapi
service.
Change-Id: I958be30ce4fb871a460b37111bd6264f477a5bfb
Targets: blueprint murano-cfapi-func-tests
- Add test which will check, that cfapi returns expected error-code
from last_status request, if requested instance_id doesn't exist.
Change-Id: I2845aad6d08182f64dd4b6ce5f494c564c989c63
Targets: blueprint murano-cfapi-func-tests
- 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
- Add tempest plugin structure
- Add basic functional for tempest service broker REST client
- Add config opts for application catalog and service broker API services
- Add base for service broker tests
- Add service broker test for list applications
- Add tempest plugin configure function into devstack murano plugin
Change-Id: If4c8f95a9d69fccf6f261510b6e02eb67c738ee5
Targets: blueprint murano-cfapi-func-tests