A Context Builder is a Microservice that supports that the POMBA Context Buidler Builder API and provides access to data from a particular ONAP data source or from a particular type of data (network/primary source, for example), outside of ONAP. Context builders are standalone pieces of software that expose the context builder API. Flavours of Context Builders
- Data Model
- Data Instance
Note the Data Dictionary (see Integration with Data Dictionary) is not a context builder as it integrates directly with the validation service, but conceptually is similar
Gliffy | ||||
---|---|---|---|---|
|
This page captures requirements for POMBA context builders to follow so they can plug into the POMBA framework and enable audit reports from new data sources.
...
Parameter | Mandatory? | Description |
---|---|---|
ServiceInstanceId | Y | Instance id of the service being audited |
ModelVersionId | N (except SDC) | Model UUID as published in service model metadata |
ModelInvariantId | N (except SDC) | SDC generated invariant id as published in service model metadata |
...
Header Name | Mandatory? | Description |
---|---|---|
X-ONAP-TransactionIdRequestID | N | Unique transaction ID. If it is not sent it will be automatically generated by on a request receipt. |
X-FromAppId | Y | For auditing purpose each component calling API should identify itself by sending its identity. If this header with non-null value is not supplied the HTTP Request will be rejected with '400 Bad Syntax’ response code. |
Accept | N | Determines the format of the body of the response. Valid values are : “application/json” |
...
JSON compliant to the following data model. This Data Model shall migrate to the ONAP Common Model, when ready. The versioning strategy will help facilitate this migration. See also POMBA Casablanca Model
POMBA Common Model in Java
...