Versions Compared

Key

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

...

 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.

ConditionHandling
All mandatory parameters are present with no optional parmaterProceed with processing
Missing mandatory parametersReturn an error
All mandatory present with some or all optional parametesrqProceed with processing
All mandatory present with some unsupported parametersEither 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

...