summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/models
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2018-02-26 10:11:50 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2018-02-26 10:26:11 +0800
commitc3e868997d30bb907aca48abdb99b2ada2f70c1c (patch)
tree645e66031170cd1034f823f1a06f881b1d1fdc74 /testapi/opnfv_testapi/models
parente2bbce72ca32d3bfdde04149b9d702b0a82d3279 (diff)
remove deprecated upload-related codes
upload result file is used by dovetail, since now dovetail has leveraged its own cvp repo, and TestAPI is mostly and should be used as a realtime results collecting, no need to keep such function. Change-Id: Ibd56035d5d63020e224a382c8040705f63b63386 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/models')
-rw-r--r--testapi/opnfv_testapi/models/result_models.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/testapi/opnfv_testapi/models/result_models.py b/testapi/opnfv_testapi/models/result_models.py
index 1dbe729..f8379d8 100644
--- a/testapi/opnfv_testapi/models/result_models.py
+++ b/testapi/opnfv_testapi/models/result_models.py
@@ -62,8 +62,6 @@ class ResultCreateRequest(base_models.ModelBase):
build_tag=None,
scenario=None,
criteria=None,
- user=None,
- public="true",
trust_indicator=None):
self.pod_name = pod_name
self.project_name = project_name
@@ -76,8 +74,6 @@ class ResultCreateRequest(base_models.ModelBase):
self.build_tag = build_tag
self.scenario = scenario
self.criteria = criteria
- self.user = user
- self.public = public
self.trust_indicator = trust_indicator if trust_indicator else TI(0)
def __eq__(self, other):