Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These reports can be viewed on the time series dashboard. The view can be filtered by specifying time slot or by any attribute which appears in the audit result . Each audit result can be expanded for more information

...

List of Reports

Image Added Image Added

Report Content

To generate the report, POMBA uses the A&AI Validation microservice, so inherits a number of fields from there. For each report, the following information shall be available. For some fields, the valid set of values are defined as part of the POMBA Rules.

See also POMBA Initiating Audit to see how some of these parameters were input parameters into the audit.

TODO: Confirm final names (lowerCamel versus dashed-form etc)Image Added

transaction-
Field NameDescription
validationId

A unique identifier for the validation. Each validation has a non-deterministic UUID. Consequently, each validationId is different even if the contents of the validation are the same. Searchable field.

validationTimestamp

UTC timestamp for the validation event in the format:

yyyyMMdd'T'HHmmssZ

Searchable and Aggregatable field.

_idA user provided transaction id. This will allow for tracing of the audit through its various operations. If the same transaction id is used as the operation that is being audited related to this service instance id, then this provides even greater traceability. In the case of POMBA, this is X-ONAP-RequestID from the REST header.
_typeSearchable and Aggregatable field.
_scoreScore of the validation. Optional field.
_indexIndex of the report. Searchable and Aggregatable field.
clientclient information from X-FromAppId
model-version-idmodelVersionIdThe model-version-id field provided to initiate the auditmodel-invariant-id. Searchable field.
modelInvariantIdThe model-invariant-id field provided to initiate the audit. service-instance-id Searchable field.
serviceInstanceIdIdentifier of this service instance, which was provided to initiate the audit. Searchable field.
statusresult"Pass" or "Fail", depending on whether any violations were found. Searchable field.
dataQualityA field that reports any issues found during the audit that prevented the audit from fully being successfully run.  status = "ok" or "error"; error = error message related to specific data quality issues encountered.
requestId

request Id from X-ONAP-RequestID

modelNameThe detailed model Name. Searchable field.
violationsArray of violations. See below.


Example Reports

Pass - validations piece

Code Block
collapsetrue
{
  "_index": "service-validations",
  "_type": "default",
  "_id": "f9537694-2ca6-4839-8f54-a3452d08814a",
  "_version": 1,
  "_score": null,
  "_source": {
    "violations": [],
    "validationId": "f9537694-2ca6-4839-8f54-a3452d08814a",
    "validationTimestamp": "20190131T190301Z",
    "modelVersionId": "pomba-demo-sdc-model-001-version-001",
    "modelInvariantId": "pomba-demo-sdc-model-001",
    "serviceInstanceId": "PombaDemoCust_001-SerivceInst-001",
    "requestId": "1502bfa4-0216-418a-a582-b18c79afd7c3",
    "client": "postman",
    "result": "Pass",
    "modelName": ""
  },
  "fields": {
    "validationTimestamp": [
      "2019-01-31T19:03:01.000Z"
    ]
  },
  "sort": [
    1548961381000
  ]
}


Violations

If rule violations are found, then for each violation, the following will be reported

...

FieldDescription
severityCritical, Major, Minor, Warning
violationTimestampTime of violation
violationTypeType of violation - ??
validationRule

Rule that was violated - See POMBA Rules

categoryCategory as defined in the rule definition. See POMBA Rules
errorMessage

An error message describing the validation failure.  For POMBA, this is a simple string, with the violation details providing specifics of the violation

violationIdGlobally unique identifier for this violation
modelNameThe detailed model name

violationDetails

For each data source triggered as part of this rule

  • data source name (ie context builder name)
  • attribute name
  • attribute value
  • nfc-naming-code
  • uuid
  • type
  • invariant-id
  • min-instances
  • max-instances

An example of the Kibana validation report is as follows:

Image Added


The attached report file contains an example of rule violations. 

View file
namejsonResult.txt
height250

DMaaP

Each audit report, in addition to being viewable via Kabana, can be consumed in real-time via a DMaaP message. See  POMBA DMaaP

...

POMBA audit result is reported via Kibana tool based on the data stored in ElasticSearch.

Deployment

Kibana and Elasticsearch are deployable via OOM by enabling pomba in the values.yaml file.  Kibana is running on port 30234.