Reasons:
- A caption of OSTF test in report is not easy-to-read
Changes:
- Caption for OSTF test will be set from its docstring
- Fixed test_server.py due to changes in captioning
Change-Id: I37e32e817ccf55db0fb9cd0a93ec4297f68ed4f1
Closes-Bug: #1454636
Reasons:
- Name 'verbose' is very common to use, so it caused name conflict
while running both Cloudvalidation Dashboard and OSTF Adapter
Changes:
- Renamed option '--verbose' to '--show-full-report'
Change-Id: I795781962c3216e545df0a201ec9cbd2b1ae53c4
Closes-Bug: #1448096
Path to test.conf in cloudv_ostf_adapter.conf is fixed
to point to the default location.
Change-Id: I65ea7f43b032ad784f704b59107e94a19bcea457
Fixes bug: 1447572
Reasons:
- Some of functions provided by CLI ("list_*") crash
Changes:
- Added default value for "verbose" option in print_dict() function
Change-Id: I00dfacf1e74ecc0fd44bb93fd4980a8504629ecc
Closes-Bug: #1446567
Reasons:
- Names of tests shown in CLI output are too long to fit the window
frame size sometimes
Changes:
- Added functionality that extracts short test description from report
if test succeded or just its class name and test name otherwise and
returns as a test name for CLI
Implements blueprint: test-caption
Change-Id: Id0d7124e24d364f8be0e522002296a367b595156
Reasons:
- When using table-based design for CLI output, the full traceback of failed
test could not be shown comfortably due to long text lines
- User who runs CLI does not need the full traceback about passing tests in
some cases
Changes:
- Added option "--verbose" that tells CLI to show up test report in output
(by default is False)
- Added option "--no-format" that allows to print output without table markup
- Moved functionality of printing results from validation plugins to CLI
Implements blueprint: cli-format-output
Change-Id: I919e88cb640031043fdbf5a17260e24249f6508f
- Сreate job with user's tests set
POST /v1/jobs/create
- List of all jobs
GET /v1/jobs
- Execute job
GET /v1/jobs/execute/<job_id>
- Get status with report for executed job
GET /v1/jobs/<job_id>
- Delete job
DELETE /v1/jobs/<job_id>
Change-Id: Ie34e7cc3e5f3a318c9521f8375e6fce6e5df7a26
This patch adds REST API for next operations:
- getting of list plugins (GET /v1/plugins),
- getting of suites from plugin (GET /v1/plugins/<name>/suites)
- getting of tests from plugin (GET /v1/plugins/<name>/suites/tests)
- getting of tests from suites
(GET /v1/plugins/<name>/suites/<suite>/tests)
- executing of suites in plugin (POST /v1/plugins/<name>/suites)
- executing of suite in plugin (POST /v1/plugins/<name>/suites/<suite>)
- executing of test (POST /v1/plugins/<name>/suites/tests/<test>)
Change-Id: I8a5c7a14a791d62fc856526dbd5585430ec2d555