The Test Bed offers a CloudEvents validation service that can be used to validate JSON events against the JSON representation of the CloudEvents specification. The CloudEvents specification offers a common structure and metadata for events that are published in event-driven systems (primarily cloud-native). The validation service allows validation against the specification's versions and additional checks against user-provided JSON schemas to check business rules specific to a given project's events.
The CloudEvents validation service is available for use as a standalone validator and through the Test Bed as part of complete conformance testing. It offers the following APIs:
- Web user interface for user-driven validation.
- SOAP web service API for machine-to-machine integration and use from GITB TDL test cases.
This CloudEvents validator reuses the Test Bed's core JSON validation support that allows for a configuration-driven setup and automated updates of configured validators.