...
Mapping between component data and common model
Error Handling
Query Parameter Handling
Note that in the formal definition of the Context Builder API, all parameters are optional, but specific Context Builders will define each of those parameters as either mandatory, optional or not supported as appropriate. The following table defines the expected behaviour across all context builders.
Condition | Handling |
---|---|
All mandatory parameters are present with no optional parmater | Proceed with processing |
Missing mandatory parameters | Return an error |
All mandatory present with some or all optional parametesrq | Proceed with processing |
All mandatory present with some unsupported parameters | Either Ignore or reject. Need to agree and clarify here. |
High-level Requirements
The following are requirements against the error reporting solution
...
Note the Context Builders are not aware of what additional information could be provided that don't know how to provide. The key to the error handing is to never fail silently, so the consumer of information can interpret missing information as only missing, and not an error.
Data Quality Indicator
Each resource and attribute shall contain a data quality indicator to indicate the validity of each piece of data
...