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
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
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 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