Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

The POMBA report is generated every time the POMBA audit is run. Each report has a result field that indicates "Pass" or Fail", to indicate whether any violations were found.  If the result is "Pass", then no violations were found. If the result is "Fail" then one or more violations were found and will be available within the report.

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




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.

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
modelVersionIdThe model-version-id field provided to initiate the audit. Searchable field.
modelInvariantIdThe model-invariant-id field provided to initiate the audit. Searchable field.
serviceInstanceIdIdentifier of this service instance, which was provided to initiate the audit. Searchable field.
result"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

{
  "_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:


The attached report file contains an example of rule violations. 

DMaaP

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

Implementation Details

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.

  • No labels