From 8ce27ce11a5916d9b725ff74be304805c0c3ebe7 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 17 Jan 2017 14:55:02 +0800 Subject: implement get/query scenario(s) and add unittest supported queries: scenario name/version/installer/project JIRA: RELENG-163 Change-Id: I3f6ea6e3c81edff30569918e0789e8c1e693b9fc Signed-off-by: SerenaFeng --- .../opnfv_testapi/tests/unit/scenario-c1.json | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 utils/test/testapi/opnfv_testapi/tests/unit/scenario-c1.json (limited to 'utils/test/testapi/opnfv_testapi/tests/unit/scenario-c1.json') diff --git a/utils/test/testapi/opnfv_testapi/tests/unit/scenario-c1.json b/utils/test/testapi/opnfv_testapi/tests/unit/scenario-c1.json new file mode 100644 index 000000000..187802215 --- /dev/null +++ b/utils/test/testapi/opnfv_testapi/tests/unit/scenario-c1.json @@ -0,0 +1,38 @@ +{ + "name": "nosdn-nofeature-ha", + "installers": + [ + { + "installer": "apex", + "versions": + [ + { + "owner": "Luke", + "version": "master", + "projects": + [ + { + "project": "functest", + "customs": [ "healthcheck", "vping_ssh"], + "scores": + [ + { + "date": "2017-01-08 22:46:44", + "score": "12/14" + } + + ], + "trust_indicators": [] + }, + { + "project": "yardstick", + "customs": [], + "scores": [], + "trust_indicators": [] + } + ] + } + ] + } + ] +} -- cgit 1.2.3-korg