-
Story
-
Resolution: Done
-
Medium
-
None
As an Ops person I would like POMBA to extract additional attributes from SDC as defined in the updated Context Builder API. This is to support addition of data auditing with new Context Builders such as Network Discovery.
The latest API is defined
https://wiki.onap.org/display/DW/POMBA+Context+Builder+Swagger
The SDC Context Builder expects modelVersionId and modelInvariantId. It does not accept serviceInstanceId.
This API shall be versioned, as per ONAP versioning strategy. In addition, a URL without the version number embedded in it shall return the latest version.
The specific set of fields is TDB. The set of fields that are already reported in Network Discovery MUST be supported, but additional fields MAY also be returned so long as an appropriate value is defined for the attribute name in the common model.
Background Information
With the addition of the ND context builder, additional attributes will need to be added to the SDC context so that it can be compared in Validation to the context from ND Context Builder. The mapping of the ND data can be found at https://wiki.onap.org/display/DW/Context+Builders+Mapping+to+Common+Model
Note that for SDC, some investigation will be required to establish which of the new ND fields are available and how to map to them.
Value
Enables audit of additional information information and supports API versioning as necessary
Success Criteria
• Compliant to the ask above
• Support for all ONAP best practices
• Code checked in, use documented on Wiki
• Demo to working group
Exclusions
- Supporting the initial, prototype version of the API as an accessible version. We may wish to call this version 0 for reference though.