Age | Commit message (Collapse) | Author | Files | Lines |
|
MongoDB sorts the results in memory, and the default mem limitation is
32M, if the sort operation consumes more than that it will return an
error:
OperationFailure: Executor error during find command: OperationFailed
Sort operation used more than the maximum 33554432 bytes of RAM. Add an
index, or specify a smaller limit.
To solve this problem, here we leverage aggregate() and
allowDiskUse=True, it is said will not be limited by memory
Change-Id: Id698ad1d02912e8b350a33a926fcccc390814fcc
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
In this patch, pagination is supported, so you can go through results
leveraging: http://testresults.opnfv.org/test/api/v1/results?page=2
Change-Id: Ibe31c787643f27dbb06c4899e713b3c8e716e784
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
filter of 'Start Date' & 'End Date' in Community Results page now works,
currently, only 20 records will be shown due to pagination is not
supported.
From server side, query from date to date is supported now, query as:
/api/v1/results?from=2016-11-01%2000:00:00&to=2017-06-01%2023:59:59
Change-Id: I482b117129dbae38fa5a2858a86442c80d87d19e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
show latest 20 results in cummunity results page.
Because pagination is not supported, pagination related buttons
are forbiddened now
Change-Id: I3d94fc1b89845b6583dd40fe86d69407adfd2e6c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
support the cancel operation in the
https://openstackid.org/accounts/user/consent
Change-Id: I06a1f130a3115774f2e88fc25dad522a7cf53e36
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
extra fields like 'carriers' & 'miss_checks' 'db_key'
are added when pushing result to TestDB
Change-Id: Ic8d0751bca14b3b3260df42c0f4f07456c9d5e05
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ie101f07f0eb406eee4e1c7daa14b07aaaf554904
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ia8897860757a2395873ff6972a508c38d7139854
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I4d39a8561c8ebd3238a495e5799fd43fb1a508b9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
move tornado_swagger/static to opnfv_testapi/static
move swagger related 3rd libs to 3rd_party/swagger
Change-Id: I32bba10584c99d13687b93f32577e37581db0c63
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
1. change the join way of discover_url
2. limit tornado version not to use latest 4.5
Change-Id: I39dfd3b32bf232a7c144087bc9d5f88fb6798ee7
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
refactor hardcoded config.py to facilitate adding new
configurations come along with web portal and Authentication
features
Change-Id: Ibc16166ade0d6e730bb4c9d81e9b9bc9b297faa1
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I62cea8b59ffe6a6cde98051c130f4502c07d3557
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I98e165ae943b54d6a38783f2a3822d381c247ee4
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
|
|
this field will be used for the catalogue
Description may be too long - displayed in case of roll over
name is often not explicit enough for humanes
Change-Id: Ibb1f74208376c93616fc89fa10fdeecaf0f8c8fb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
1) make better use of initialize() method
2) better naming global arguments
Change-Id: I89dc72a358bcb2a5688a1ffeb3ed5d735d875a4a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ia721ff61e02b1819c32d228f5f8910364c139c8a
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
According to swagger1.2 specification, The Swagger specification
is comprised of two file types: The Resources Listing and The
API Declaration.
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/1.2.md
Change-Id: I8f92897e41dbf6d4d2c3b1fe64ea6729f04cf3ad
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
|
|
|
|
* changes:
impl executor and leverage to test_pod.py in TestAPI
import from absolute path in TestAPI unit
|
|
Change-Id: Ia1e6b0e787d477a19c78b56ff249d544b49a087b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I8bb7459e5dee49cd120e848ac70834c8d9665a45
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ie4388a4be0cb174129ac168530559114046680ab
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I2ebc86a4c395182ca783d3d36befbed2a21f512b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
implement executor.py
leverage executor to test_pod.py
Change-Id: Ief70a28a935c86430e26f90f35112a7bab9fa81b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Ic42db22d825229713b38c75c141af7742ca65dd3
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I2ee4c3be6f34ce12530450cd22f2561c458685f9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I1aa61c5d1b057b5a53cf6369b26605867a4d092e
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I994feb7bf340c9e48bebe9fdf3dc3a76bc254652
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I109ef9550a57e218b6f5c9196812b33133d34134
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I3045dc690e0bc1186f5c548cb533462dd03130d9
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
JIRA: RELENG-163
Change-Id: I680a181a3c1728034e5782de4bc65cc07f64540c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
applying functools.wraps() to keep the name and docstring
of the original function which is decorated
Change-Id: Id612039921566dd48f8d8797abe30f23aaf99301
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
in virtual env mode, config.ini is configured in
.venv/etc/opnfv_testapi, in this case when we start
it the configuration file needs to be specified, by
changing the _default_config, the -config-file is no
longer needed when starting TestAPI in venv mode.
Change-Id: I0217cfefe578bbc3325bb7577ed268dc21cde4ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
when post/update/delete is executed, the return value
always are 200, even if exceptions such as 404/409 happen
Change-Id: I612ad15cc6567f435caa4c889bb0c7b6a73f9c52
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
after refactor, details in rally_sanity became 'unicode',
which contains built-in 'format' method, which is not processed correctly
error message:
File
"/usr/local/lib/python2.7/dist-packages/opnfv_testapi/resources/models.py",
line 36, in _format
for h in dicts[k]]
KeyError: u"u'details'"
JIRA: FUNCTEST-723
Change-Id: If35e55f542fbbae8bd1a534938b7279b7a634880
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
error message:
"E AssertionError: Mismatched values: u'installers', expected:[], actual: []
Change-Id: Ieae5fdfd2a044909784cbb4766a5d25f4bbafcea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
JIRA: FUNCTEST-707
Change-Id: I90a3d6ebfdf798eefccb8e5a0deebb661329d903
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: Id379e6786e1f61fb1032f80636da107156e68fb5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I96639c47d27ef449d02528efad23e2499daa3def
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|