Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloud event schema and coerce data #1144

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

ryanrath
Copy link
Contributor

Description

During testing we found that the schema validation for cloud events was not
actually validating anything due to a misconfiguration of the schema file.
Instead of failing it just ignored everything.

After updating the schema we also needed to ensure that type coercion was
enabled as the data files encode 2 as "2".

Motivation and Context

If we want to validate things then the validation should work.

Tests performed

all automated tests.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

During testing we found that the schema validation for cloud events was not
actually validating anything due to a misconfiguration of the schema file.
Instead of failing it just ignored everything.

After updating the schema we also needed to ensure that type coercion was
enabled as the data files encode `2` as `"2"`.
@ryanrath ryanrath merged commit 99ce7be into ubccr:xdmod9.0 Oct 31, 2019
@jtpalmer jtpalmer added bug Bugfixes Category:Cloud Cloud Realm labels Aug 10, 2020
@jtpalmer jtpalmer changed the title Updating cloud event schema and coercing types Update cloud event schema and coerce data Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugfixes Category:Cloud Cloud Realm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants