...
Field Name | Required/ Optional/ Conditional | Datatype | Valid Values | Description |
---|---|---|---|---|
version | Required | string | Version of the validation scripts that produced the report. For now, this is set to the ONAP release name, but it may change to a semantic version number in the future. | |
template_directory | Required | string | Absolute path of the directory containing the Heat templates that were validated | |
timestamp | Required | string | ISO 8601 Timestamp in UTC | |
checksum | Required | string | MD5 hash of all file contents in the template_directory | |
profile | Required | string | Validation profile used to validate the templates. In the default ONAP code base, this is always the empty string | |
outcome | Required | string |
| One of the valid values.
|
tests | Required | list of Test Result | List of Test Result | |
requirements | Required | list of Requirement Result | List of Requirement Result |
Test Result
For each test result a JSON object will be provided that informs the consumer what tests was run, its result, and the requirements it validated.
...
Field Name | Required/ Optional/ Conditional | Datatype | Valid Values | Description |
---|---|---|---|---|
files | Required | list of string | List of files that were passed to the test case. NOTE: If | |
test_module | Required | string | Name of the module/file name that contains the test case | |
test_case | Required | string | Name of the test case | |
result | Required | string |
| One of the valid values.
|
error | Required | string | If the test failed or encountered an error, then this will be an message summarizing the error. If the test passed or was skipped, then this will be an empty string | |
requirements | Required | List of Requirement Metadata | A list of Requirement Metadata for each requirement this test case validates. While uncommon, this can be an empty list in some circumstances. |
...