2 * Copyright (c) 2019 Vodafone Group
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 import { Factory } from 'rosie';
18 export const VSPTestResultsFailureFactory = new Factory().attrs({
21 scenario: 'certification',
22 description: 'Other Certifications',
23 testCaseName: 'certification.certificationtests.certquery',
24 testSuiteName: 'certificationtests',
25 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
33 someKeyanotherobject2: 'someValue',
34 someKey1: 'someValue',
35 someKey2: 'someValue',
36 someKey3: 'someValue',
37 someKey4: 'someValue',
38 someKey5: 'someValue',
39 someKey21: 'someValue11',
40 someKey111: 'someValue11',
41 someKey222: 'someValue'
43 StringResult: 'String Value of Result',
48 startTime: '2019-02-19T11:17:05.670',
49 endTime: '2019-02-19T11:17:05.683'
52 scenario: 'compliance',
53 testCaseName: 'compliance.compliancetests.sriov',
54 description: 'Allow_SR-IOV',
55 testSuiteName: 'compliancetests',
56 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
66 reason: 'Record Not Found',
68 'User must query with (vspId, vspVersion) values for a certifications record that is present in the Repository',
73 reason: 'Record Not Found',
75 'User must query with (vspId, vspVersion) values for a certifications record that is present in the Repository',
81 startTime: '2019-02-19T11:17:05.670',
82 endTime: '2019-02-19T11:17:05.683'
85 scenario: 'compliance',
86 testCaseName: ' compliance.compliancetests.computeflavours',
87 description: 'Allow SR-IOV ',
88 testSuiteName: 'compliancetests',
89 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
97 startTime: '2019-02-19T11:17:05.670',
98 endTime: '2019-02-19T11:17:05.683'
102 message: 'VTP Test(s) could not be completed',
108 export const VSPTestResultsSuccessFactory = new Factory().attrs({
111 scenario: 'certification',
112 description: 'Other Certifications',
113 testCaseName: 'certification.certificationtests.certquery',
114 testSuiteName: 'certificationtests',
115 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
125 testName: 'Compute Flavors',
128 'Diagnostic: test performed against GSMA NFVI Abstraction and Profiling Version 0.1 profiles.'
134 'Diagnostic: SR-IOV found in VNF Template. User advice: VNF binary and VNF Template must be modified to not require SR-IOV.'
145 'Diagnostic: test performed for ETSI GS NFV-SOL001v0.10.0.'
150 testName: 'OpenStack',
153 'Diagnostic: test performed for OpenStack Rocky.'
159 'Diagnostic: VMware compatible template not found. User advice: add a VMware compatible template to the VSP.'
162 testName: 'Kubernetes',
165 'Diagnostic: Kubernetes compatible template not found. User advice: add a Kubernetes compatible template, such as Helm Chart, to the VSP.'
170 testName: 'Max Throughput',
178 'Diagnostic: maximum latency threshold of 20ms signalling response time exceededUser advice: consider increasing VDU compute resource.'
185 startTime: '2019-02-19T11:17:05.670',
186 endTime: '2019-02-19T11:17:05.683'
189 scenario: 'compliance',
190 testCaseName: 'compliance.compliancetests.sriov',
191 description: 'Allow_SR-IOV',
192 testSuiteName: 'compliancetests',
193 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
203 reason: 'Record Not Found',
205 'User must query with (vspId, vspVersion) values for a certifications record that is present in the Repository',
210 reason: 'Record Not Found',
212 'User must query with (vspId, vspVersion) values for a certifications record that is present in the Repository',
218 startTime: '2019-02-19T11:17:05.670',
219 endTime: '2019-02-19T11:17:05.683'
222 scenario: 'compliance',
223 testCaseName: ' compliance.compliancetests.computeflavours',
224 description: 'Allow SR-IOV ',
225 testSuiteName: 'compliancetests',
226 executionId: 'ebaa5f21-ed68-4098-97a9-775ac8800f09-1550575025614',
234 startTime: '2019-02-19T11:17:05.670',
235 endTime: '2019-02-19T11:17:05.683'
239 message: 'VTP Test(s) could not be completed',