Enhancements for the aai-common library
[aai/aai-common.git] / aai-core / src / test / resources / payloads / resource / prevalidation / failed-response-with-violations.json
1 {
2     "validationId": "52245aa2-72a8-440d-87e2-570272aa4a83",
3     "validationTimestamp": "20191201T211503Z",
4     "entityId": {
5         "vnf-id": "vnf-jenkins-15903-3"
6     },
7     "entityName": "ormfl405me3",
8     "entityType": "generic-vnf",
9     "entityLink": "network/generic-vnfs/generic-vnf/vnf-jenkins-15903-3",
10     "resourceVersion": "1567815933280",
11     "requestor": "JUNIT",
12     "violations": [{
13         "violationId": "37d6a7ebc1fc244f9dd04b1518726a9b4cc2350e6ff478c69502e8aeb1508333",
14         "modelName": null,
15         "category": "INVALID_VALUE",
16         "severity": "MAJOR",
17         "violationType": "Dlp_rule",
18         "validationRule": "DLP validate generic-vnf nf-values",
19         "violationDetails": {
20             "nf-role": "vSAEGW",
21             "nf-naming-code": "foo",
22             "nf-type": "blah",
23             "nf-function": "blah"
24         },
25         "errorMessage": "Invalid nf values, check nf-type, nf-role, nf-function, and nf-naming-code"
26     }
27     ]
28 }