Age | Commit message (Collapse) | Author | Files | Lines |
|
And fix the handling about env prepare exception.
Change-Id: I3e590e63157182c442602367a244d7ff647f8b7d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
API: /api/v1/functest/envs/action
METHOD: POST
PARAMS:
{
"action": "update_hosts",
"args": {
"identity.ac.dz.com": "8.20.11.22",
"image.ac.dz.com": "8.20.11.22"
}
}
JIRA: FUNCTEST-856
Change-Id: Ifaf064110ade6e39189dd14b38c921d9e1c3568d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
API: /api/v1/functest/tasks/<task_id>/log
METHOD: GET
JIRA: FUNCTEST-867
Change-Id: I987cbf662e4da349bf7583e48da5d981a2f1e0fd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
|
|
Two APIs are created here:
1. Run a test case
2. Get the result of the task id
JIRA: FUNCTEST-853
Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
API: /api/v1/functest/openstack/action
METHOD: POST
PARAMS:
{
"action": "update_openrc",
"args": {
"openrc": {
"OS_AUTH_URL": "http://192.168.30.222:5000/v3",
"OS_IDENTITY_API_VERSION": "3",
"OS_IMAGE_API_VERSION": "2",
"OS_PASSWORD": "console",
"OS_PROJECT_DOMAIN_NAME": "default",
"OS_PROJECT_NAME": "admin",
"OS_TENANT_NAME": "admin",
"OS_USERNAME": "admin",
"OS_USER_DOMAIN_NAME": "default"
}
}
}
JIRA: FUNCTEST-855
Change-Id: I7c935483c264f2b1b47239684392c8a37dc23d26
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
1. Propose a basic framework for API
2. And these functions have been realized:
1) Show environment
2) Prepare Environment
3) Show credentials
4) List all testcases
5) Show a testcase
6) List all tiers
7) Show a tier
8) List all testcases within given tier
JIRA: FUNCTEST-843
Change-Id: Ib961446708077b56465eda0052f6d38806b62594
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|