Commit Graph

11 Commits

Author SHA1 Message Date
Rocky 8829dd49cd Add apt-get update in application deployment
apt-get update should be performed first before installing the
debian packages, otherwise it may breaks during the application
script execution in tests.

Change-Id: I0c2e35fe1c05182ab7a9db094f787df9a8df1248
2018-01-11 13:53:38 +11:00
Victor Ryzhenkin 83e4d77899 Repair cinder integration tests
- Use image from nova scenario tests for cinder tests
- Correct environment status wait function
- Replace backup waiters with new tempest changes
- Use devstack trueorfalse common function to determine
boolean values

Closes-Bug: #1626872

Change-Id: Id2172d3d9b314eb8132d97ec8868028c714a35c3
2016-10-17 16:50:33 +03:00
oshykhkerimov 8d6763e3ec Add tempest versioning test suite
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
2016-08-15 14:39:31 +00:00
MStolyarenko efa70b7afc Add base and packages for tempest murano scenario tests
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
2016-08-03 15:59:59 +03:00
Nikolay Starodubtsev 2d0ed82d9b Fix cfapi test job
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
2016-07-20 13:36:11 +00:00
Valerii Kovalchuk 38c54ee310 Implement API call and RPC call for static actions
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
2016-07-07 17:21:59 +00:00
Nikolay Starodubtsev b8907a812d Upgrade bind function to use murano actions
Bind call in murano service broker didn't use MuranoPL actions to get
credentials from the applications, and was barely a stub. Now it expects
action getCredentials and operate with it.

Change-Id: I60ee7410781c5f9e5438efec0c06fce5d11ab3ee
Closes-Bug: #1558242
2016-03-21 15:15:59 +03:00
Stan Lagun 4b6634c7b8 Ability to have several MuranoPL classes in single YAML file
Classes are separated using YAML document separator (3 dashes).
Empty documents are skipped. If the class doesn't have Namespace
section corresponding section from the previous class in the same
file is used. Thus it is possible to declare namespace prefixes once
at the file header. Even if there are several classes in one file all of
them are still required to be declared in manifest file (except for
the DSL unit tests that don't have manifests)

Change-Id: Ic8df487d8a7c327f085f9723c251e99fa998c481
2016-02-28 20:17:05 +03:00
Victor Ryzhenkin 4547adc242 Add application catalog repository tests to the 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
2016-01-27 22:16:25 +00:00
Victor Ryzhenkin a41cd76976 Add binding test for cfapi
- Add test which will check binding route and functional of cfapi
service.

Change-Id: I958be30ce4fb871a460b37111bd6264f477a5bfb
Targets: blueprint murano-cfapi-func-tests
2015-11-24 17:01:11 +00:00
Victor Ryzhenkin 586d9312ca Add provision and deprovision test for cfapi
- 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
2015-11-24 16:58:24 +00:00